+2010-05-28 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
+
+ * gdb.reverse/break-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/break-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/consecutive-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/consecutive-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/finish-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/finish-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/i386-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/i386-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/i386-sse-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/i387-env-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/i387-stack-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/machinestate-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/machinestate.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/sigall-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/sigall-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/solib-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/solib-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/step-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/step-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/until-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/until-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/watch-precsave.exp:
+ Replace uses of send_gdb / gdb_expect.
+ * gdb.reverse/watch-reverse.exp:
+ Replace uses of send_gdb / gdb_expect.
+
2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
gdb_test "break $end_location" \
}
}
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
gdb_continue_to_breakpoint "bar backward" ".*/$srcfile:$bar_location.*"
gdb_continue_to_breakpoint "foo backward" ".*/$srcfile:$foo_location.*"
}
}
-gdb_test "set exec-direction forward" "" "set forward"
+gdb_test_no_output "set exec-direction forward" "set forward"
gdb_continue_to_breakpoint "foo" ".*/$srcfile:$foo_location.*"
gdb_continue_to_breakpoint "bar" ".*/$srcfile:$bar_location.*"
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
gdb_test "break foo" \
gdb_continue_to_breakpoint "bar" ".*/$srcfile:$bar_location.*"
gdb_continue_to_breakpoint "end" ".*/$srcfile:$end_location.*"
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
gdb_continue_to_breakpoint "bar backward" ".*/$srcfile:$bar_location.*"
gdb_continue_to_breakpoint "foo backward" ".*/$srcfile:$foo_location.*"
}
}
-gdb_test "set exec-direction forward" "" "set forward"
+gdb_test_no_output "set exec-direction forward" "set forward"
gdb_continue_to_breakpoint "foo" ".*/$srcfile:$foo_location.*"
gdb_continue_to_breakpoint "bar" ".*/$srcfile:$bar_location.*"
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
set end_location [gdb_get_line_number "end of main" ]
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# Now step backward and hope to hit the first breakpoint.
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
gdb_breakpoint foo
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# Now step backward and hope to hit the first breakpoint.
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Run until end, then save execution log.
###
# Now switch to reverse
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# Test reverse finish from long long func
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Test finish from void func
###
# Now switch to reverse
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# Test reverse finish from long long func
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
global hex
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
global hex
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
global hex
# Record to end of main
set location [gdb_get_line_number "END I387-FLOAT-REVERSE"]
-gdb_test "record" "" "Turn on process record"
+gdb_test_no_output "record" "Turn on process record"
gdb_test "until $location" ".*/$srcfile:$location.*" \
"record to end of main"
# Now rewind to beginning so we can begin testing.
set location [gdb_get_line_number "BEGIN I387-FLOAT-REVERSE"]
-gdb_test "set exec-dir reverse" "" "set reverse direction"
+gdb_test_no_output "set exec-dir reverse" "set reverse direction"
gdb_test "until $location" ".*/$srcfile:$location.*" \
"rewind to beginning of main"
-gdb_test "set exec-dir forward" "" "set forward direction"
+gdb_test_no_output "set exec-dir forward" "set forward direction"
# Test FPU env particularly ftag and fstatus reigters.
# Record to end of main
set location [gdb_get_line_number "END I387-FLOAT-REVERSE"]
-gdb_test "record" "" "Turn on process record"
+gdb_test_no_output "record" "Turn on process record"
gdb_test "until $location" ".*/$srcfile:$location.*" \
"record to end of main"
# Now rewind to beginning so we can begin testing.
set location [gdb_get_line_number "BEGIN I387-FLOAT-REVERSE"]
-gdb_test "set exec-dir reverse" "" "set reverse direction"
+gdb_test_no_output "set exec-dir reverse" "set reverse direction"
gdb_test "until $location" ".*/$srcfile:$location.*" \
"rewind to beginning of main"
-gdb_test "set exec-dir forward" "" "set forward direction"
+gdb_test_no_output "set exec-dir forward" "set forward direction"
# Test FPU stack. FPU stack includes st0, st1, st2, st3, st4,
# st5, st6, st7. We push 8 values to FPU stack in record mode
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
gdb_test "break $endmain" \
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Proceed to end of main
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Run until end, then save execution log.
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
test_one_sig HUP
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
set end_of_main [gdb_get_line_number "end of main" ]
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
#
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
set end_of_main [gdb_get_line_number "end of main" ]
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# stepi backward thru return and into a function
# Finish test by running forward to the end.
# FIXME return to this later...
-# gdb_test "set exec-dir forward" "" "set forward execution"
+# gdb_test_no_output "set exec-dir forward" "set forward execution"
# gdb_continue_to_end "step-reverse.exp"
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# plain vanilla step/next (no count)
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
# stepi backward thru return and into a function
# Finish test by running forward to the end.
# FIXME return to this later...
-# gdb_test "set exec-dir forward" "" "set forward execution"
+# gdb_test_no_output "set exec-dir forward" "set forward execution"
# gdb_continue_to_end "step-reverse.exp"
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
set end_of_main [gdb_get_line_number "set breakpoint 10a here" ]
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
#
# We should now be at main, after the return from marker2.
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Verify that plain vanilla "until <location>" works.
###
# Set reverse execution direction
-# FIXME: command needs to acknowledge, so we can test if it succeeded.
-gdb_test "set exec-dir reverse" "" "set reverse execution"
+gdb_test_no_output "set exec-dir reverse" "set reverse execution"
#
# We should now be at main, after the return from marker2.
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
set end_location [gdb_get_line_number "end of main" ]
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
# Reverse until the previous change, from 4 to 3
# Note that this one is outside the loop
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction forward" "" "set forward"
+gdb_test_no_output "set exec-direction forward" "set forward"
# Continue until first change, from -1 to 0
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
# Reverse until the previous change, from 4 to 3
# Note that this one is outside the loop
if [target_info exists gdb,use_precord] {
# Activate process record/replay
- gdb_test "record" "" "Turn on process record"
- # FIXME: command ought to acknowledge, so we can test if it succeeded.
+ gdb_test_no_output "record" "Turn on process record"
}
# Test software watchpoints
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
# Reverse until the previous change, from 4 to 3
# Note that this one is outside the loop
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction forward" "" "set forward"
+gdb_test_no_output "set exec-direction forward" "set forward"
# Continue until first change, from -1 to 0
###
###
-# FIXME 'set exec-dir' command should give some output so we can test.
-gdb_test "set exec-direction reverse" "" "set reverse"
+gdb_test_no_output "set exec-direction reverse" "set reverse"
# Reverse until the previous change, from 4 to 3
# Note that this one is outside the loop