This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Re: [patch] testsuite: gdb.dwarf2/pr11465.exp: Fix s390x
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 17 Oct 2010 20:56:10 +0200
- Subject: [commit] Re: [patch] testsuite: gdb.dwarf2/pr11465.exp: Fix s390x
- References: <20101002141640.GA27827@host1.dyn.jankratochvil.net>
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