From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18771 invoked by alias); 10 Dec 2008 15:59:17 -0000 Received: (qmail 18761 invoked by uid 22791); 10 Dec 2008 15:59:16 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 10 Dec 2008 15:58:41 +0000 Received: from spaceape10.eur.corp.google.com (spaceape10.eur.corp.google.com [172.28.16.144]) by smtp-out.google.com with ESMTP id mBAFwcPL009883 for ; Wed, 10 Dec 2008 07:58:38 -0800 Received: from ug-out-1314.google.com (ugfc2.prod.google.com [10.66.180.2]) by spaceape10.eur.corp.google.com with ESMTP id mBAFwaCR018769 for ; Wed, 10 Dec 2008 07:58:37 -0800 Received: by ug-out-1314.google.com with SMTP id c2so144796ugf.31 for ; Wed, 10 Dec 2008 07:58:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.189.15 with SMTP id r15mr555808mup.126.1228924716340; Wed, 10 Dec 2008 07:58:36 -0800 (PST) In-Reply-To: <20081210111322.GC20054@adacore.com> References: <20081209013252.9E1C83A6B2E@localhost> <20081209020744.GA11173@caradoc.them.org> <8ac60eac0812081842l6ac5344fw2fd57011d3dfef42@mail.gmail.com> <20081209133408.GA16288@caradoc.them.org> <20081210111322.GC20054@adacore.com> Date: Wed, 10 Dec 2008 15:59:00 -0000 Message-ID: <8ac60eac0812100758i586c66eak533680a6eb07459c@mail.gmail.com> Subject: Re: [patch] Fix a glitch in debugging 32-bit process with 64-bit GDB. From: Paul Pluzhnikov To: Joel Brobecker Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2008-12/txt/msg00188.txt.bz2 On Wed, Dec 10, 2008 at 3:13 AM, Joel Brobecker wrote: >> The bit of GDB you're patching is not at fault; either BFD or the >> stabs reader is. The right fix is to end up with a -16 in the symbol. >> Something like Peter's patch, I suppose; although I thought something >> else had been posted for this recently, maybe by Joel... > > Not me, no. It's been a while since I last touched stabs and I'm crossing > my fingers... I think it's pretty clear that BFD is to blame. I'll try to make a patch and send it there. Thanks, -- Paul Pluzhnikov