gdb.base/commands.exp: Test loop_break and loop_continue in nested loops
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 4 Sep 2017 19:19:17 +0000 (21:19 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 4 Sep 2017 19:19:17 +0000 (21:19 +0200)
commit34d16ea2a144cdac8a89050d9aab723fb675cb45
treef464c907219849f6d03d327bc4888a8ccaad0226
parent9a24775b97646827396073d0d7e510b9694331ab
gdb.base/commands.exp: Test loop_break and loop_continue in nested loops

This patch improves the loop_break and loop_continue tests to verify
that they work as expected when multiple loops are nested (they affect
the inner loop).

gdb/testsuite/ChangeLog:

* gdb.base/commands.exp (loop_break_test, loop_continue_test):
Test with nested loops.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp