From c177f4ea90ef89bb76e54cc0bb04606ae6ca2e64 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Fri, 28 Aug 2020 11:22:49 +0300 Subject: [PATCH] Debug: Fix warning for 64-bit efidebug --- Debug/efidebug.tool | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Debug/efidebug.tool b/Debug/efidebug.tool index aeeab8ae..d9c5f84a 100755 --- a/Debug/efidebug.tool +++ b/Debug/efidebug.tool @@ -135,12 +135,7 @@ choose_debugger() { choose_debugger if [ "${EFI_DEBUGGER}" = "GDB" ] || [ "${EFI_DEBUGGER}" = "gdb" ]; then - if [ "${EFI_ARCH}" = "Ia32" ]; then - arch=i386:x86-64:intel - else - arch=x86-64:intel - fi - "${GDB}" -ex "set arch ${arch}" \ + "${GDB}" -ex "set arch i386:x86-64:intel" \ -ex "target remote ${EFI_HOST}:${EFI_PORT}" \ -ex "source Scripts/gdb_uefi.py" \ -ex "set pagination off" \