projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bc42a
)
* gdb.base/nodebug.exp: Test ability to call a function and pass
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Wed, 15 Mar 1995 01:57:01 +0000
(
01:57
+0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Wed, 15 Mar 1995 01:57:01 +0000
(
01:57
+0000)
it a string (even with no debugging info).
gdb/testsuite/gdb.base/nodebug.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/nodebug.exp
b/gdb/testsuite/gdb.base/nodebug.exp
index 34b36a2757f238f53da19d7cbe5a91061ac9838b..0d8d8f02eaac4be77924dde0e4e017b9c34cd8a9 100644
(file)
--- 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