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: [PATCH] PPC Call-clobbered registers testcase


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


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