This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] testsuite: adjust line number in commands.exp
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: gdb-patches at sourceware dot org
- Date: Mon, 07 Oct 2013 16:57:19 +0200
- Subject: [PATCH] testsuite: adjust line number in commands.exp
- Authentication-results: sourceware.org; auth=none
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.
Index: testsuite/gdb.base/commands.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/commands.exp,v
retrieving revision 1.52
diff -u -r1.52 commands.exp
--- testsuite/gdb.base/commands.exp 27 Jun 2013 18:49:03 -0000 1.52
+++ testsuite/gdb.base/commands.exp 7 Oct 2013 14:50:22 -0000
@@ -315,7 +315,7 @@
# scope.
fail $test
}
- -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:(53|77).*$gdb_prompt $" {
+ -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:(53|78).*$gdb_prompt $" {
pass $test
}
}