Re: debug crt0.s

Jim Blandy
2005-12-08T18:48:35Z

On 12/8/05, Efim Monyak <efim@lipowsky.de> wrote:
> Compilation Unit @ 6d:
> Length: 92
> Version: 2
> Abbrev Offset: 20
> Pointer Size: 4
> <0><78>: Abbrev Number: 1 (DW_TAG_compile_unit)
> DW_AT_stmt_list : 0x46
> DW_AT_name : ../src/crt0.s
> DW_AT_comp_dir : /cygdrive/c/embedded/arm/workspace/functest/Debug
> DW_AT_producer : GNU AS 2.16.1
> DW_AT_language : 32769 (MIPS assembler)
> Compilation Unit @ cd: ...

This is interesting. This is the debugging information for crt0.s.
It points to the right place in the .debug_line section, but it
doesn't have DW_AT_low_pc and DW_AT_high_pc attributes like the other
compilation units.

What do you get when you run 'readelf -wil' on crt0.o itself? The
addresses will be meaningless because they haven't been relocated, but
we should be able to see the rest of the information.