From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26863 invoked by alias); 22 May 2008 15:50:36 -0000 Received: (qmail 26853 invoked by uid 22791); 22 May 2008 15:50:35 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 May 2008 15:50:16 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 7D6389809F; Thu, 22 May 2008 15:50:13 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 6AEE59809E; Thu, 22 May 2008 15:50:13 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JzD3U-0002bB-LD; Thu, 22 May 2008 11:50:12 -0400 Date: Thu, 22 May 2008 21:51:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: Fix frame-args.exp failure Message-ID: <20080522155012.GA9668@caradoc.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00663.txt.bz2 On Thu, May 22, 2008 at 05:34:10PM +0200, Andreas Schwab wrote: > This fixes a testsuite failure on powerpc. print_frame_args didn't > handle arguments that are optimized out (that can happen even in > unoptimized code). > > Andreas. > > 2008-05-22 Andreas Schwab > > * stack.c (print_frame_args): Handle LOC_OPTIMIZED_OUT. Wouldn't this make any optimized-out locals be treated like frame arguments? And also see print_frame_arg_vars. I thought there was an "is an argument" flag on variables nowadays but it doesn't look like it. -- Daniel Jacobowitz CodeSourcery