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.
+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.
# 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(\\(\\))?"