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: Testsuite failures in gdb.base/callfuncs.exp


> 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


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