aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-04-30 20:01:14 +0100
committerAlex Bennée <alex.bennee@linaro.org>2020-05-06 09:29:26 +0100
commitf2385398b2f02eec9ea78ea4aa88c5ee66cd1ded (patch)
tree12a617ec11116623df94758e88f0bf6e48fe6f4b
parentdaee97f618e1831e38fec01c47bf2881ecf5bded (diff)
downloadqemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.zip
qemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.tar.gz
qemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.tar.bz2
configure: favour gdb-multiarch if we have it
As gdb will generally be talking to "foreign" guests lets use that if we can. Otherwise the chances of gdb barfing are considerably higher. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200430190122.4592-2-alex.bennee@linaro.org>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 23b5e93..c587871 100755
--- a/configure
+++ b/configure
@@ -303,7 +303,7 @@ libs_qga=""
debug_info="yes"
stack_protector=""
use_containers="yes"
-gdb_bin=$(command -v "gdb")
+gdb_bin=$(command -v "gdb-multiarch" || command -v "gdb")
if test -e "$source_path/.git"
then