Linux MIPS Architecture development
 help / color / mirror / Atom feed
* how to get a process backtrace from kernel gdb?
@ 2006-03-22  0:02 Srinivas Kommu
  2006-03-22 10:50 ` Ralf Baechle
  0 siblings, 1 reply; 6+ messages in thread
From: Srinivas Kommu @ 2006-03-22  0:02 UTC (permalink / raw)
  To: linux-mips

I'm running gdb on vmlinux connected to a remote target (2.4 kernel). I 
have the task_struct address of 'current' and other processes. Is it 
possible to get a symbolic stack trace of the kernel stack? Where is the 
kernel stack located? I tried to print (task_struct->reg29)[13]. Is this 
the PC?

thanks
srini

PS. I broke into gdb using a hotkey on the serial console; so the gdb 
backtrace shows the serial driver.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-22 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22  0:02 how to get a process backtrace from kernel gdb? Srinivas Kommu
2006-03-22 10:50 ` Ralf Baechle
2006-03-22 11:11   ` Fuxin Zhang
2006-03-22 11:32     ` Ralf Baechle
2006-03-22 11:40       ` Fuxin Zhang
2006-03-22 12:04         ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox