OSDN Git Service

Add ndk-gdb script to the NDK.
authorDavid 'Digit' Turner <digit@google.com>
Fri, 16 Apr 2010 19:45:33 +0000 (12:45 -0700)
committerDavid 'Digit' Turner <digit@google.com>
Mon, 26 Apr 2010 23:17:59 +0000 (16:17 -0700)
commita08d605794902f5c7ed79b3d894adb722e1b6cac
tree8b9d860388ec9dd537594b701fb6ea1e6c4219ab
parent6724aaa2876f40ad270823bc933edf7552f67436
Add ndk-gdb script to the NDK.

This is a helper script used to launch a native debugging session.
To use it, follow these steps:

1. Make your application debuggable
2. Build the machine code with 'ndk-build'  (make APP=<name> is not supported)
3. Build the package with ant or the ADT Eclipse plugin
4. Install it on your device/emulator
5. Launch it
6. Run 'ndk-gdb' from your application project directory.

Change-Id: Ie3b0557e70cefa0080075a34ad0ca46bebef3c42
NOTE: To work properly, a modified gdbserver binary must be used
      (one that binds to Unix sockets instead of TCP ones). Patch
      upcoming.
17 files changed:
apps/hello-jni/project/AndroidManifest.xml
apps/hello-jni/project/default.properties
build/core/add-application.mk
build/core/build-local.mk
build/core/build-module.mk
build/core/default-application.mk
build/core/definitions.mk
build/core/extract-package-name.awk
build/core/extract-package-pid.awk
build/core/install-binary.mk
build/core/setup-app.mk
build/core/setup-toolchain.mk
docs/CHANGES.TXT
docs/NDK-GDB.TXT [new file with mode: 0644]
docs/OVERVIEW.TXT
ndk-build
ndk-gdb [new file with mode: 0755]