This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix frame-args.exp failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]