This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
implptrconst.exp error on 32-bit targets [Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 12 May 2013 17:14:34 +0200
- Subject: implptrconst.exp error on 32-bit targets [Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant]
- References: <87vc7ukvl0 dot fsf at fleche dot redhat dot com> <87a9o7yk11 dot fsf at fleche dot redhat dot com>
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