From: Jim Kingdon Date: Wed, 15 Mar 1995 01:57:01 +0000 (+0000) Subject: * gdb.base/nodebug.exp: Test ability to call a function and pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9;p=binutils-gdb.git * gdb.base/nodebug.exp: Test ability to call a function and pass it a string (even with no debugging info). --- diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp index 34b36a2757f..0d8d8f02eaa 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