This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix frame-args.exp failure
- From: Andreas Schwab <schwab at suse dot de>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 May 2008 21:19:55 +0200
- Subject: Re: Fix frame-args.exp failure
- References: <200805271816.m4RIGO4D022560@d12av02.megacenter.de.ibm.com>
"Ulrich Weigand" <uweigand@de.ibm.com> writes:
> Andreas Schwab wrote:
>
>> Daniel Jacobowitz <drow@false.org> writes:
>> > 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.
>>
>> How about this instead? Tested on ppc-linux.
>
> Did you get a chance to test with non-DWARF-2 debug info as well
> (at least stabs would be nice to test)?
I did some checks using the frame-args test with -gstabs. It has a
different issue in that the arguments s and u are shown, but with bogus
contents (but this is not a regression).
> ... these, which appear to be unrelated changes?
Oops, forgot to clean them out. (There is a bug about calling objc
methods which I was also working on, but those changes don't fix it
yet.)
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."