gdb/testsuite: refactor gdb.threads/detach-step-over.exp
authorAndrew Burgess <aburgess@redhat.com>
Mon, 21 Nov 2022 17:12:10 +0000 (12:12 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 28 Nov 2022 13:02:25 +0000 (08:02 -0500)
commitacc175a6b3bf6dfefde88fac78e34ac0625343c6
treece4d62c23f8bc748fa1cb13416d5466994e81dd8
parentdc41f7e87e73e999999cfbe1fa3a6a23f90bad5f
gdb/testsuite: refactor gdb.threads/detach-step-over.exp

Factor out some bits of gdb.threads/detach-step-over.exp to procs in
preparation to adding some new variations of the test.  Rename the
existing "test" proc and make it use proc_with_prefix.

Co-Authored-By: Simon Marchi <simon.marchi@efficios.com>
Change-Id: Ib4412545c81c8556029e0f7bfa9dd48d7a9f3189
gdb/testsuite/gdb.threads/detach-step-over.exp