Add 64-bit gdbclients.
This patch adds gdbclient combo for arm64, mips64, and x86_64. Change-Id: I659b662276c93e5cce92aadc203a4bc111f5c2af Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
This commit is contained in:
parent
601d39b688
commit
9b68fb2837
13
envsetup.sh
13
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue