How does GDB get the function call stack

hilbert swdtian@163.com
Tue Aug 16 13:46:17 GMT 2022


>Sorry, for some funny reason (mailing list software/mail server) I'm not getting hilbert's replies. But Andrew provided great answers.
>Reading memory is usually done through /proc/<pid>/mem these days, as it is fastest.
>
>Reading registers for each thread is done by ptrace.
>
> regards,
> 

> Andrew Dinn




I totally get it . This is very helpful for me.
Thanks.


More information about the Gdb mailing list