summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Bennée2020-04-30 21:01:14 +0200
committerAlex Bennée2020-05-06 10:29:26 +0200
commitf2385398b2f02eec9ea78ea4aa88c5ee66cd1ded (patch)
tree12a617ec11116623df94758e88f0bf6e48fe6f4b
parent.travis.yml: reduce the load on [ppc64] GCC check-tcg (diff)
downloadqemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.tar.gz
qemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.tar.xz
qemu-f2385398b2f02eec9ea78ea4aa88c5ee66cd1ded.zip
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 23b5e93752..c58787100f 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