This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: adjust line number in commands.exp
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Oct 2013 14:45:17 +0200
- Subject: Re: [PATCH] testsuite: adjust line number in commands.exp
- Authentication-results: sourceware.org; auth=none
- References: <8761t9m8mo dot fsf at oracle dot com> <5252DE0D dot 4060106 at redhat dot com> <87zjqlknes dot fsf at oracle dot com> <52542F32 dot 2060908 at redhat dot com>
On 10/07/2013 06:20 PM, Jose E. Marchesi wrote:
>
> > Tested in both sparc64-*-linux-gnu and x86_64-*-linux-gnu.
> >
> > 2013-10-07 Jose E. Marchesi <jose.marchesi@oracle.com>
> >
> > * gdb.base/commands.exp (watchpoint_command_test): Adjust line
> > number in run.c with the end of scope of the block containing
> > local_var.
>
> This is PR 15986. Could you make this use gdb_get_line_number?
>
> Something like this?
Yes. This is OK, thanks.
Committed as posted in
http://sourceware.org/ml/gdb-patches/2013-10/msg00193.html