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
Fred Fish writes:
> > > 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.
If the pass/fil messages are unique within the .exp files, then ok.
>
> -Fred
>