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: Pedro Alves <palves at redhat dot com>
- To: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 08 Oct 2013 17:13:38 +0100
- 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>
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.
For future patches I will search the bugzilla first :)
:-)
--
Pedro Alves