mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50: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:
@ -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>
|
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||||
|
|
||||||
* gdb.python/py-as-string.c: Add cast.
|
* 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
|
# Regression test to verify that Frame.function works properly for
|
||||||
# inline frames.
|
# 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