[PATCH] Have testsuite find gdbserver in new location
Tom Tromey
tom@tromey.com
Fri Feb 14 18:42:00 GMT 2020
>>>>> "Luis" == Luis Machado <luis.machado@linaro.org> writes:
Luis> On 2/11/20 9:57 PM, Tom Tromey wrote:
>> This updates the gdb testsuite to look for gdbserver in its new
>> location. The old location is also checked for, on the theory that
>> perhaps someone sets GDB to a full path for install testing.
Luis> Will gdbserver live in the old location if we "install" it?
Yeah. My thinking was that you might want to do something like
runtest GDB=/mumble/prefix/bin/gdb
... and then since the patch does this:
>> + set toplevel [file join [file dirname $GDB] .. gdbserver]
>> + foreach gdbserver [list "${GDB}server" $toplevel] {
... the test suite would still find /mumble/prefix/bin/gdbserver
Tom
More information about the Gdb-patches
mailing list