Dumping dynamic symbol information at runtime

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

 



Hi,
I'm trying to match dynamic memory allocations (malloc/new, etc.) with the
variable to which it is assigned. I can do the equivalent pretty easily for
statically allocated variables using objdump/readelf to parse the DWARF
information. By virtue of being dynamic, I know that I can't get much
information about dynamic memory allocations at compile-time, but I heard
there was some option for a Cray compiler that made the program dump runtime
symbols after running and I was wondering if there was anything similar for
gcc?
Thanks,
Philip





[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