C
cpunerd
I'm trying to manually print what GDB might print when you execute a
backtrace command. I have debugging symbols compiled in, and now I'm
just looking for a library or some code that can do this. I can get
the function names, but I don't know how to get the line numbers. I
dug through GDB, and it seems to be a huge ordeal. Is there a library
that wraps this capability, or is GDB just going above and beyond what
a normal application would have to do?
backtrace command. I have debugging symbols compiled in, and now I'm
just looking for a library or some code that can do this. I can get
the function names, but I don't know how to get the line numbers. I
dug through GDB, and it seems to be a huge ordeal. Is there a library
that wraps this capability, or is GDB just going above and beyond what
a normal application would have to do?