aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-31 13:25:01 +0100
committerGary Benson <gbenson@redhat.com>2014-07-31 13:25:01 +0100
commit462f517e5020a464e84d2b8535b1b68d39329dc2 (patch)
tree8c25afd058a1acdd7aee33bbb8d5654751020751 /gdb/common
parent678f6f20d08aea2b9ecf8a5ef9491ea672774494 (diff)
downloadgdb-462f517e5020a464e84d2b8535b1b68d39329dc2.zip
gdb-462f517e5020a464e84d2b8535b1b68d39329dc2.tar.gz
gdb-462f517e5020a464e84d2b8535b1b68d39329dc2.tar.bz2
Do not include defs.h or server.h in any header file
This commit removes all inclusions of defs.h and server.h from header files. gdb/ 2014-07-31 Gary Benson <gbenson@redhat.com> * common/btrace-common.h: Do not include defs.h or server.h. * nat/mips-linux-watch.h: Likewise. * gdb-dlfcn.h: Do not include defs.h. * tracefile.h: Likewise. gdb/gdbserver/ 2014-07-31 Gary Benson <gbenson@redhat.com> * ax.h: Do not include server.h. * gdbthread.h: Likewise. * lynx-low.h: Likewise. * notif.h: Likewise.
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/btrace-common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/common/btrace-common.h b/gdb/common/btrace-common.h
index 25617bb..339e684 100644
--- a/gdb/common/btrace-common.h
+++ b/gdb/common/btrace-common.h
@@ -26,12 +26,6 @@
inferior. For presentation purposes, the branch trace is represented as a
list of sequential control-flow blocks, one such list per thread. */
-#ifdef GDBSERVER
-# include "server.h"
-#else
-# include "defs.h"
-#endif
-
#include "vec.h"
/* A branch trace block.