aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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/gdbserver
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/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog7
-rw-r--r--gdb/gdbserver/ax.h1
-rw-r--r--gdb/gdbserver/gdbthread.h1
-rw-r--r--gdb/gdbserver/lynx-low.h2
-rw-r--r--gdb/gdbserver/notif.h1
5 files changed, 7 insertions, 5 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index d0fa61d..8874790 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2014-07-30 Gary Benson <gbenson@redhat.com>
* server.h: Include common-defs.h.
diff --git a/gdb/gdbserver/ax.h b/gdb/gdbserver/ax.h
index 6318004..59005e0 100644
--- a/gdb/gdbserver/ax.h
+++ b/gdb/gdbserver/ax.h
@@ -19,7 +19,6 @@
#if !defined (AX_H)
#define AX_H 1
-#include "server.h"
#include "regcache.h"
#ifdef IN_PROCESS_AGENT
diff --git a/gdb/gdbserver/gdbthread.h b/gdb/gdbserver/gdbthread.h
index 9785d67..fe0a75e 100644
--- a/gdb/gdbserver/gdbthread.h
+++ b/gdb/gdbserver/gdbthread.h
@@ -19,7 +19,6 @@
#ifndef GDB_THREAD_H
#define GDB_THREAD_H
-#include "server.h"
#include "inferiors.h"
struct btrace_target_info;
diff --git a/gdb/gdbserver/lynx-low.h b/gdb/gdbserver/lynx-low.h
index 94a079e..966ec03 100644
--- a/gdb/gdbserver/lynx-low.h
+++ b/gdb/gdbserver/lynx-low.h
@@ -15,8 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "server.h"
-
struct regcache;
struct target_desc;
diff --git a/gdb/gdbserver/notif.h b/gdb/gdbserver/notif.h
index 3d233a1..c6a790d 100644
--- a/gdb/gdbserver/notif.h
+++ b/gdb/gdbserver/notif.h
@@ -17,7 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "ptid.h"
-#include "server.h"
#include "target.h"
#include "queue.h"