This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC PATCH] hppa-hpux-tdep.c: Fix host dependency.
On 03/12/2013 03:09 AM, John David Anglin wrote:
> On 11-Mar-13, at 11:29 AM, Pedro Alves wrote:
>
>> Would you be able to help giving this patch a quick try
>> on HP-UX?
>
> Patched file compiles fine on both hppa2.0w-hp-hpux11.11 and
> hppa64-hp-hpux11.11. I think the trampoline works on hppa64:
Thanks.
>
> (gdb) p var
> $4 = (tree) 0x800003fffdeaab48
> (gdb) p debug_tree (var)
> <var_decl 800003fffdeaab48 D.1404
> type <integer_type 800003fffddc97e0 long unsigned int public unsigned DI
> size <integer_cst 800003fffddc05a0 constant 64>
> unit size <integer_cst 800003fffddc05c0 constant 8>
> align 64 symtab 0 alias set -1 canonical type 800003fffddc97e0 precision 64 min <integer_cst 800003fffddc09a0 0> max <integer_cst 800003fffddc0980 18446744073709551615>>
> used unsigned ignored DI file /test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c line 10 col 1 size <integer_cst 800003fffddc05a0 64> unit size <integer_cst 800003fffddc05c0 8>
> align 64 context <function_decl 800003fffde9d700 foo>>
> $5 = void
> (gdb)
Looks like it.
>
> Haven't tested 32-bit yet.
FADO, would you prefer me to wait for confirmation, for shall I go ahead?
Thanks,
--
Pedro Alves