DWARF2 line number problem

Jim Blandy jimb@redhat.com
Tue Aug 20 22:24:00 GMT 2002


"Martin M. Hunt" <hunt@redhat.com> writes:

> I have a problem and I'm not sure what the correct solution would be. 
> 
> I'm looking at gcc mips output.  The compilation unit says pointer
> size is 4, but the DWARF line section is setting the address to a
> sign-extended 8-byte value.  GDB cleverly ignores the actual size of
> the extended opcode and reads a 4-byte value then starts parsing the
> rest of the bytes as line opcodes!

Could you compile your program with -save-temps -dA, and post the
assembly code?



More information about the Gdb mailing list