This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: fix test case name in break-always.exp
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 06 Jun 2013 09:50:21 -0600
- Subject: FYI: fix test case name in break-always.exp
When comparing test results today, I noticed a spurious difference
between two runs:
gdb.base/break-always.exp: p /x *(char *) 0x40054e = $shadow: PASS
gdb.base/break-always.exp: p /x *(char *) 0x400590 = $shadow: PASS
This patch fixes the test name so that it is independent of the run.
I'm checking this in.
Tom
2013-06-06 Tom Tromey <tromey@redhat.com>
* gdb.base/break-always.exp: Explicitly specify test name.
Index: gdb.base/break-always.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break-always.exp,v
retrieving revision 1.11
diff -u -r1.11 break-always.exp
--- gdb.base/break-always.exp 1 Jan 2013 06:33:25 -0000 1.11
+++ gdb.base/break-always.exp 6 Jun 2013 15:49:27 -0000
@@ -84,7 +84,8 @@
"read back 1 from the breakpoint's address"
# Restore the original contents.
-gdb_test "p /x *(char *) $bp_address = \$shadow" ""
+gdb_test "p /x *(char *) $bp_address = \$shadow" "" \
+ "restore the original contents"
# Run to breakpoint.
gdb_continue_to_breakpoint "bar" ".*break-always.c:$bar_location.*"