diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-15 01:57:01 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-15 01:57:01 +0000 |
commit | 6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9 (patch) | |
tree | 7da7eff7a244d8df1b70b3b9ac76e5c5acddeb75 /gdb/testsuite/gdb.base | |
parent | f6bc42a3c0eba3e13bad4c1d17cc9642eca78baa (diff) | |
download | gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.zip gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.tar.gz gdb-6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9.tar.bz2 |
* gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/nodebug.exp | 2 |
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 |