[PATCH] Outwit compiler dead code elimination in break.exp test

Fred Fish fnf@ninemoons.com
Mon Dec 1 15:30:00 GMT 2003


>  > 	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




More information about the Gdb-patches mailing list