Move foreach_with_prefix to lib/gdb.exp
authorPedro Alves <palves@redhat.com>
Mon, 25 Jan 2016 12:00:18 +0000 (12:00 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 25 Jan 2016 13:15:11 +0000 (13:15 +0000)
commitf1da4b11eef6dba04a1cfa579c6ba313718105b8
treee536817c8624980e05a753ea2274a3431340dee7
parent018a260a3b84c482af7751dfd98c91273d2265ce
Move foreach_with_prefix to lib/gdb.exp

gdb/testsuite/ChangeLog:
2016-01-25  Pedro Alves  <palves@redhat.com>

* gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
Delete, moved to lib/gdb.exp.
* gdb.threads/forking-threads-plus-breakpoint.exp
(foreach_with_prefix): Likewise.
* gdb.threads/process-dies-while-handling-bp.exp
(foreach_with_prefix): Likewise.
* lib/gdb.exp (foreach_with_prefix): New procedure.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/step-sw-breakpoint-adjust-pc.exp
gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp
gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp
gdb/testsuite/lib/gdb.exp