This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- From: Fred Fish <fnf at public dot ninemoons dot com>
- To: ezannoni at redhat dot com (Elena Zannoni)
- Cc: fnf at ninemoons dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Dec 2003 09:38:58 -0700 (MST)
- Subject: Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- Reply-to: fnf at ninemoons dot com
> > > Why this? The line numbers were not really hardcoded.
> > However I can revert that part of the patch if that is an issue.
> If the pass/fil messages are unique within the .exp files, then ok.
The messages will now be something like:
PASS: gdb.base/break.exp: set to-be-silent break bp_location1
instead of:
PASS: gdb.base/break.exp: set to-be-silent break 83
and of course bp_location1 can always be matched back up with the
actual line number and specific test that failed.
-Fred