This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GNU Debugger Android compilation
- From: Martin Åtrympl <sfence dot software at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 20 Nov 2013 18:54:13 +0100
- Subject: GNU Debugger Android compilation
- Authentication-results: sourceware.org; auth=none
Hello.
I have just compiled and tested GNU Debugger 7.6.1 on my tablet with
Android 4.3. But I have to fix some compilations problems to fix
compilation.
I have tested only to run program under gdb and break point. And it
works good. May be, there is only a problem with read good program
return value. But for hello word program, this looks good.
I don't understand autotools and etc. That I am not able to do useful
change path for you. And I have added preprocesor #ifndef directive to
one android NDK header to fix compilation problem. I have written
function tcdrain like
int tcdrain(in fd) {return -1} to fix one link problem. But I beleave
that my experience can be helpfull for prepare gdb for compilation on
Android ARM.
If you feel interested in it, please answer me. I can share my
experience with you. I will not delete my upgraded gdb source for some
time.