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
On Sat, Nov 29, 2003 at 06:03:57PM -0700, Fred Fish wrote:
> > * 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.
If you're there, rather than being the second person this month to
update the line numbers, could you convert it to gdb_get_line_number?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer