This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

addr2line function


Hello,

Is there any standard function that will give similar output to the
addr2line program, without launching a new process to do so?

Basically I want to print out a stack trace of my current location in
a program that includes line numbers and file names without starting a
new process.

This would be used to print error messages that has full context as to
the stack when the error occurred.

Thanks and regards,
Ivan Novick


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