]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: small refactor in selftest-support.exp
authorAndrew Burgess <aburgess@redhat.com>
Fri, 24 Nov 2023 11:10:08 +0000 (11:10 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 28 Nov 2023 10:23:19 +0000 (10:23 +0000)
commit1f0fab7ff86e03d4080dd3709ae76db4f0cb797d
tree898ded02b190e4cef0ce9c36fbccdcec5f721090
parent640713c5a0831bb027684704c9304f999d452a43
gdb/testsuite: small refactor in selftest-support.exp

Split out the code that makes a copy of the GDB executable ready for
self testing into a new proc.  A later commit in this series wants to
load the GDB executable into GDB (for creating an on-disk debug
index), but doesn't need to make use of the full do_self_tests proc.

There should be no changes in what is tested after this commit.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/lib/selftest-support.exp