[PATCH/obv] Fix dprintf.exp typo

Keith Seitz keiths@redhat.com
Wed Mar 27 09:32:00 GMT 2013


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"



More information about the Gdb-patches mailing list