* gdb.base/nodebug.exp: Test ability to call a function and pass

it a string (even with no debugging info).
This commit is contained in:
Jim Kingdon 1995-03-15 01:57:01 +00:00
parent f6bc42a3c0
commit 6b62554aee
1 changed files with 1 additions and 1 deletions

View File

@ -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