[RFA] Handle output after 'Program exited normally' consistently (detect spurious output)
Daniel Jacobowitz
drow@false.org
Mon May 15 15:57:00 GMT 2006
On Thu, May 11, 2006 at 10:39:54AM -0400, Fred Fish wrote:
> On Thursday 11 May 2006 07:09, Fred Fish wrote:
> > If we care about testing for cruft between the exit message and the
> > gdb prompt, to specifically catch that case, then I think that should
> > have it's own dedicated testcase, which I'm happy to write and submit.
>
> I modified the a2-run.exp test to allow it to run the part of the test that
> doesn't require being able to pass arguments, and detect spurious output
> after the program exits normally. Patch below.
>
> -Fred
>
> 2006-05-11 Fred Fish <fnf@specifix.com>
>
> * gdb.base/a2-run.exp: Allow part of test to run when args aren't
> required. Check for spurious output after program exits normally.
I think this is OK. Does this show up the bug that you were working
around elsewhere?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list