From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28167 invoked by alias); 22 May 2008 16:29:25 -0000 Received: (qmail 28158 invoked by uid 22791); 22 May 2008 16:29:25 -0000 X-Spam-Check-By: sourceware.org Received: from ns2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 May 2008 16:29:05 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id ED07E45F14 for ; Thu, 22 May 2008 18:29:01 +0200 (CEST) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: Fix frame-args.exp failure References: <20080522155012.GA9668@caradoc.them.org> X-Yow: TONY RANDALL! Is YOUR life a PATIO of FUN?? Date: Fri, 23 May 2008 03:05:00 -0000 In-Reply-To: <20080522155012.GA9668@caradoc.them.org> (Daniel Jacobowitz's message of "Thu, 22 May 2008 11:50:12 -0400") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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-05/txt/msg00665.txt.bz2 Daniel Jacobowitz writes: > Wouldn't this make any optimized-out locals be treated like frame > arguments? And also see print_frame_arg_vars. Good points. > I thought there was an "is an argument" flag on variables nowadays but > it doesn't look like it. The DWARF2 debug info marks them as such, so it should be possible to add that. Not sure about stabs, though. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."