| Index: platform_tools/android/bin/android_gdb_exe
|
| diff --git a/platform_tools/android/bin/android_gdb_exe b/platform_tools/android/bin/android_gdb_exe
|
| index 64be9bbd38774f5e241839d9115faceb60044693..920a16b38a124abf09da16ac28c332470950b167 100755
|
| --- a/platform_tools/android/bin/android_gdb_exe
|
| +++ b/platform_tools/android/bin/android_gdb_exe
|
| @@ -25,19 +25,15 @@
|
|
|
| # Set up gdb commands
|
| GDBSETUP=$GDB_TMP_DIR/gdb.setup
|
| -{
|
| - echo "file ${GDB_TMP_DIR}/skia_launcher"
|
| - echo "target remote :${PORT}"
|
| - echo "set solib-absolute-prefix ${GDB_TMP_DIR}"
|
| - echo "set solib-search-path ${GDB_TMP_DIR}
|
| +echo "file $GDB_TMP_DIR/skia_launcher" >> $GDBSETUP
|
| +echo "target remote :$PORT" >> $GDBSETUP
|
| +echo "set solib-absolute-prefix $GDB_TMP_DIR" >> $GDBSETUP
|
| +echo "set solib-search-path $GDB_TMP_DIR" >> $GDBSETUP
|
|
|
| - # The apps shared library symbols are not loaded by default so we
|
| - # load them here."
|
| - echo "break launch_app"
|
| - echo "continue"
|
| - echo "sharedLibrary ${APP_NAME}"
|
| -} > $GDBSETUP
|
| -
|
| +# The apps shared library symbols are not loaded by default so we load them here
|
| +echo "break launch_app" >> $GDBSETUP
|
| +echo "continue" >> $GDBSETUP
|
| +echo "sharedLibrary $APP_NAME" >> $GDBSETUP
|
|
|
| # Launch gdb client
|
| echo "Entering gdb client shell"
|
|
|