From: Srinivas Kommu <kommu@hotmail.com>
To: linux-mips@linux-mips.org
Subject: how to get a process backtrace from kernel gdb?
Date: Tue, 21 Mar 2006 16:02:19 -0800 [thread overview]
Message-ID: <4420940B.9030605@hotmail.com> (raw)
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.
next reply other threads:[~2006-03-21 23:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-22 0:02 Srinivas Kommu [this message]
2006-03-22 10:50 ` how to get a process backtrace from kernel gdb? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4420940B.9030605@hotmail.com \
--to=kommu@hotmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox