From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18496 invoked by alias); 12 Apr 2010 18:24:27 -0000 Received: (qmail 18488 invoked by uid 22791); 12 Apr 2010 18:24:26 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Apr 2010 18:24:18 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id o3CINuev012091; Mon, 12 Apr 2010 20:23:56 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id o3CINtrD023513; Mon, 12 Apr 2010 20:23:55 +0200 (CEST) Date: Mon, 12 Apr 2010 18:24:00 -0000 Message-Id: <201004121823.o3CINtrD023513@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: hjl.tools@gmail.com CC: gdb-patches@sourceware.org, jan.kratochvil@redhat.com In-reply-to: <20100412132225.GA5932@intel.com> (hongjiu.lu@intel.com) Subject: Re: PATCH: PR corefiles/11467: amd64 gdb generates corrupted 32bit core file References: <20100410221943.GA9675@intel.com> <20100410222742.GA9901@intel.com> <20100411000053.GA12675@intel.com> <20100411205250.GA24158@intel.com> <20100412132225.GA5932@intel.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00377.txt.bz2 > Date: Mon, 12 Apr 2010 06:22:25 -0700 > From: "H.J. Lu" > > 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.