This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Selft tracing utility


On Sat, Feb 03, 2007 at 03:58:57PM +0100, Simon Toth wrote:
> I'm currently extending the debug support for my programs and trying to 
> find something that will dump the current call-stack.

You could just use this,
http://www.gnu.org/software/libc/manual/html_node/Backtraces.html

You can use addr2line to convert the address's it prints to source:line
numbers.

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]