From 6b62554aee11dfd6ff18b5b3d5dbb23770e4eac9 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 15 Mar 1995 01:57:01 +0000 Subject: [PATCH] * gdb.base/nodebug.exp: Test ability to call a function and pass it a string (even with no debugging info). --- gdb/testsuite/gdb.base/nodebug.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2