how to get a process backtrace from kernel gdb?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-mips@xxxxxxxxxxxxxx
- Subject: how to get a process backtrace from kernel gdb?
- From: Srinivas Kommu <kommu@xxxxxxxxxxx>
- Date: Tue, 21 Mar 2006 16:02:19 -0800
- User-agent: Thunderbird 1.4 (Windows/20050908)
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.
[Index of Archives]
[Linux MIPS Home]
[LKML Archive]
[Linux ARM Kernel]
[Linux ARM]
[Linux]
[Git]
[Yosemite News]
[Linux SCSI]
[Linux Hams]