* commit '4f499fba73dd7bc04248f310df9b8b90f93d5de8': Support gdb wrappers
This commit is contained in:
commit
bacedf66d2
1 changed files with 6 additions and 1 deletions
|
@ -825,6 +825,11 @@ function stacks()
|
|||
fi
|
||||
}
|
||||
|
||||
function gdbwrapper()
|
||||
{
|
||||
$ANDROID_TOOLCHAIN/$GDB -x "$@"
|
||||
}
|
||||
|
||||
function gdbclient()
|
||||
{
|
||||
local OUT_ROOT=$(get_abs_build_var PRODUCT_OUT)
|
||||
|
@ -892,7 +897,7 @@ function gdbclient()
|
|||
echo >>"$OUT_ROOT/gdbclient.cmds" "target remote $PORT"
|
||||
echo >>"$OUT_ROOT/gdbclient.cmds" ""
|
||||
|
||||
$ANDROID_TOOLCHAIN/$GDB -x "$OUT_ROOT/gdbclient.cmds" "$OUT_EXE_SYMBOLS/$EXE"
|
||||
gdbwrapper "$OUT_ROOT/gdbclient.cmds" "$OUT_EXE_SYMBOLS/$EXE"
|
||||
else
|
||||
echo "Unable to determine build system output dir."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue