From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3855 invoked by alias); 25 Sep 2009 22:07:28 -0000 Received: (qmail 3845 invoked by uid 22791); 25 Sep 2009 22:07:27 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Sep 2009 22:07:19 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id F3E3310DCE; Fri, 25 Sep 2009 22:07:29 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id D2FBE10DB3; Fri, 25 Sep 2009 22:07:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MrIwe-0000uU-G2; Fri, 25 Sep 2009 18:07:16 -0400 Date: Fri, 25 Sep 2009 22:07:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Jan Kratochvil , gdb-patches@sourceware.org, Roland McGrath Subject: Re: [rfc] Decode "is a variable with complex or multiple locations" (PR 8399) Message-ID: <20090925220716.GA3380@caradoc.them.org> Mail-Followup-To: Tom Tromey , Jan Kratochvil , gdb-patches@sourceware.org, Roland McGrath References: <20090916201132.366872766@magilla.sf.frob.com> <20090920205109.GA24360@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-09/txt/msg00824.txt.bz2 On Fri, Sep 25, 2009 at 03:53:01PM -0600, Tom Tromey wrote: > Jan> (c) "a variable in register rsi" vs. "DW_OP_reg4": > > Jan> (c1) Extending the readelf<->gdb shared code to print register > Jan> names (4->rsi) may not be acceptable for arch-independent readelf. > > We can add a callback that GDB would use to supply the register name. I've always wanted readelf to print these names, anyway. -- Daniel Jacobowitz CodeSourcery