From 9b68fb2837a2f77c73730453f9de292e6029717c Mon Sep 17 00:00:00 2001 From: Serban Constantinescu Date: Tue, 14 Jan 2014 10:33:53 +0000 Subject: [PATCH] Add 64-bit gdbclients. This patch adds gdbclient combo for arm64, mips64, and x86_64. Change-Id: I659b662276c93e5cce92aadc203a4bc111f5c2af Signed-off-by: Serban Constantinescu --- envsetup.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 3ec6cce69..26db504fc 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -136,6 +136,8 @@ function setpaths() ;; mips) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin ;; + mips64) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin + ;; *) echo "Can't find toolchain for unknown architecture: $ARCH" toolchaindir=xxxxxxxxx @@ -433,10 +435,10 @@ function add_lunch_combo() # add the default one here add_lunch_combo aosp_arm-eng -add_lunch_combo aosp_x86-eng -add_lunch_combo aosp_mips-eng -add_lunch_combo aosp_x86_64-eng add_lunch_combo aosp_arm64-eng +add_lunch_combo aosp_mips-eng +add_lunch_combo aosp_x86-eng +add_lunch_combo aosp_x86_64-eng add_lunch_combo vbox_x86-eng function print_lunch_menu() @@ -929,9 +931,12 @@ function gdbclient() local ARCH=$(get_build_var TARGET_ARCH) local GDB case "$ARCH" in - x86) GDB=x86_64-linux-android-gdb;; arm) GDB=arm-linux-androideabi-gdb;; + arm64) GDB=aarch64-linux-android-gdb;; mips) GDB=mipsel-linux-android-gdb;; + mips64) GDB=mipsel-linux-android-gdb;; + x86) GDB=x86_64-linux-android-gdb;; + x86_64) GDB=x86_64-linux-android-gdb;; *) echo "Unknown arch $ARCH"; return 1;; esac