| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | how to get a process backtrace from kernel gdb? |
| From: | Srinivas Kommu <kommu@hotmail.com> |
| Date: | Tue, 21 Mar 2006 16:02:19 -0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| 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 sriniPS. I broke into gdb using a hotkey on the serial console; so the gdb backtrace shows the serial driver. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Building GCC for BCM1480 SiByte, James E Wilson |
|---|---|
| Next by Date: | Re: [PATCH 1/12] [MIPS] Improve description of VR41xx based machines, Yoichi Yuasa |
| Previous by Thread: | uptime is too high. Is it normal?, colin |
| Next by Thread: | Re: how to get a process backtrace from kernel gdb?, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |