diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-12-15 15:27:49 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-12-15 16:46:16 +0200 |
commit | 537beec7f9d9dfb22c30ec6ee9b9434b42485d35 (patch) | |
tree | 82d1c1eeec39d90839e8ae432b0ca4e64740d801 /android/qa | |
parent | 0b1cff0dbd2b60485aa1fda71810e0d2c8c1d743 (diff) |
ndk-gdb needs gdbserver and gdb.setup
Diffstat (limited to 'android/qa')
-rw-r--r-- | android/qa/sc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |