Backtraces in Linux
From: TLOlczyk (olczyk2002_at_yahoo.com)
Date: 07/20/04
- Next message: Bill Cunningham: "Re: Xfree86"
- Previous message: Robert Redelmeier: "Re: whereabouts of patches for status key (SIGINFO, ^T, etc) for Linux"
- Next in thread: Gil Hamilton: "Re: Backtraces in Linux"
- Reply: Gil Hamilton: "Re: Backtraces in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jul 2004 12:43:33 -0500
I have a shared object for which I want to print (stack) backtraces
at certain locations. I've tried backtrace and backtrace_symbols_fd.
The thing is that I don't quite get the output I want.
Many lines are printed simple as:
shared_object_file_name(offset)
sometimes as
shared_object_file_name(function_name+offset)
I've compiled with the -g option.
The shared object is third party with it's own make system,
so I might be missing something in the build. If so, what should
I look for?
Any suggestions?
I'm also open to using more primitive calls if needed.
Can anyone suggest references or web sites?
The reply-to email address is olczyk2002@yahoo.com.
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,
**
Thaddeus L. Olczyk, PhD
There is a difference between
*thinking* you know something,
and *knowing* you know something.
- Next message: Bill Cunningham: "Re: Xfree86"
- Previous message: Robert Redelmeier: "Re: whereabouts of patches for status key (SIGINFO, ^T, etc) for Linux"
- Next in thread: Gil Hamilton: "Re: Backtraces in Linux"
- Reply: Gil Hamilton: "Re: Backtraces in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|