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: fnf at ninemoons dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 29 Nov 2003 18:03:57 -0700 (MST)
- Subject: Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- Reply-to: fnf at public dot ninemoons dot com (Fred Fish)
> * gdb.base/break.c (globalvar): Add.
> (marker1, marker2, marker3, marker4): Set globalvar.
BTW, as it turns out this breaks some other tests that depend upon
hardwired line numbers into break.c, so I'm updating those. If
nothing else, it might be a good idea to mark those lines that do have
hardwired line numbers to make them easier to find again in the
future.
-Fred