Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
backtrace functions?
2007-06-25, 09:13 AM
Post: #1
backtrace functions?
Hello,
Is there support for the backtrace functions of execinfo.h available? If so, where can I find them? If not, is there a recommended alternative?

Thanks in advance!
Find all posts by this user
Quote this message in a reply
2007-06-25, 03:32 PM
Post: #2
RE: backtrace functions?
In particular, the functions: backtrace, backtrace_symbols, and backtrace_symbols_fd

Find all posts by this user
Quote this message in a reply
2012-06-12, 08:40 PM
Post: #3
RE: backtrace functions?
Hi,

Even though this question has not been answered I also have the same requirement. Is there any known alternative for Interix 3.5?

Thanks,
J
Find all posts by this user
Quote this message in a reply
2012-06-13, 10:47 AM
Post: #4
RE: backtrace functions?
The backtrace() function (and similar calls) aren't available with Interix 3.5 (or 6.0).
Alternative? Not in a convenient API way.
You can look at the gdb source for Interix 3.5 to see how 'bt' (the backtrace command) is implemented.
The gdb source is included in the gcc tarball.
When you extract/unzip the Interix download the gcc sources are there.
Find all posts by this user
Quote this message in a reply
2012-06-13, 11:45 PM
Post: #5
RE: backtrace functions?
I'm not having any luck find the gcc tarball. I try the gcc source (from the tools page) and I get a page not found. I can't reach the package page either.
Find all posts by this user
Quote this message in a reply
2012-06-14, 04:20 PM
Post: #6
RE: backtrace functions?
/sources/interix/gnu/gcc.tgz within Interix (assumes you have GCC installed)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)