On 9 February 2011 09:20, Laurent Vivier <laur...@vivier.eu> 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