[PATCH] PPC Call-clobbered registers testcase

Luis Machado luisgpm@linux.vnet.ibm.com
Tue Oct 23 22:18:00 GMT 2007


Hi,

I've modified the patch to reflect the behaviour on x86 systems. On x86
it shows the values, but they're incorrectly shown as being equal, and
they shouldn't be.

On ppc they're expected to be "optmized out".

This patch includes a new directory, "gdb.opt", for testing optimized
binaries.

Does this look OK?

Regards,

On Mon, 2007-10-08 at 15:14 -0400, Daniel Jacobowitz wrote:
> On Mon, Oct 08, 2007 at 04:06:39PM -0300, Luis Machado wrote:
> > > 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.
> > 
> > > 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.
> > 
> > It makes sense. I'll re-work this bit then. While at it i might go for
> > the configure script changes as well.
> 
> Thanks.  If you want to take care of that, just look at Pierre's patch
> for gdb.pascal.
> 
-- 
Luis Machado
IBM Linux Technology Center
e-mail: luisgpm@linux.vnet.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clobbered-registers-testcase.diff
Type: text/x-patch
Size: 9488 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071023/d360f007/attachment.bin>


More information about the Gdb-patches mailing list