This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dependency analyzer vs. drawf
>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
Daniel> On Fri, Oct 11, 2002 at 09:24:48AM -0400, Neal D. Becker wrote:
>> I had previously written a simple python script that would spit out a
>> list of all source files given an executable (compiled with -g), using
>> objdump --stabs.
>>
>> Now the default debug format seems to be dwarf (linux, gcc-3.2) and my
>> script no longer works. Is there anything equivalent that would work
>> with the new format?
Daniel> Oddly, the debug info dumping has moved to readelf. readelf -wl should
Daniel> give you enough information.
Thanks. I can probably make this work, but unfortunately the format
is not very regular so it will be harder to recognize the file names.
Oh well.