This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Programmatic access to stack traces in C or C++ programs
On Fri, Oct 20, 2006 at 08:41:07AM -0400, Ashwin Bharambe wrote:
> Sweet. Thanks Daniel for pointing me to libunwind.. Now, given the
> instruction pointer and stack pointer values, do you think I can use
> some parts of gdb code to dump out a more readable version of the
> stackframe? It would be _really_ nice if I could dump out argument
> values as well, but I suspect that might be much harder.
GDB is really not set up to reuse this way.
--
Daniel Jacobowitz
CodeSourcery