This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH/obv] Fix dprintf.exp typo
- From: Keith Seitz <keiths at redhat dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Tue, 26 Mar 2013 22:29:05 -0700
- Subject: [PATCH/obv] Fix dprintf.exp typo
Hi,
I noticed while reviewing Hui's dprintf patches that there is a failure
in dprintf.exp for --target_board=native-gdbserver.
This is caused by a simple typo, so I've committed the following patch.
Keith
testsuite/ChangeLog
2013-03-26 Keith Seitz <keiths@redhat.com>
* gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
from passing.
Index: gdb.base/dprintf.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dprintf.exp,v
retrieving revision 1.8
diff -u -p -r1.8 dprintf.exp
--- gdb.base/dprintf.exp 11 Jan 2013 15:21:14 -0000 1.8
+++ gdb.base/dprintf.exp 27 Mar 2013 05:28:12 -0000
@@ -119,7 +119,7 @@ if $target_can_dprintf {
gdb_test "continue" "Breakpoint \[0-9\]+, foo .*" "2nd dprintf, agent"
gdb_test_sequence "info breakpoints" "dprintf info 2" {
- "\[\r\n\]Num Type Disp Enb Address What"
+ "\[\r\n\]Num Type Disp Enb Address +What"
"\[\r\n\]2 breakpoint"
"\[\r\n\]\tbreakpoint already hit 2 times"
"\[\r\n\]3 dprintf"