I am looking for some help help getting a stack trace in program that is executing. In our new logging routines we want to include that stacktrace so we are able to tell what program that called the one of library functions is having the the problem. We are running on a system using AIX 5.1. I able to walk the prpgram stack and get all the return addresses and I also have had sucess reading in the symbol table but the problem I am having is how to map the symbol to the return adresss to get the function name. Any help you can give would be appreciated. Also the software package I work is written in C so how to do this in C is what i am looking for. I know some other languages have this functionality builtin but this version of AIX and language does not so I have to implement it myself.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.