This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PPC Call-clobbered registers testcase
- From: Daniel Jacobowitz <drow at false dot org>
- To: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 8 Oct 2007 14:55:07 -0400
- Subject: Re: [PATCH] PPC Call-clobbered registers testcase
- References: <1190644886.4375.2.camel@localhost> <1190726512.4376.0.camel@localhost> <20071006161230.GA10179@caradoc.them.org> <1191869140.4322.10.camel@localhost>
On Mon, Oct 08, 2007 at 03:45:40PM -0300, Luis Machado wrote:
> Thanks for reviewing,
>
> Hopefully i addressed all of the issues in this updated version. I'm
> aiming at gdb.opt for this one.
I think this won't work without a bit of extra work to add the new
directory, e.g. during configure. But I can take care of that.
> As for the last comment, about passing on correct values, the correct
> behaviour, at least in this test case, is for GDB to display those
> values as optimized since they no longer are proven to be correct.
> Anything i'm failing to see in this case?
Yes. If the test runs on x86, they may not be in registers - so they
may still be known, if they were stored on the stack.
Other than that, the testcase looks fine to me.
--
Daniel Jacobowitz
CodeSourcery