This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] Fix break.exp optimization related failure
- From: Kevin Buettner <kevinb at redhat dot com>
- To: David Carlton <carlton at kealia dot com>, Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 26 Sep 2003 18:05:37 -0700
- Subject: Re: [PATCH RFC] Fix break.exp optimization related failure
- References: <1030927002610.ZM28054@localhost.localdomain> <yf2n0cr5axd.fsf@hawaii.kealia.com>
On Sep 26, 5:31pm, David Carlton wrote:
> On Fri, 26 Sep 2003 17:26:11 -0700, Kevin Buettner <kevinb@redhat.com> said:
>
> > The changes to break.exp look significant, but are only line number
> > changes. I added exactly 20 lines to break.c, so most line numbers
> > increase by 20. Those that don't are either before or within the
> > range of lines affected by my patch.
>
> Could you use gdb_get_line_number to get rid of the sensitivity on
> line numbers?
That's a good idea, yes.
I'm withdrawing my patch for the time being. I just remembered that
a number of other tests use break.c and I didn't update their line
numbers too.
Kevin