mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user