mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +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")'
|
# This test is not as obscure as it might look. `p getenv ("TERM")'
|
||||||
# is a real-world example, at least on many systems.
|
# 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
|
# Now, try that we can give names of file-local symbols which happen
|
||||||
# to be unique, and have it still work
|
# to be unique, and have it still work
|
||||||
|
Reference in New Issue
Block a user