summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-03-12 20:51:50 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-03-12 20:51:50 +0000
commit7b3ee34afac77ba6f5037c15557ec3c1ae01c57a (patch)
tree9d98b5c389de7a3e3e284b98bd81d1386b6b7a3a /gdb/gdbserver
parentbcb6532dbaf55156d5e43dd7c6f4255d13bfd393 (diff)
downloadgdb-7b3ee34afac77ba6f5037c15557ec3c1ae01c57a.tar.gz
* linux-low.c: Include <errno.h>. Remove extern declaration of
errno.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-low.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index a389f0f72ea..e718fa65e61 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
2004-03-12 Daniel Jacobowitz <drow@mvista.com>
+ * linux-low.c: Include <errno.h>. Remove extern declaration of
+ errno.
+
+2004-03-12 Daniel Jacobowitz <drow@mvista.com>
+
* gdbreplay.c, server.h, utils.c: Update copyright years.
2004-03-04 Nathan J. Williams <nathanw@wasabisystems.com>
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 69b35c1032b..a3d6a54d9cf 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -34,6 +34,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <errno.h>
/* ``all_threads'' is keyed by the LWP ID - it should be the thread ID instead,
however. This requires changing the ID in place when we go from !using_threads
@@ -69,8 +70,6 @@ struct pending_signals
static int use_regsets_p = 1;
#endif
-extern int errno;
-
int debug_threads = 0;
#define pid_of(proc) ((proc)->head.id)