Call Stack Trace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Guys!

I need to take a look at a call stack, but without using gdb.  Is there a
macro or something similar to __FILE__ or __LINE__ that will tell me who
called the function that I'm in???

So if I have a function called foo() that gets called 100 different ways
from differnet shared libraries and executables, how can I find out who
called foo(), without gdb and without touching all my source code and
putting printf's???

Thanks!

-b


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux