From 7239816079399844df30ca2ae116a2de923bfb98 Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Mon, 24 Jun 2013 14:36:21 -0700 Subject: [PATCH] Source $ANDROID_BUILD_TOP/development/scripts/gdb/dalvik.gdb Example for future gdb scripts: A handy command "dbt" is added to unwind the Dalvik stack. Change-Id: I564ec865c30453879439203d9d15623d5f1ec235 --- envsetup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/envsetup.sh b/envsetup.sh index 5460a0e95..f107b677e 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -894,6 +894,7 @@ function gdbclient() echo >|"$OUT_ROOT/gdbclient.cmds" "set solib-absolute-prefix $OUT_SYMBOLS" echo >>"$OUT_ROOT/gdbclient.cmds" "set solib-search-path $OUT_SO_SYMBOLS:$OUT_SO_SYMBOLS/hw:$OUT_SO_SYMBOLS/ssl/engines:$OUT_SO_SYMBOLS/drm:$OUT_SO_SYMBOLS/egl:$OUT_SO_SYMBOLS/soundfx" + echo >>"$OUT_ROOT/gdbclient.cmds" "source $ANDROID_BUILD_TOP/development/scripts/gdb/dalvik.gdb" echo >>"$OUT_ROOT/gdbclient.cmds" "target remote $PORT" echo >>"$OUT_ROOT/gdbclient.cmds" ""