aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-15 01:57:01 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-15 01:57:01 +0000
commit6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9 (patch)
tree7da7eff7a244d8df1b70b3b9ac76e5c5acddeb75
parentf6bc42a3c0eba3e13bad4c1d17cc9642eca78baa (diff)
downloadfsf-binutils-gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.zip
fsf-binutils-gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.tar.gz
fsf-binutils-gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.tar.bz2
* gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
-rw-r--r--gdb/testsuite/gdb.base/nodebug.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp
index 34b36a2..0d8d8f0 100644
--- a/gdb/testsuite/gdb.base/nodebug.exp
+++ b/gdb/testsuite/gdb.base/nodebug.exp
@@ -95,7 +95,7 @@ if ![file exists $binfile] then {
# This test is not as obscure as it might look. `p getenv ("TERM")'
# is a real-world example, at least on many systems.
- test_print_accept {p/c array_index("abcdef",2)} "= 99 'c'"
+ gdb_test {p/c array_index("abcdef",2)} " = 99 'c'"
# Now, try that we can give names of file-local symbols which happen
# to be unique, and have it still work