aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/config.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-29 04:01:39 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-29 04:01:39 +0000
commit43d5792ce14b9aadeb177755d94f8075c8d5ca1f (patch)
tree298cec92db3cb4865649fd07456dbaa8dea66e99 /gdb/gdbserver/config.in
parent7cfbef4774a1dc59ee7bcd8999887aaffe5e9e8e (diff)
downloadgdb-43d5792ce14b9aadeb177755d94f8075c8d5ca1f.zip
gdb-43d5792ce14b9aadeb177755d94f8075c8d5ca1f.tar.gz
gdb-43d5792ce14b9aadeb177755d94f8075c8d5ca1f.tar.bz2
* configure.in: Check whether we need to prototype strerror.
* server.h: Optionally prototype strerror. * gdbreplay.c (perror_with_name): Use strerror. * linux-low.c (linux_attach_lwp): Use strerror. * utils.c (perror_with_name): Use strerror. * config.in, configure: Regenerated.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r--gdb/gdbserver/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 5141263..e9d21c8 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -49,6 +49,9 @@
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define if strerror is not declared in system header files. */
+#undef NEED_DECLARATION_STRERROR
+
/* Define if <sys/procfs.h> has lwpid_t. */
#undef HAVE_LWPID_T