This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debug crt0.s


Jim Blandy schrieb:

On 12/7/05, Efim Monyak <efim@lipowsky.de> wrote:


Do I have a possibility to check does crt0.o file have debug informations?
In the list file generate from .elf by objcopy utilite with -G Option
both assembler modules



Try running 'readelf -S crt0.o'. If you see a section named .debug_info, or a section named .stab (I think), then you have debug info.



I can see section .debug_info and the Size of this section is NOT Zero.
If I open the crt0.o with an editor I can see the relative path to crt0.s (to source modul) into it.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]