[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 |
Hello,
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
that
there are no differences between the 32bit and 64bit versions except the
length
of the fields (4bytes and 8bytes). So I think there shouldn't be a
difference
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
problem.
You can see the whole discussion at address:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24634
Listings from dwarfdump of the object files are included in the attachment
in file example.zip.
Greetings
Jan.
example2-64.s
Description: Binary data
example2-32.s
Description: Binary data
example.zip
Description: Binary data
- DW_AT_high_pc and DW_AT_low_pc zero in DWARF-2 debug info in obje ct file in 64bit world,
Mlynarik Jan <=