delete_breakpoints: Rewrite using gdb_test_multiple
authorPedro Alves <palves@redhat.com>
Mon, 23 Feb 2015 17:35:09 +0000 (17:35 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 23 Feb 2015 17:35:09 +0000 (17:35 +0000)
commitd8b901edd1a9b717bd397400ce498c7a2d9504d0
tree63b4d85af2fb649c0a7db07ce36df5ef66626b6b
parentfd63f640f645878605e4b4bc33ca31fb51583ecd
delete_breakpoints: Rewrite using gdb_test_multiple

Because delete_breakpoints uses gdb_expect directly, an internal error
results in slow timeouts instead of quickly bailing out.  This patch
rewrites the procedure to use gdb_test_multiple instead, while
preserving the existing general logic ("delete breakpoints" + "info
breakpoints").

gdb/testsuite/
2015-02-23  Pedro Alves  <palves@redhat.com>

* lib/gdb.exp (delete_breakpoints): Rewrite using
gdb_test_multiple.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp