From fa6a77dc8f8def93b549c67d01210d37819e2f39 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 12 Mar 2004 20:51:50 +0000 Subject: [PATCH] * linux-low.c: Include . Remove extern declaration of errno. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-low.c | 3 +-- 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,3 +1,8 @@ +2004-03-12 Daniel Jacobowitz + + * linux-low.c: Include . Remove extern declaration of + errno. + 2004-03-12 Daniel Jacobowitz * gdbreplay.c, server.h, utils.c: Update copyright years. 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 #include #include +#include /* ``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) -- 2.30.2