gdb/testsuite/gdb.base/break.exp: split test_break_default
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 23 Nov 2022 18:39:55 +0000 (13:39 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 24 Nov 2022 15:22:40 +0000 (10:22 -0500)
commit9df9cfe23ccc3c6d3ba780529b11e6e756a753fb
treef8383042459320c5dd6c011676da71c381a747dd
parentc8a48df4f1ae49a5a0125a9adb5558683cd67fd7
gdb/testsuite/gdb.base/break.exp: split test_break_default

One special thing here is that the part just above this one, that sets
catchpoints and verifies they are not hit, requires that we resume
execution to verify that the catchpoints are indeed not hit.   I guess
it was previously achieved by the until command, but it doesn't happen
now that the until is moved into test_break_default.  Add a
gdb_continue_to_end after setting the catchpoints.  If any catchpoint
were to be hit, it would catch the problem.

Change-Id: I5d4b43da91886b1beda9f6e56b05aa04331a9c05
Approved-By: Kevin Buettner <kevinb@redhat.com>
gdb/testsuite/gdb.base/break.exp