I noticed in the obj/local/armeabi directory there is a gdb.setup file which I used to configure gdb on the command line. The gdb.setup file contains:
GNU gdb (GDB) 7.3.1-gg2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-linux-android".
For bug reporting instructions, please see:
<
http://source.android.com/source/report-bugs.html>.
warning: .dynamic section for "/home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/linker" is not at the expected address (wrong library or version mismatch?)
warning: Could not load shared library symbols for 94 libraries, e.g. libstdc++.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Breakpoint address adjusted from 0x40197aa5 to 0x40197aa4.
0x400c0a70 in epoll_wait () from /home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/libc.so
(gdb) set solib-search-path ./obj/local/armeabi
(gdb) directory /home/common/Devtools/android-ndk-r8e/platforms/android-9/arch-arm/usr/include jni /home/common/Devtools/android-ndk-r8e/sources/cxx-stl/system
Source directories searched: /home/common/Devtools/android-ndk-r8e/platforms/android-9/arch-arm/usr/include:/home/common/STEP3D/trunk/STEP3D/jni:/home/common/Devtools/android-ndk-r8e/sources/cxx-stl/system:$cdir:$cwd
(gdb) file ./obj/local/armeabi/app_process
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Please answer y or n.
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Load new symbol table from "/home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process"? (y or n) y
Reading symbols from /home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process...done.
WARNING: no debugging symbols found in /home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process.
Either the binary was compiled without debugging information
or the debugging information was removed (e.g., with strip or strip -g).
Debugger capabilities will be very limited.
For further information:
http://wiki/Main/GdbFaq#No_debugging_symbols_found(gdb) directory /home/common/Devtools/android-ndk-r8e/platforms/android-9/arch-arm/usr/include jni /home/common/Devtools/android-ndk-r8e/sources/cxx-stl/system
Source directories searched: /home/common/Devtools/android-ndk-r8e/platforms/android-9/arch-arm/usr/include:/home/common/STEP3D/trunk/STEP3D/jni:/home/common/Devtools/android-ndk-r8e/sources/cxx-stl/system:$cdir:$cwd
(gdb) file ./obj/local/armeabi/app_process
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Load new symbol table from "/home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process"? (y or n) y
Reading symbols from /home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process...done.
WARNING: no debugging symbols found in /home/common/STEP3D/trunk/STEP3D/obj/local/armeabi/app_process.
Either the binary was compiled without debugging information
or the debugging information was removed (e.g., with strip or strip -g).
Debugger capabilities will be very limited.
For further information:
http://wiki/Main/GdbFaq#No_debugging_symbols_found(gdb) target remote :5039
A program is being debugged already. Kill it? (y or n) y
Remote debugging using :5039
Remote communication error. Target disconnected.: Connection reset by peer.