mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
gdb.python/py-frame-inline.exp and C++
Make the testcase work when built with a C++ compiler. gdb/testsuite/ChangeLog: * gdb.python/py-frame-inline.exp: Adjust to optionally expect a full prototype.
This commit is contained in:
@ -54,4 +54,4 @@ gdb_test "python print (gdb.newest_frame())" ".*"
|
||||
|
||||
# Regression test to verify that Frame.function works properly for
|
||||
# inline frames.
|
||||
gdb_test "python print (gdb.newest_frame().function())" "f"
|
||||
gdb_test "python print (gdb.newest_frame().function())" "f(\\(\\))?"
|
||||
|
Reference in New Issue
Block a user