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: Daniel Jacobowitz <drow at mvista dot com>
- To: Elena Zannoni <ezannoni at redhat 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:44:47 -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> <16331.20186.127997.295868@localhost.redhat.com>
On Mon, Dec 01, 2003 at 09:23:22AM -0500, Elena Zannoni wrote:
> 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.
It looks like Fred is talking about other test files which reference
break.exp. Like condbreak.exp...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer