This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] replace gdb_test with gdb_test_no_output


Checked in.
These are the ones with gdb_test foo "" ""

2010-06-03  Michael Snyder  <msnyder@vmware.com>

	* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
	* gdb.base/display.exp: Ditto.
	* gdb.base/find.exp: Ditto.
	* gdb.base/ifelse.exp: Ditto.
	* gdb.base/multi-forks.exp: Ditto.
	* gdb.base/recurse.exp: Ditto.
	* gdb.base/setshow.exp: Ditto.
	* gdb.base/value-double-free.exp: Ditto.
	* gdb.base/watch-vfork.exp: Ditto.
	* gdb.base/watch_thread_num.exp: Ditto.
	* gdb.base/watchpoint-solib.exp: Ditto.
	* gdb.base/watchpoint.exp: Ditto.
	* gdb.base/watchpoints.exp: Ditto.

	* gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
	* gdb.cp/overload.exp: Ditto.
	* gdb.cp/virtfunc.exp: Ditto.

	* gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.

	* gdb.reverse/watch-precsave.exp: 
	Replace gdb_test with gdb_test_no_output.

	* gdb.threads/attach-into-signal.exp: 
	Replace gdb_test with gdb_test_no_output.
	* gdb.threads/local-watch-wrong-thread.exp: Ditto.
	* gdb.threads/watchthreads.exp: Ditto.
	* gdb.threads/watchthreads2.exp: Ditto.

	* gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
	* gdb.trace/tfind.exp: Ditto.

