testsuite: Fix gdb.gdb/selftest.exp for C++-O2-g-built GDB
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.gdb / selftest.exp
index 809045ae0d47aa8c9ae1eddea5020ec2fcb0bd7c..2fdd9e3539fae673553c4729ef0f11953858d6f3 100644 (file)
@@ -111,6 +111,14 @@ proc do_steps_and_nexts {} {
                set description "next over lim_at_start initialization"
                set command "next"
            }
+           -re ".*TRY.*$gdb_prompt $" {
+               set description "next over TRY"
+               set command "next"
+           }
+           -re ".*captured_main \\(args\\);.*$gdb_prompt $" {
+               set description "step into captured_main (args)"
+               set command "step"
+           }
            -re ".*count . 0x3.*$gdb_prompt $" {
                set description "next over conditional stack alignment code 1"
                set command "next"
This page took 0.024501 seconds and 4 git commands to generate.