+Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
+
+ * gdb.base/break.exp: Check for gdb,noresults before testing
+ exit status and/or results from the target.
+ * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
+ * lib/gdb.exp: Remove old (now bogus) initialization of
+ noinferior, noargs, noresults and nosignals.
+
Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
* config/sh.exp: New file.
global gdb_prompt
global hex
global decimal
- global noresults
# Ensure that the watchpoint is disabled when we startup.
# Run until process exits.
- if $noresults==1 then { return }
+ if [target_info exists gdb,noresults] { return }
gdb_test "cont" "Continuing.*Program exited normally.*" \
"continue to exit in test_simple_watchpoint"
global srcfile
global decimal
global hex
- global noresults
# Ensure that the watchpoint is disabled when we startup.
gdb_test "cont" "Continuing.*Breakpoint.*marker2 \\(\\).*" \
"disabled watchpoint skipped"
- if $noresults==1 then { return }
+ if [target_info exists gdb,noresults] { return }
gdb_test "cont" "Continuing.*Program exited normally.*" \
"continue to exit in test_disabling_watchpoints"
# Test stepping and other mundane operations with watchpoints enabled
proc test_watchpoint_triggered_in_syscall {} {
global gdb_prompt
- global noresults
if [target_info exists gdb,noinferiorio] {
verbose "Skipping test_watchpoint_triggered_in_syscall due to noinferiorio"
# Disable everything so we can finish the program at full speed
gdb_test "disable" "" "disable in test_watchpoint_triggered_in_syscall"
- if $noresults==1 then { return }
+ if [target_info exists gdb,noresults] { return }
gdb_test "cont" "Continuing.*Program exited normally.*" \
"continue to exit in test_watchpoint_triggered_in_syscall"
proc test_complex_watchpoint {} {
global gdb_prompt
- global noresults
if [runto marker4] then {
gdb_test "watch ptr1->val" ".*\[Ww\]atchpoint \[0-9\]*: ptr1->val"
# Disable everything so we can finish the program at full speed
gdb_test "disable" "" "disable in test_complex_watchpoint"
- if $noresults==1 then { return }
+ if [target_info exists gdb,noresults] { return }
+
gdb_test "cont" "Continuing.*Program exited normally.*" \
"continue to exit in test_complex_watchpoint"