[Top][All Lists]

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

DW_AT_high_pc and DW_AT_low_pc zero in DWARF-2 debug info in obje ct fil

From: Mlynarik Jan
Subject: DW_AT_high_pc and DW_AT_low_pc zero in DWARF-2 debug info in obje ct file in 64bit world
Date: Fri, 4 Nov 2005 16:04:05 +0100


We are using a cross compiler for 64 bit Linux on MIPS yosemite. When we
compile c sources with command: 

mips64-linux-gnu-gcc -c -gdwarf-2 -mabi=64 example2.c 

then the values of DW_AT_high_pc and DW_AT_low_pc atributes in dwarf2 info
are 0, what is surely wrong.

If we use "mips64-linux-gnu-gcc -c -gdwarf-2 -mabi=32" then there are
reasonable values in these attributes.

This is not a problem of the dwarfdump, because this values can be found
also by hand in the object files.

We have created the assembler sources with the parameters -dA. One can see
there are no differences between the 32bit and 64bit versions except the
of the fields (4bytes and 8bytes). So I think there shouldn't be a
between these two versions concerning these attributes in the .o files. 

We have sent this to a gcc bug-report and they told us, it is an assembler

You can see the whole discussion at address:

Listings from dwarfdump of the object files are included in the attachment
in file example.zip.



Attachment: example2-64.s
Description: Binary data

Attachment: example2-32.s
Description: Binary data

Attachment: example.zip
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]