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: Elena Zannoni <ezannoni at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Fred Fish <fnf at public dot ninemoons dot com>, fnf at ninemoons dot com,gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Dec 2003 09:23:22 -0500
- Subject: Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- References: <200311292305.hATN51Uj013311@fred.ninemoons.com><200311300103.hAU13vn3000814@fred.ninemoons.com><20031130010728.GA26601@nevyn.them.org>
Daniel Jacobowitz writes:
> 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
What are you guys looking at? An alternate universe?
2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
breakpoints.
* gdb.base/break.exp: Remove all references to explicit line
numbers.