This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, gdbserver does not compile for the Android operating system because of missing headers sys/user.h and sys/dir.h and a declaration of errno inside a function. The following patch fixes these problem. Does it look okay? If so, could someone approve and commit it for me? Thanks. -Doug 2008-07-22 Doug Kwan <dougkwan@google.com> * configure.ac: Check for sys/dir.h and sys.user.h. * config.in configure: Regenerate. * linux-low.c: Include <sys/dir.h> if HAVE_SYS_DIR_H is defined. Include <sys/user.h> if HAVE_SYS_USER_H is defined. (linux_write_memory): Declare errno if STDC_HEADERS is not defined.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |