This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix frame-args.exp failure
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 22 May 2008 11:50:12 -0400
- Subject: Re: Fix frame-args.exp failure
- References: <jed4nes68d.fsf@sykes.suse.de>
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 <schwab@suse.de>
>
> * 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