Index: gdb.base/commands.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/commands.exp,v
retrieving revision 1.37
diff -u -p -r1.37 commands.exp
--- gdb.base/commands.exp	1 Jun 2010 21:29:21 -0000	1.37
+++ gdb.base/commands.exp	3 Jun 2010 23:53:09 -0000
@@ -260,7 +260,7 @@ proc watchpoint_command_test {} {
 
     # Disable hardware watchpoints if necessary.
     if [target_info exists gdb,no_hardware_watchpoints] {
-	gdb_test "set can-use-hw-watchpoints 0" "" ""
+	gdb_test_no_output "set can-use-hw-watchpoints 0" ""
     }
 
     gdb_test_no_output "set args 6" "set args in watchpoint_command_test"
Index: gdb.base/display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/display.exp,v
retrieving revision 1.23
diff -u -p -r1.23 display.exp
--- gdb.base/display.exp	1 Jun 2010 21:29:21 -0000	1.23
+++ gdb.base/display.exp	3 Jun 2010 23:53:09 -0000
@@ -75,7 +75,7 @@ if ![runto_main] then {
 
 # Disable hardware watchpoints if necessary.
 if [target_info exists gdb,no_hardware_watchpoints] {
-    gdb_test "set can-use-hw-watchpoints 0" "" ""
+    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 }
 
 set bp_location1 [gdb_get_line_number "set breakpoint 1 here"]
Index: gdb.base/find.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/find.exp,v
retrieving revision 1.6
diff -u -p -r1.6 find.exp
--- gdb.base/find.exp	1 Jan 2010 07:32:00 -0000	1.6
+++ gdb.base/find.exp	3 Jun 2010 23:53:09 -0000
@@ -61,7 +61,7 @@ set two_patterns_found "${newline}2 patt
 
 # Test string pattern.
 
-gdb_test "set *(int32_t*) &int8_search_buf\[10\] = 0x61616161" "" ""
+gdb_test_no_output "set *(int32_t*) &int8_search_buf\[10\] = 0x61616161" ""
 
 gdb_test "find &int8_search_buf\[0\], +sizeof(int8_search_buf), 'a', 'a', 'a'" \
     "${hex_number}.*<int8_search_buf\\+10>${newline}${hex_number}.*<int8_search_buf\\+11>${two_patterns_found}" \
@@ -121,7 +121,7 @@ gdb_test "find /b &int8_search_buf\[0\],
 
 # Test 16-bit pattern.
 
-gdb_test "set int16_search_buf\[10\] = 0x1234" "" ""
+gdb_test_no_output "set int16_search_buf\[10\] = 0x1234" ""
 
 gdb_test "find /h &int16_search_buf\[0\], +sizeof(int16_search_buf), 0x1234" \
     "${hex_number}.*<int16_search_buf\\+20>${one_pattern_found}" \
@@ -133,7 +133,7 @@ gdb_test "find &int16_search_buf\[0\], +
 
 # Test 32-bit pattern.
 
-gdb_test "set int32_search_buf\[10\] = 0x12345678" "" ""
+gdb_test_no_output "set int32_search_buf\[10\] = 0x12345678" ""
 
 gdb_test "find &int32_search_buf\[0\], +sizeof(int32_search_buf), (int32_t) 0x12345678" \
     "${hex_number}.*<int32_search_buf\\+40>${one_pattern_found}" \
@@ -145,7 +145,7 @@ gdb_test "find /w &int32_search_buf\[0\]
 
 # Test 64-bit pattern.
 
-gdb_test "set int64_search_buf\[10\] = 0xfedcba9876543210LL" "" ""
+gdb_test_no_output "set int64_search_buf\[10\] = 0xfedcba9876543210LL" ""
 
 gdb_test "find &int64_search_buf\[0\], +sizeof(int64_search_buf), (int64_t) 0xfedcba9876543210LL" \
     "${hex_number}.*<int64_search_buf\\+80>${one_pattern_found}" \
@@ -157,9 +157,9 @@ gdb_test "find /g &int64_search_buf\[0\]
 
 # Test mixed-sized patterns.
 
-gdb_test "set *(int8_t*) &search_buf\[10\] = 0x62" "" ""
-gdb_test "set *(int16_t*) &search_buf\[11\] = 0x6363" "" ""
-gdb_test "set *(int32_t*) &search_buf\[13\] = 0x64646464" "" ""
+gdb_test_no_output "set *(int8_t*) &search_buf\[10\] = 0x62" ""
+gdb_test_no_output "set *(int16_t*) &search_buf\[11\] = 0x6363" ""
+gdb_test_no_output "set *(int32_t*) &search_buf\[13\] = 0x64646464" ""
 
 gdb_test "find &search_buf\[0\], +100, (int8_t) 0x62, (int16_t) 0x6363, (int32_t) 0x64646464" \
     "${hex_number}${one_pattern_found}" \
@@ -171,8 +171,8 @@ gdb_test "find &search_buf\[0\], +100, (
 
 set CHUNK_SIZE 16000 ;# see findcmd.c
 
-gdb_test "set *(int32_t*) &search_buf\[0*${CHUNK_SIZE}+100\] = 0x12345678" "" ""
-gdb_test "set *(int32_t*) &search_buf\[1*${CHUNK_SIZE}+100\] = 0x12345678" "" ""
+gdb_test_no_output "set *(int32_t*) &search_buf\[0*${CHUNK_SIZE}+100\] = 0x12345678" ""
+gdb_test_no_output "set *(int32_t*) &search_buf\[1*${CHUNK_SIZE}+100\] = 0x12345678" ""
 
 gdb_test "find /w search_buf, +search_buf_size, 0x12345678" \
     "${hex_number}${newline}${hex_number}${two_patterns_found}" \
@@ -181,7 +181,7 @@ gdb_test "find /w search_buf, +search_bu
 # For native targets, test a pattern straddling a chunk boundary.
 
 if [isnative] {
-    gdb_test "set *(int32_t*) &search_buf\[${CHUNK_SIZE}-1\] = 0xfdb97531" "" ""
+    gdb_test_no_output "set *(int32_t*) &search_buf\[${CHUNK_SIZE}-1\] = 0xfdb97531" ""
     gdb_test "find /w search_buf, +search_buf_size, 0xfdb97531" \
     "${hex_number}${one_pattern_found}" \
     "find pattern straddling chunk boundary"
Index: gdb.base/ifelse.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ifelse.exp,v
retrieving revision 1.8
diff -u -p -r1.8 ifelse.exp
--- gdb.base/ifelse.exp	1 Jun 2010 21:29:21 -0000	1.8
+++ gdb.base/ifelse.exp	3 Jun 2010 23:53:09 -0000
@@ -84,7 +84,7 @@ gdb_test_multiple "if 0\nelse\nend" $mes
     }
 }
 
-gdb_test "set confirm off" "" ""
+gdb_test_no_output "set confirm off" ""
 
 # Test that a define with an empty else can be replaced.
 # If there is memory corruption then free will fail.
Index: gdb.base/multi-forks.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/multi-forks.exp,v
retrieving revision 1.21
diff -u -p -r1.21 multi-forks.exp
--- gdb.base/multi-forks.exp	1 Jun 2010 21:29:21 -0000	1.21
+++ gdb.base/multi-forks.exp	3 Jun 2010 23:53:09 -0000
@@ -129,7 +129,7 @@ gdb_test "print pids" "\\$.* = \\{0, 0, 
 # Result should be that none of the 4 forks returns zero.
 
 runto_main
-gdb_test "set follow-fork parent" "" ""
+gdb_test_no_output "set follow-fork parent" ""
 continue_to_exit_bp_loc
 
 gdb_test "print pids\[0\]==0 || pids\[1\]==0 || pids\[2\]==0 || pids\[3\]==0" \
Index: gdb.base/recurse.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/recurse.exp,v
retrieving revision 1.13
diff -u -p -r1.13 recurse.exp
--- gdb.base/recurse.exp	5 May 2010 18:06:58 -0000	1.13
+++ gdb.base/recurse.exp	3 Jun 2010 23:53:09 -0000
@@ -40,7 +40,7 @@ proc recurse_tests {} {
 
     # Disable hardware watchpoints if necessary.
     if [target_info exists gdb,no_hardware_watchpoints] {
-	gdb_test "set can-use-hw-watchpoints 0" "" ""
+	gdb_test_no_output "set can-use-hw-watchpoints 0" ""
     }
 
     if [runto recurse] then {
Index: gdb.base/setshow.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/setshow.exp,v
retrieving revision 1.16
diff -u -p -r1.16 setshow.exp
--- gdb.base/setshow.exp	1 Jun 2010 21:29:21 -0000	1.16
+++ gdb.base/setshow.exp	3 Jun 2010 23:53:09 -0000
@@ -154,7 +154,7 @@ gdb_test_no_output "set height 100" "set
 #test show height 100
 gdb_test "show height" "Number of lines gdb thinks are in a page is 100..*" "show height" 
 # back to infinite height to avoid pagers
-gdb_test "set height 0" "" "" 
+gdb_test_no_output "set height 0" ""
 #test set history expansion on
 gdb_test_no_output "set history expansion on" "set history expansion on" 
 #test show history expansion on
Index: gdb.base/value-double-free.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/value-double-free.exp,v
retrieving revision 1.4
diff -u -p -r1.4 value-double-free.exp
--- gdb.base/value-double-free.exp	1 Jan 2010 07:32:01 -0000	1.4
+++ gdb.base/value-double-free.exp	3 Jun 2010 23:53:09 -0000
@@ -34,7 +34,7 @@ if ![runto_main] {
 
 # Disable hardware watchpoints if necessary.
 if [target_info exists gdb,no_hardware_watchpoints] {
-    gdb_test "set can-use-hw-watchpoints 0" "" ""
+    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 }
 
 gdb_test "watch var" "atchpoint \[0-9\]+: var"
Index: gdb.base/watch-vfork.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watch-vfork.exp,v
retrieving revision 1.2
diff -u -p -r1.2 watch-vfork.exp
--- gdb.base/watch-vfork.exp	1 Jan 2010 07:32:01 -0000	1.2
+++ gdb.base/watch-vfork.exp	3 Jun 2010 23:53:09 -0000
@@ -33,7 +33,7 @@ proc test_watchpoint_across_vfork { hw t
     }
 
     if { ! $hw } {
-	gdb_test "set can-use-hw-watchpoints 0" "" ""
+	gdb_test_no_output "set can-use-hw-watchpoints 0" ""
     }
 
     gdb_test "watch global" \
Index: gdb.base/watch_thread_num.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watch_thread_num.exp,v
retrieving revision 1.10
diff -u -p -r1.10 watch_thread_num.exp
--- gdb.base/watch_thread_num.exp	1 Jun 2010 21:29:21 -0000	1.10
+++ gdb.base/watch_thread_num.exp	3 Jun 2010 23:53:09 -0000
@@ -49,7 +49,7 @@ if { ![runto main] } then {
 
 # Disable hardware watchpoints if necessary.
 if [target_info exists gdb,no_hardware_watchpoints] {
-    gdb_test "set can-use-hw-watchpoints 0" "" ""
+    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 }
 
 gdb_test "watch shared_var thread 0" "Unknown thread 0\." "Watchpoint on invalid thread"
Index: gdb.base/watchpoint-solib.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watchpoint-solib.exp,v
retrieving revision 1.7
diff -u -p -r1.7 watchpoint-solib.exp
--- gdb.base/watchpoint-solib.exp	5 May 2010 18:06:58 -0000	1.7
+++ gdb.base/watchpoint-solib.exp	3 Jun 2010 23:53:09 -0000
@@ -66,7 +66,7 @@ runto_main
 
 # Disable hardware watchpoints if necessary.
 if [target_info exists gdb,no_hardware_watchpoints] {
-    gdb_test "set can-use-hw-watchpoints 0" "" ""
+    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 }
 
 # Test that if we set a watchpoint on a global variable
Index: gdb.base/watchpoint.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watchpoint.exp,v
retrieving revision 1.27
diff -u -p -r1.27 watchpoint.exp
--- gdb.base/watchpoint.exp	1 Jun 2010 21:29:21 -0000	1.27
+++ gdb.base/watchpoint.exp	3 Jun 2010 23:53:09 -0000
@@ -61,7 +61,7 @@ proc initialize {} {
 
     # Disable hardware watchpoints if necessary.
     if [target_info exists gdb,no_hardware_watchpoints] {
-	gdb_test "set can-use-hw-watchpoints 0" "" ""
+	gdb_test_no_output "set can-use-hw-watchpoints 0" ""
     }
 
     if [gdb_test "break marker1" "Breakpoint 1 at $hex: file .*$srcfile, line $decimal.*" "set breakpoint at marker1" ] { 
Index: gdb.base/watchpoints.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/watchpoints.exp,v
retrieving revision 1.5
diff -u -p -r1.5 watchpoints.exp
--- gdb.base/watchpoints.exp	5 May 2010 18:06:58 -0000	1.5
+++ gdb.base/watchpoints.exp	3 Jun 2010 23:53:09 -0000
@@ -44,7 +44,7 @@ gdb_load $binfile
 
     # Disable hardware watchpoints if necessary.
     if [target_info exists gdb,no_hardware_watchpoints] {
-        gdb_test "set can-use-hw-watchpoints 0" "" ""
+        gdb_test_no_output "set can-use-hw-watchpoints 0" ""
     }
 
     runto_main
@@ -79,7 +79,7 @@ gdb_load $binfile
     # Check that the hit count is reported correctly
     gdb_test "info break" ".*watchpoint\[ \t\]+keep\[ \t\]+y\[ \t\]+ival1\r\n\[ \t]+breakpoint already hit 3 times.*" "Watchpoint ival1 hit count is 3"
     # Disable ival1 watchpoint
-    gdb_test "disable 2" "" ""
+    gdb_test_no_output "disable 2" ""
  
     # Continue until the next change, from 1 to 2.
     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 1.*New value = 2.*ival3 = count; ival4 = count;.*" "watchpoint hit, third time"
Index: gdb.cp/classes.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/classes.exp,v
retrieving revision 1.26
diff -u -p -r1.26 classes.exp
--- gdb.cp/classes.exp	2 Jun 2010 20:03:16 -0000	1.26
+++ gdb.cp/classes.exp	3 Jun 2010 23:53:09 -0000
@@ -522,7 +522,7 @@ proc test_static_members {} {
     global hex
 
     gdb_test "print Foo::st" "\\$\[0-9\]+ = 100"
-    gdb_test "set foo.st = 200" "" ""
+    gdb_test_no_output "set foo.st = 200" ""
     gdb_test "print bar.st" "\\$\[0-9\]+ = 200"
     gdb_test "print &foo.st" "\\$\[0-9\]+ = \\(int ?\\*\\) $hex"
     gdb_test "print &Bar::st" "\\$\[0-9\]+ = \\(int ?\\*\\) $hex"
@@ -561,8 +561,8 @@ proc do_tests {} {
     gdb_reinitialize_dir $srcdir/$subdir
     gdb_load $binfile
 
-    gdb_test "set language c++" "" ""
-    gdb_test "set width 0" "" ""
+    gdb_test_no_output "set language c++" ""
+    gdb_test_no_output "set width 0" ""
 
     if ![runto_main ] then {
 	perror "couldn't run to breakpoint"
Index: gdb.cp/overload.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/overload.exp,v
retrieving revision 1.20
diff -u -p -r1.20 overload.exp
--- gdb.cp/overload.exp	25 May 2010 21:02:00 -0000	1.20
+++ gdb.cp/overload.exp	3 Jun 2010 23:53:09 -0000
@@ -263,7 +263,7 @@ gdb_test "print foo_instance1.overload1a
 # The void case is tricky because some compilers say "(void)"
 # and some compilers say "()".
 
-gdb_test "set listsize 1" "" ""
+gdb_test_no_output "set listsize 1" ""
 gdb_test_multiple "info func overloadfnarg" "list overloaded function with no args" {
     -re ".*overloadfnarg\\(void\\).*$gdb_prompt $" {
 	# gcc 2
Index: gdb.cp/virtfunc.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/virtfunc.exp,v
retrieving revision 1.21
diff -u -p -r1.21 virtfunc.exp
--- gdb.cp/virtfunc.exp	5 May 2010 18:06:58 -0000	1.21
+++ gdb.cp/virtfunc.exp	3 Jun 2010 23:53:09 -0000
@@ -240,8 +240,8 @@ proc do_tests {} {
     gdb_reinitialize_dir $srcdir/$subdir
     gdb_load $binfile
 
-    gdb_test "set language c++" "" ""
-    gdb_test "set width 0" "" ""
+    gdb_test_no_output "set language c++" ""
+    gdb_test_no_output "set width 0" ""
 
     if ![runto_main] then {
 	perror "couldn't run to breakpoint"
Index: gdb.python/py-value.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.python/py-value.exp,v
retrieving revision 1.10
diff -u -p -r1.10 py-value.exp
--- gdb.python/py-value.exp	2 Jun 2010 21:50:56 -0000	1.10
+++ gdb.python/py-value.exp	3 Jun 2010 23:53:09 -0000
@@ -123,9 +123,9 @@ proc test_value_numeric_ops {} {
 
   # First, obtain the pointers
   gdb_test "print (void *) 2" "" ""
-  gdb_test "python a = gdb.history (0)" "" ""
+  gdb_test_no_output "python a = gdb.history (0)" ""
   gdb_test "print (void *) 5" "" ""
-  gdb_test "python b = gdb.history (0)" "" ""
+  gdb_test_no_output "python b = gdb.history (0)" ""
 
   gdb_test "python print 'result = ' + str(a+5)" " = 0x7" "add pointer value with python integer"
   gdb_test "python print 'result = ' + str(b-2)" " = 0x3" "subtract python integer from pointer value"
Index: gdb.reverse/watch-precsave.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.reverse/watch-precsave.exp,v
retrieving revision 1.5
diff -u -p -r1.5 watch-precsave.exp
--- gdb.reverse/watch-precsave.exp	2 Jun 2010 21:50:56 -0000	1.5
+++ gdb.reverse/watch-precsave.exp	3 Jun 2010 23:53:09 -0000
@@ -56,7 +56,7 @@ gdb_test "record restore watch.precsave"
     "reload core file"
 
 # Only software watchpoints can be used in reverse
-gdb_test "set can-use-hw-watchpoints 0" "" ""
+gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 
 gdb_test "break marker1" \
     "Breakpoint $decimal at $hex: file .*$srcfile, line $decimal.*" \
Index: gdb.threads/attach-into-signal.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/attach-into-signal.exp,v
retrieving revision 1.4
diff -u -p -r1.4 attach-into-signal.exp
--- gdb.threads/attach-into-signal.exp	1 Jan 2010 07:32:06 -0000	1.4
+++ gdb.threads/attach-into-signal.exp	3 Jun 2010 23:53:09 -0000
@@ -150,7 +150,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
-gdb_test "set debug lin-lwp 1" "" ""
+gdb_test_no_output "set debug lin-lwp 1" ""
 
 corefunc nonthreaded
 
@@ -164,6 +164,6 @@ if  { [gdb_compile_pthreads "${srcdir}/$
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
-gdb_test "set debug lin-lwp 1" "" ""
+gdb_test_no_output "set debug lin-lwp 1" ""
 
 corefunc threaded
Index: gdb.threads/local-watch-wrong-thread.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp,v
retrieving revision 1.3
diff -u -p -r1.3 local-watch-wrong-thread.exp
--- gdb.threads/local-watch-wrong-thread.exp	2 Jun 2010 21:53:28 -0000	1.3
+++ gdb.threads/local-watch-wrong-thread.exp	3 Jun 2010 23:53:09 -0000
@@ -37,7 +37,7 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-gdb_test "set can-use-hw-watchpoints 1" "" ""
+gdb_test_no_output "set can-use-hw-watchpoints 1" ""
 
 if ![runto_main] then {
     fail "Can't run to main"
@@ -93,7 +93,7 @@ gdb_test "continue" \
     "the other thread stopped on breakpoint"
 
 # Delete the new breakpoint, we don't need it anymore.
-gdb_test "delete 5" "" ""
+gdb_test_no_output "delete 5" ""
 
 # Check if the local watchpoint hasn't been deleted (is still listed).
 # This is simpler to check than expecting 'the program has left ...',
Index: gdb.threads/watchthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/watchthreads.exp,v
retrieving revision 1.12
diff -u -p -r1.12 watchthreads.exp
--- gdb.threads/watchthreads.exp	2 Jun 2010 21:53:28 -0000	1.12
+++ gdb.threads/watchthreads.exp	3 Jun 2010 23:53:09 -0000
@@ -44,7 +44,7 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-gdb_test "set can-use-hw-watchpoints 1" "" ""
+gdb_test_no_output "set can-use-hw-watchpoints 1" ""
 
 #
 # Run to `main' where we begin our tests.
Index: gdb.threads/watchthreads2.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/watchthreads2.exp,v
retrieving revision 1.4
diff -u -p -r1.4 watchthreads2.exp
--- gdb.threads/watchthreads2.exp	2 Jun 2010 21:53:28 -0000	1.4
+++ gdb.threads/watchthreads2.exp	3 Jun 2010 23:53:09 -0000
@@ -44,7 +44,7 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-gdb_test "set can-use-hw-watchpoints 1" "" ""
+gdb_test_no_output "set can-use-hw-watchpoints 1" ""
 
 #
 # Run to `main' where we begin our tests.
Index: gdb.trace/deltrace.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/deltrace.exp,v
retrieving revision 1.16
diff -u -p -r1.16 deltrace.exp
--- gdb.trace/deltrace.exp	2 Jun 2010 19:41:11 -0000	1.16
+++ gdb.trace/deltrace.exp	3 Jun 2010 23:53:09 -0000
@@ -91,7 +91,7 @@ gdb_test "info tracepoints" \
 \[0-9\]+\[\t \]+tracepoint     keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+" \
 			"3.2a: set three tracepoints"
 
-#gdb_test "delete tracepoint $trcpt1" "" ""
+#gdb_test_no_output "delete tracepoint $trcpt1" ""
 gdb_test_multiple "delete tracepoint $trcpt1" "3.2b: delete first tracepoint" {
     -re "No tracepoint number.*$gdb_prompt $" {
 	fail "3.2b: delete first tracepoint"
@@ -110,7 +110,7 @@ gdb_test "info tracepoints" \
 \[0-9\]+\[\t \]+tracepoint     keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+" \
 			"3.2c: verify delete first tracepoint"
 
-#gdb_test "delete tracepoint $trcpt2" "" ""
+#gdb_test_no_output "delete tracepoint $trcpt2" ""
 gdb_test_multiple "delete tracepoint $trcpt2" "3.2d: delete second tracepoint" {
     -re "No tracepoint number.*$gdb_prompt $" {
 	fail "3.2d: delete second tracepoint"
@@ -128,7 +128,7 @@ gdb_test "info tracepoints" \
 \[0-9\]+\[\t \]+tracepoint     keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+" \
 			"3.2e: verify delete second tracepoint"
 
-#gdb_test "delete tracepoint $trcpt3" "" ""
+#gdb_test_no_output "delete tracepoint $trcpt3" ""
 gdb_test_multiple "delete tracepoint $trcpt3" "3.2f: delete third tracepoint" {
     -re "No tracepoint number.*$gdb_prompt $" {
 	fail "3.2f: delete third tracepoint"
@@ -163,7 +163,7 @@ gdb_test "info tracepoints" \
 \[0-9\]+\[\t \]+tracepoint     keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+" \
 			"3.3a: set three tracepoints"
 
-#gdb_test "delete tracepoint $trcpt1 $trcpt2 $trcpt3" "" ""
+#gdb_test_no_output "delete tracepoint $trcpt1 $trcpt2 $trcpt3" ""
 gdb_test_multiple "delete tracepoint $trcpt1 $trcpt2 $trcpt3" \
     "3.3b: delete three tracepoints" {
 	-re "No tracepoint number.*$gdb_prompt $" {
Index: gdb.trace/tfind.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/tfind.exp,v
retrieving revision 1.20
diff -u -p -r1.20 tfind.exp
--- gdb.trace/tfind.exp	2 Jun 2010 19:41:11 -0000	1.20
+++ gdb.trace/tfind.exp	3 Jun 2010 23:53:09 -0000
@@ -245,7 +245,7 @@ gdb_test "tfind tracepoint -1" "failed t
 	"8.25: tfind tracepoint rejects nonexistant tracepoint (-1)"
 
 # 8.37 tfind tracepoint n where n no longer exists (but used to)
-gdb_test "delete trace $tdp2" "" ""
+gdb_test_no_output "delete trace $tdp2" ""
 gdb_tfind_test "8.37: tfind none" "none" "-1";
 gdb_tfind_test "8.37: tfind deleted tracepoint" \
 	"tracepoint $tdp2" \
@@ -261,7 +261,7 @@ gdb_tfind_test "8.13: tracepoint $tdp1" 
 	"\$tracepoint" "$tdp1";
 gdb_test "print \$trace_line" "$baseline" \
 	"8.13: tfind tracepoint $tdp1 (line $baseline)"
-gdb_test "set \$save_frame = \$trace_frame" "" ""
+gdb_test_no_output "set \$save_frame = \$trace_frame" ""
 gdb_tfind_test "8.13: tracepoint <no arg>" "tracepoint" \
 	"\$tracepoint" "$tdp1";
 gdb_test "printf \"x \%d x\\n\", \$trace_frame == \$save_frame" \
@@ -284,7 +284,7 @@ gdb_tfind_test "8.14: tfind 3" "3" "3"
 gdb_test "print \$trace_line" "$testline4" \
 	"8.14: tfind 3 (line $testline4)"
 
-gdb_test "set \$test_pc = \$pc" "" ""
+gdb_test_no_output "set \$test_pc = \$pc" ""
 gdb_tfind_test "8.14: tfind none" "none" "-1"
 gdb_tfind_test "8.14: tfind pc" "pc \$test_pc" "\$trace_frame != -1" "1";
 gdb_test "print \$trace_line" "$testline4" \
@@ -298,7 +298,7 @@ gdb_test "printf \"x \%d x\\n\", \$pc ==
 gdb_tfind_test "8.15: tfind 3" "3" "3"
 gdb_test "print \$trace_line" "$testline4" \
 	"8.15: tfind 3 (line $testline4)"
-gdb_test "set \$test_pc = \$pc" "" ""
+gdb_test_no_output "set \$test_pc = \$pc" ""
 gdb_tfind_test "8.15: tfind pc" "pc" "\$pc == \$test_pc" "1"
 gdb_test "print \$trace_line" "$testline4" \
 	"8.15: tfind pc (line $testline4)"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]