diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e486dffed7..543865765a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-06-16 Andrew Burgess + + PR gdb/24686 + * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to + improve detection of bug gdb/24541. + 2019-06-16 Simon Marchi PR gdb/24669 diff --git a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp index b5dfbe68c1..fa5b11e3e5 100644 --- a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp +++ b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp @@ -141,6 +141,9 @@ with_test_prefix "all with invalid regexp" { -re "could not find minimal symbol for typeinfo address.*$mi_gdb_prompt$" { kfail "gdb/24541" "${testname}" } + -re "\\*stopped,bkptno=\"$decimal\",reason=\"breakpoint-hit\",disp=\"keep\".*func=\"__cxa_throw\".*$mi_gdb_prompt$" { + kfail "gdb/24541" "${testname}" + } -re "\\*stopped,reason=\"breakpoint-hit\".*func=\"main\".*line=\"${main_lineno}\".*$mi_gdb_prompt$" { pass "${testname}" }