From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8467 invoked by alias); 24 Aug 2004 18:20:47 -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 8454 invoked from network); 24 Aug 2004 18:20:46 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 24 Aug 2004 18:20:46 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i7OIKfS0021271 for ; Tue, 24 Aug 2004 14:20:46 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i7OIKda08511; Tue, 24 Aug 2004 14:20:40 -0400 To: gdb-patches@sources.redhat.com Subject: Re: RFC: Dwarf locations: analyze location before fetching stack top References: From: Jim Blandy Date: Tue, 24 Aug 2004 18:20:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-08/txt/msg00651.txt.bz2 Jim Blandy writes: > This is a minor rearrangement that will clean up an upcoming patch for > recognizing multi-piece expression values a bit. I'll commit in a few > days. > > (That upcoming patch is independent of the design for supporting > scattered values in GDB. It is related only to recognizing, but not > handling, all possible results of Dwarf expression evaluation.) > > 2004-08-09 Jim Blandy > > * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of > the stack until we've decided what sort of result the evaluation > has produced. Use separate variables, with more specific names. I've committed this.