Patch for gdb/mi 604

Andrew Cagney ac131313@redhat.com
Tue Oct 22 08:19:00 GMT 2002


> J. Johnston writes:
>  > Elena Zannoni wrote:
>  > > 
>  > > J. Johnston writes:
>  > >  > The following patches mi-main.c to turn on the console output prefix prior
>  > >  > to outputting the gdb startup messages.  The code checks for mi level
>  > >  > and defers to old behavior for mi1.
>  > >  >
>  > >  > Ok to commit?
>  > >  >
>  > > 
>  > > Wouldn't this affect the testsuite as well?
>  > > Or is this behavior not tested?
>  > > 
>  > > Elena
>  > > 
>  > 
>  > It does not affect the testsuite.  The testsuite startup code looks for
>  > the gdb prompt or some form of error indication, but does not specifically
>  > look at the start-up message.
>  > 
> 
> Hmm, I wonder whether now it should. Since we are expecting a specific
> behavior it might as well be tested. Thoughts?

It _needs_ to be tested - if it isn't tested it doesn't work :-)

Andrew




More information about the Gdb-patches mailing list