PATCH: PR corefiles/11467: amd64 gdb generates corrupted 32bit core file

Mark Kettenis mark.kettenis@xs4all.nl
Tue Apr 13 17:27:00 GMT 2010


> Date: Tue, 13 Apr 2010 10:17:57 -0700
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> 
> On Mon, Apr 12, 2010 at 06:22:25AM -0700, H.J. Lu wrote:
> > On Sun, Apr 11, 2010 at 01:52:50PM -0700, H.J. Lu wrote:
> > > Hi,
> > > 
> > > Thanks for Mark's pointer. Solution is very simple. We just need to
> > > make sure that we call the right fill_gregset for 32bit executable
> > > on both Linux/x86-64 and Linux/i386.  OK to install?
> > > 
> > > Thanks.
> > > 
> > > 
> > 
> > Small update to use tdep->gregset_reg_offset instead of
> > i386_linux_gregset_reg_offset.  OK to install?
> > 
> 
> 
> Here is the updated patch. It calls set_gdbarch_regset_from_core_section
> with i386_linux_regset_from_core_section.  OK to install?


Sorry, no.  You're adding far too much bloat.



More information about the Gdb-patches mailing list