diff options
author | Pedro Alves <pedro@palves.net> | 2020-09-17 23:33:43 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-09-18 00:09:02 +0100 |
commit | dd23068d52471aaf2f7cf80a1b4d8d987fccbf56 (patch) | |
tree | e54b963fe9dc7e181933d5f3517780db67adc827 /gdb | |
parent | 0640a543397b83fb0a4f8f95dad0b09e6574c369 (diff) | |
download | gdb-dd23068d52471aaf2f7cf80a1b4d8d987fccbf56.zip gdb-dd23068d52471aaf2f7cf80a1b4d8d987fccbf56.tar.gz gdb-dd23068d52471aaf2f7cf80a1b4d8d987fccbf56.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-frame-inline.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 587f1ae..ded85f2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. 2020-09-17 Pedro Alves <pedro@palves.net> diff --git a/gdb/testsuite/gdb.python/py-frame-inline.exp b/gdb/testsuite/gdb.python/py-frame-inline.exp index 71bffd3..2b3d8e2 100644 --- a/gdb/testsuite/gdb.python/py-frame-inline.exp +++ b/gdb/testsuite/gdb.python/py-frame-inline.exp @@ -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(\\(\\))?" |