From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17221 invoked by alias); 22 May 2003 18:30:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17181 invoked from network); 22 May 2003 18:30:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 22 May 2003 18:30:41 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h4MIUfH00771 for ; Thu, 22 May 2003 14:30:41 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4MIUeI16223; Thu, 22 May 2003 14:30:40 -0400 Received: from localhost.localdomain (vpn50-3.rdu.redhat.com [172.16.50.3]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4MIUdo09359; Thu, 22 May 2003 14:30:39 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h4MIUX230790; Thu, 22 May 2003 11:30:33 -0700 Date: Thu, 22 May 2003 18:30:00 -0000 From: Kevin Buettner Message-Id: <1030522183033.ZM30789@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [RFA] Limited DW_OP_piece support" (May 22, 1:53pm) References: <1030522170039.ZM30271@localhost.localdomain> <3ECD0E9A.9020908@redhat.com> To: Andrew Cagney , Kevin Buettner Subject: Re: [RFA] Limited DW_OP_piece support Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00432.txt.bz2 On May 22, 1:53pm, Andrew Cagney wrote: > > The patch below adds limited DW_OP_piece support to dwarf2expr.c. I > > will post a patch to rs6000-tdep.c which illustrates what a > > ``dwarf2_compose_register_pieces'' method should look like. > > I think GDB needs to just learn about location lists :-/ It certainly should, but I fail to see how that relates to the addition of DW_OP_piece support to GDB's DWARF 2 location expression evaluator. I think that what you meant to say is that GDB should fully (and generically) support arbitrary location expressions. (Remember that the term "location list" is used to describe objects whose location changes during its lifetime.) BTW, I notice that I forgot the ChangeLog entries for my patch. Here they are: * dwarf2expr.c (execute_stack_op): Add limited DW_OP_piece support. * gdbarch.sh (dwarf2_compose_register_pieces): New method. * gdbarch.c, gdbarch.h: Regenerate. Kevin