[commit] Re: [patch] testsuite: gdb.dwarf2/pr11465.exp: Fix s390x

Jan Kratochvil jan.kratochvil@redhat.com
Sun Oct 17 18:56:00 GMT 2010


On Sat, 02 Oct 2010 16:16:40 +0200, Jan Kratochvil wrote:
> on s390x-linux-gnu it now fails:
> 	(gdb) p N::c.C
> 	$1 = {void (N::C * const @mode32, void (* @mode32)(N::C))} 0
> 	(gdb) FAIL: gdb.dwarf2/pr11465.exp: p N::c.C
[...]
> expected:
> 	(gdb) p N::c.C
> 	$1 = {void (N::C * const, void (*)(N::C))} 0
> 	(gdb) PASS: gdb.dwarf2/pr11465.exp: p N::c.C
[...]
> 	Fix s390x compatibility.
> 	* gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
> 	* gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.

Checked-in as obvious:
	http://sourceware.org/ml/gdb-cvs/2010-10/msg00104.html


Regards,
Jan



More information about the Gdb-patches mailing list