This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: PR corefiles/11467: amd64 gdb generates corrupted 32bit core file
> Date: Mon, 12 Apr 2010 06:22:25 -0700
> From: "H.J. Lu" <hongjiu.lu@intel.com>
>
> 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?
No. Like I explained in an earlier mail, we're not supposed to end up
in fetch_gregset() in the first place.