mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +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:
parent
0640a54339
commit
dd23068d52
@ -1,3 +1,8 @@
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.python/py-frame-inline.exp: Adjust to optionally expect a
|
||||
full prototype.
|
||||
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.python/py-as-string.c: Add cast.
|
||||
|
@ -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(\\(\\))?"
|
||||
|
Loading…
Reference in New Issue
Block a user