This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] Fix for gdb-gnats bug #14




Michael Elizabeth Chastain wrote:
> 
> Hi Michael,
> 
> > Correct.  In fact, this test has always been wrong, and AFAIK,
> > it could never ever ever have passed.  I don't understand how
> > it has existed as such.
> 
> My guess is that gdb used to run all the commands in a command list,
> including all the commands after "next" and "step".

No.  Trust me -- it never did.  This would require infrastructure
that has never existed, and would require code to be reentrant which
has always relied on global variables.

> 
> Then someone wrote the test to expect that behaviour.
> 
> Then someone noticed that gdb was having trouble and changed gdb and
> also updated the manual.  The prose in the manual gives me a feeling of
> "this section got added in response to a bug".

It may have got added in response to a sufficient number 
of users going "hey, how come this doesn't work?"


> I'd have to go way back into old archives to check out that theory.
> 
> > I don't understand why it isn't a FAIL on RH7.  The output is
> > identical to the failing output on Solaris.
> 
> Ah.  It _is_ a FAIL on RH 7.
> 
> Michael


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