aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-05-20 15:00:01 +0000
committerJeff Law <law@redhat.com>1997-05-20 15:00:01 +0000
commitc86924cf7e3c7f31dd20cf011a81f2864f5f02b5 (patch)
tree15cce80a35d95fb6ed51d56eaec668829e93f28d /gdb/testsuite/gdb.base
parentff82f21409746d1f9491b9c4ab13e74686ca6652 (diff)
downloadgdb-c86924cf7e3c7f31dd20cf011a81f2864f5f02b5.zip
gdb-c86924cf7e3c7f31dd20cf011a81f2864f5f02b5.tar.gz
gdb-c86924cf7e3c7f31dd20cf011a81f2864f5f02b5.tar.bz2
* gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
* gdb.base/commands.exp: Likewise. * gdb.base/setshow.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/setshow.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp
index 4f93e1b..25819ed 100644
--- a/gdb/testsuite/gdb.base/setshow.exp
+++ b/gdb/testsuite/gdb.base/setshow.exp
@@ -95,7 +95,7 @@ gdb_test "set args foo bar blup baz bubble" "" "set args"
gdb_test "show args" "Arguments to give program being debugged when it is started is \"foo bar blup baz bubble\"..*" "show args"
# Don't test if we can't pass args or if we're using a stub.
-if { ![target_info gdb,use_stub] && ![target_info gdb,noargs] } {
+if { ![target_info exists gdb,use_stub] && ![target_info exists noargs] } {
#test passing args
gdb_test "run" "Starting program:.*foo bar blup baz bubble.*" "passing args"
}