[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PING 0.14] Missing patches (mostly fixes)
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Re: [PING 0.14] Missing patches (mostly fixes) |
Date: |
Wed, 9 Feb 2011 09:52:31 +0000 |
On 9 February 2011 09:20, Laurent Vivier <address@hidden> wrote:
> It is strange as we have in gdb, if I remember correctly, an explicit check
> of the size of prstatus:
>
> gdb/bfd/elf.c:
>
> if defined (HAVE_PRSTATUS_T)
>
> static bfd_boolean
> elfcore_grok_prstatus (bfd *abfd, Elf_Internal_Note *note)
> ...
> if (note->descsz == sizeof (prstatus_t))
> ...
>
> How do you test this patch ? Do you use native gdb on ARM ? Because, for
> m68k, cross-compiled gdb does not work (it cannot have sizeof(prstatus_t) for
> m68k).
I dunno about m68k, but if ARM gdb behaves differently natively
versus the cross-tools version (ie hosted on x86 to target ARM)
then that sounds like a bug we in Linaro would like to know
about :-)
-- PMM