Testsuite failures in gdb.base/callfuncs.exp
Mark Kettenis
mark.kettenis@xs4all.nl
Thu Feb 1 22:53:00 GMT 2007
> Date: Wed, 31 Jan 2007 10:10:01 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> On Wed, Jan 31, 2007 at 03:56:57PM +0100, Andreas Schwab wrote:
> > Daniel Jacobowitz <drow@false.org> writes:
> >
> > > On Wed, Jan 31, 2007 at 02:56:16PM +0100, Andreas Schwab wrote:
> > >> bsp can only be modified by writing to bspstore, which is what the kernel
> > >> does behind our back. gdb itself never writes to bspstore. Thus the
> > >> value of bspstore does not really matter.
> > >
> > > Could we restore it if we tried?
> >
> > Why would we want to?
>
> I don't know. To leave the inferior's state as untouched as possible
> after an artificial function call.
>
> If you're convinced that's not useful, patch is OK.
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.
Mark
More information about the Gdb-patches
mailing list