Re: Testsuite failures in gdb.base/callfuncs.exp

Daniel Jacobowitz
2007-02-08T17:03:21Z

On Fri, Feb 02, 2007 at 12:29:11AM +0100, Andreas Schwab wrote:
> Mark Kettenis <mark.kettenis@xs4all.nl> writes:
>
> > No I think there actually is a problem. Either the bspstore matters
> > or it doesn't. If it doesn't, GDB should just not include it in the
> > list of registers it displays. If it does matter, the test is showing
> > a genuine bug.
>
> I don't think a register should be left out just because it is read-only.
> It is still part of the processor state and can present information that
> may be needed for debugging.

Then can we avoid corrupting it, e.g. by adjusting both registers in a
way that lets us write arbitrary values to it?

I'm going to let you and Mark sort this out; I don't have a strong
opinion.

--
Daniel Jacobowitz
CodeSourcery