Make gdb_continue_to_breakpoint fail quickly on internal errors.
authorPedro Alves <palves@redhat.com>
Tue, 22 Apr 2014 18:15:48 +0000 (19:15 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 22 Apr 2014 18:15:48 +0000 (19:15 +0100)
commit06d9754365774595eae45a8548d5f24d7093006c
tree5107dc0c6ad6522fb90050b16c0607858a55ae00
parentfad16e308cc96f460d74cf240b76b414c331d7fa
Make gdb_continue_to_breakpoint fail quickly on internal errors.

This switches the gdb_continue_to_breakpoint routine to use
gdb_test_multiple instead of send_gdb/gdb_expect, so that an internal
error is detected immediately, instead of failing on timeout.

gdb/testsuite/
2014-04-22  Pedro Alves  <palves@redhat.com>

* lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
instead of send_gdb/gdb_expect.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp