Received: from [140.186.70.92] (port=56297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn6E7-00007V-9Z for qemu-devel@nongnu.org; Wed, 09 Feb 2011 04:20:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn6E5-0007oP-Ve for qemu-devel@nongnu.org; Wed, 09 Feb 2011 04:20:43 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:56399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn6E5-0007nc-O2 for qemu-devel@nongnu.org; Wed, 09 Feb 2011 04:20:41 -0500 From: Laurent Vivier Message-Id: <2254887.338399.1297243238443.JavaMail.servlet@pustefix155.kundenserver.de> Subject: Re: [Qemu-devel] Re: [PING 0.14] Missing patches (mostly fixes) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 09 Feb 2011 10:20:38 +0100 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: laurent@vivier.eu, riku.voipio@iki.fi Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org >On Sat, Feb 05, 2011 at 10:49:51PM +0100, Laurent Vivier wrote: >> >On 02/03/2011 12:16 PM, Laurent Vivier wrote: >> >> And this one ? >> >> >> >> linux-user: correct core dump format >> >> >> >> http://patchwork.ozlabs.org/patch/78464/ > >Actually that patch is not ok. The issues you fix on m68k appear >on arm/eabi after applying your patch. bswap part appears ok, but >the padding is needed atleast on arm. 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 =3D=3D sizeof (prstatus_t)) ... How do you test this patch ? Do you use native gdb on ARM ? Because, for m6= 8k, cross-compiled gdb does not work (it cannot have sizeof(prstatus_t) for= m68k). Regards, Laurent --=20 --------------------- Laurent@vivier.eu --------------------- "Tout ce qui est impossible reste =C3=A0 accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard