This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix for gdb-gnats bug #14
- To: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Subject: Re: [RFA] Fix for gdb-gnats bug #14
- From: Michael Snyder <msnyder at redhat dot com>
- Date: Sun, 18 Feb 2001 15:29:08 -0800
- CC: gdb-patches at sources dot redhat dot com, jmoore at cygnus dot com
- Organization: Red Hat
- References: <200102170147.RAA01919@bosch.cygnus.com>
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