am 5608a8c6: Merge "Add 64-bit gdbclients."

* commit '5608a8c6e86381cdabc46c3a9b90564411771796':
  Add 64-bit gdbclients.
This commit is contained in:
Ben Cheng 2014-03-07 00:37:17 +00:00 committed by Android Git Automerger
commit a2984bd790
1 changed files with 9 additions and 4 deletions

View File

@ -136,6 +136,8 @@ function setpaths()
;; ;;
mips) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin 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" echo "Can't find toolchain for unknown architecture: $ARCH"
toolchaindir=xxxxxxxxx toolchaindir=xxxxxxxxx
@ -433,10 +435,10 @@ function add_lunch_combo()
# add the default one here # add the default one here
add_lunch_combo aosp_arm-eng 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_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 add_lunch_combo vbox_x86-eng
function print_lunch_menu() function print_lunch_menu()
@ -929,9 +931,12 @@ function gdbclient()
local ARCH=$(get_build_var TARGET_ARCH) local ARCH=$(get_build_var TARGET_ARCH)
local GDB local GDB
case "$ARCH" in case "$ARCH" in
x86) GDB=x86_64-linux-android-gdb;;
arm) GDB=arm-linux-androideabi-gdb;; arm) GDB=arm-linux-androideabi-gdb;;
arm64) GDB=aarch64-linux-android-gdb;;
mips) GDB=mipsel-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;; *) echo "Unknown arch $ARCH"; return 1;;
esac esac