[PATCH] testsuite: adjust line number in commands.exp

Pedro Alves palves@redhat.com
Tue Oct 8 16:13:00 GMT 2013


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



More information about the Gdb-patches mailing list