aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-btrace.h
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-09-12 10:11:42 +0100
committerGary Benson <gbenson@redhat.com>2014-09-12 10:11:42 +0100
commit53f813629714f46e536c1f0bfa256d7b6b48cf3e (patch)
tree43e3c2f92db5d9cd8b4039aaee7b3c4e3a329a0a /gdb/nat/linux-btrace.h
parent727605ca75e009d8468bb6378b7d18b774838b2d (diff)
downloadgdb-53f813629714f46e536c1f0bfa256d7b6b48cf3e.zip
gdb-53f813629714f46e536c1f0bfa256d7b6b48cf3e.tar.gz
gdb-53f813629714f46e536c1f0bfa256d7b6b48cf3e.tar.bz2
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.
Diffstat (limited to 'gdb/nat/linux-btrace.h')
-rw-r--r--gdb/nat/linux-btrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/nat/linux-btrace.h b/gdb/nat/linux-btrace.h
index 28a7176..e4b2604 100644
--- a/gdb/nat/linux-btrace.h
+++ b/gdb/nat/linux-btrace.h
@@ -30,6 +30,8 @@
# include <linux/perf_event.h>
#endif
+struct target_ops;
+
/* Branch trace target information per thread. */
struct btrace_target_info
{