Skip to content

Commit

Permalink
Debug: Fix warning for 64-bit efidebug
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Aug 28, 2020
1 parent 8b45230 commit c177f4e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Debug/efidebug.tool
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit c177f4e

Please sign in to comment.