From 537beec7f9d9dfb22c30ec6ee9b9434b42485d35 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 15 Dec 2011 15:27:49 +0200 Subject: ndk-gdb needs gdbserver and gdb.setup --- android/qa/sc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'android/qa/sc') diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile index 645ee9988ae1..441d479857a0 100644 --- a/android/qa/sc/Makefile +++ b/android/qa/sc/Makefile @@ -133,6 +133,12 @@ copy-stuff: for F in uno_services uno_types; do \ sed -e 's!uri="./!uri="$(APP_DATA_PATH)/lib/!g' <$(SRC_ROOT)/testtools/$(INPATH)/lib/$${F}.rdb >assets/lib/$${F}.rdb; \ done +# +# Then gdbserver and gdb.setup so that we can debug with ndk-gdb. +# + cp $(NDK_HOME)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver $(SODEST) + echo set solib-search-path ./obj/local/armeabi-v7a >$(SODEST)/gdb.setup + build-ant: copy-stuff unset JAVA_HOME && ant debug -- cgit