This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix inferior restart problem in gdb.base/commands.exp
- From: Fred Fish <fnf at intrinsity dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: fnf at intrinsity dot com
- Date: Sat, 7 Sep 2002 09:10:27 -0500 (CDT)
- Subject: Re: [RFA] Fix inferior restart problem in gdb.base/commands.exp
- Reply-to: fnf at intrinsity dot com
> Also, to avoid having to specifically test for noinferiorio we don't
> check for output from the test case, it is not relevant to the given
> test anyway.
Hmm, I just realized that this may not be true since we probably want
to ensure that the breakpoint at factorial really does get cleared
and only hit once. More likely what we should do is call factorial
with 2 instead of 1, and in the command list print the value, and
in the expected results look for that printout from the command
excuted when the breakpoint is hit and cleared. I'll tweak it and
resubmit.
Assuming that change is made, do I have approval for the patch?
-Fred