diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-03-12 20:51:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-03-12 20:51:50 +0000 |
commit | fa6a77dc8f8def93b549c67d01210d37819e2f39 (patch) | |
tree | 2b3d70daad60b3a0c3bb182a49b79c8ae346446c /gdb/gdbserver/linux-low.c | |
parent | 6d782a97bd1f40cd3852539559169aa68e229a60 (diff) | |
download | gdb-fa6a77dc8f8def93b549c67d01210d37819e2f39.zip gdb-fa6a77dc8f8def93b549c67d01210d37819e2f39.tar.gz gdb-fa6a77dc8f8def93b549c67d01210d37819e2f39.tar.bz2 |
* linux-low.c: Include <errno.h>. Remove extern declaration of
errno.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 69b35c1..a3d6a54 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) |