Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Tracing another stack
@ 2015-11-28  6:03 Celelibi
  2015-11-28 13:37 ` Duane Ellis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Celelibi @ 2015-11-28  6:03 UTC (permalink / raw)
  To: gdb

Hello,

I use gdb with the gdb-stub of qemu to debug a boot loader. When a
memory fault occurs, a message is printed with the content of most
registers and a new stack is created to run the handler that never
terminates.

Can I tell gdb to examine the stack given the content of the stack
pointer, stack base and program counter of a stack that is not the
current one?

I tried setting $rsp and $rip to the values I got from the printed
message, but it turns out it confuses gdb. The "bt" commands shows the
right first stack frame, but the next ones are those of the interrupt
handler.


Thanks in advance.
Celelibi


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

end of thread, other threads:[~2015-12-05 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-28  6:03 Tracing another stack Celelibi
2015-11-28 13:37 ` Duane Ellis
2015-12-01  8:46   ` Celelibi
     [not found]     ` <863D4E7B-2D4E-448B-8B41-EE97612A3BA3@duaneellis.com>
2015-12-05 18:33       ` Celelibi
2015-11-30 16:28 ` Sterling Augustine
     [not found] ` <CAEG7qUxk2qKo4RM9syqco26EtQkeiviP3GOrHkqyJJViwAX3dQ@mail.gmail.com>
2015-12-01  8:57   ` Celelibi

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