public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How does GDB get the function call stack
@ 2022-08-16  7:43 hilbert
  2022-08-16  7:56 ` Luis Machado
  0 siblings, 1 reply; 11+ messages in thread
From: hilbert @ 2022-08-16  7:43 UTC (permalink / raw)
  To: gdb

Hi ,  
There are 4 ways to get the function call stack in the GDB Internals Manual.   https://sourceware.org/gdb/papers/unwind.html
For x86_64, does GDB get information by parsing the .eh_frame section? Or just get the call stack by Parse the function prologues.




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

end of thread, other threads:[~2022-08-19  1:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  7:43 How does GDB get the function call stack hilbert
2022-08-16  7:56 ` Luis Machado
2022-08-16  9:19   ` hilbert
2022-08-16  9:33     ` Andrew Dinn
2022-08-16 10:16       ` hilbert
2022-08-16 12:48         ` Andrew Dinn
2022-08-16 13:18           ` hilbert
2022-08-16 13:27           ` Luis Machado
2022-08-16 13:46             ` hilbert
2022-08-18 14:05   ` Andrew Burgess
2022-08-19  1:57     ` hilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).