From 53f813629714f46e536c1f0bfa256d7b6b48cf3e Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Fri, 12 Sep 2014 10:11:42 +0100 Subject: Remove GDBSERVER uses from linux-btrace.c This commit makes nat/linux-btrace.c include common-defs.h rather than defs.h or server.h. A couple of minor changes were required to support this change. gdb/ChangeLog: * nat/linux-btrace.c: Include common-defs.h. Don't include defs.h, server.h or gdbthread.h. * nat/linux-btrace.h (struct target_ops): New forward declaration. --- gdb/nat/linux-btrace.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gdb/nat/linux-btrace.c') diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index 385ca4e0334..37c85c06f0c 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -19,15 +19,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifdef GDBSERVER -#include "server.h" -#else -#include "defs.h" -#endif - +#include "common-defs.h" #include "linux-btrace.h" #include "common-regcache.h" -#include "gdbthread.h" #include "gdb_wait.h" #include "x86-cpuid.h" -- cgit v1.2.1