debug crt0.s

Efim Monyak efim@lipowsky.de
Wed Dec 7 17:55:00 GMT 2005


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.





More information about the Gdb mailing list