implptrconst.exp error on 32-bit targets [Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant]

Jan Kratochvil jan.kratochvil@redhat.com
Sun May 12 15:14:00 GMT 2013


On Mon, 06 May 2013 21:40:10 +0200, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> Tom> 	* gdb.dwarf2/implptrconst.c: New file.
> Tom> 	* gdb.dwarf2/implptrconst.exp: New file.
> Tom> 	* lib/dwarf.exp (Dwarf::_nz_quote): New proc.
> Tom> 	(Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
> Tom> 	(Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
> 
> I'm checking this in now.

runtest CC_FOR_TARGET="gcc -m32" gdb.dwarf2/implptrconst.exp
gdb compile failed, .../gdb/testsuite/gdb.dwarf2/implptrconst-dw.S: Assembler messages:
.../gdb/testsuite/gdb.dwarf2/implptrconst-dw.S:42: Error: cannot represent relocation type BFD_RELOC_64

Fedora 19 x86_64

So it should be either made 32-bit clean or it should be skipped for 32-bit
targets.


Thanks,
Jan



More information about the Gdb-patches mailing list