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
This commit is contained in:
Ben Cheng 2013-06-24 14:36:21 -07:00
parent 7a2d47ecbc
commit 7239816079
1 changed files with 1 additions and 0 deletions

View File

@ -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" ""