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 ninemoons dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: drow at mvista dot com (Daniel Jacobowitz), fnf at public dot ninemoons dot com (Fred Fish), gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Dec 2003 08:29:17 -0700
- Subject: Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- References: <20031130010728.GA26601@nevyn.them.org> <200312010045.hB10jRfd009645@fred.ninemoons.com> <16331.22272.699163.648252@localhost.redhat.com>
- Reply-to: fnf at ninemoons dot com
> > Emit bp_locationNN markers in pass
> > and fail messages instead of line numbers.
>
> Why this? The line numbers were not really hardcoded.
Generally I believe you should not emit values in the pass/fail
messages that are subject to change, such as addresses, line numbers,
etc. This way you can diff successive summary files without seeing
spurious differences.
However I can revert that part of the patch if that is an issue.
-Fred