29
edits
(→Attach GDB: Clarify that app_process is not a variable.) |
|||
Line 215: | Line 215: | ||
Attached; pid = YOURPID | Attached; pid = YOURPID | ||
Listening on port 1234 | Listening on port 1234 | ||
* Run arm-eabi-gdb on your binary. (android-ndk-1.6_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin) For debugging gecko, a copy of app_process from your device should be used. | * Run arm-eabi-gdb on your binary. (android-ndk-1.6_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin) For debugging gecko, a copy of app_process from your device should be used. (Note that <tt>app_process</tt> is not a variable name -- it is actually a binary pulled from the device in the previous section.) | ||
(Host)$ /PATH/TO/NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gdb app_process | (Host)$ /PATH/TO/NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gdb app_process | ||
GNU gdb 6.6 | GNU gdb 6.6 |
edits