]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Do not include defs.h or server.h in any header file
authorGary Benson <gbenson@redhat.com>
Thu, 31 Jul 2014 12:25:01 +0000 (13:25 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 31 Jul 2014 12:25:01 +0000 (13:25 +0100)
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.

gdb/ChangeLog
gdb/common/btrace-common.h
gdb/gdb-dlfcn.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/ax.h
gdb/gdbserver/gdbthread.h
gdb/gdbserver/lynx-low.h
gdb/gdbserver/notif.h
gdb/nat/mips-linux-watch.h
gdb/tracefile.h

index efba78628886907db0f5a652b103b2822d2575bc..572cd44a2994977f5cbf0e9160d467e9d4ee0c17 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2014-07-30  Roland McGrath  <mcgrathr@google.com>
 
        * remote-sim.c (gdbsim_open): Apply constification to forward decl.
index 25617bbc988d8f57fb4a2ae109a05e27a62796d6..339e68430a9047e08e15950589eb2f08f4f715b1 100644 (file)
    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.
index afc1a25016fb40ab82061017fe77ee7be7744ff2..905015a042fafdda82ff1df3f17d518cd392ed99 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef GDB_DLFCN_H
 #define GDB_DLFCN_H
 
-#include "defs.h"
-
 /* Load the dynamic library file named FILENAME, and return a handle
    for that dynamic library.  Return NULL if the loading fails for any
    reason.  */
index d0fa61d44be58976f5eb83505883befa7a4b1557..8874790107df700a13d3a2a2318f7b25715bf7c6 100644 (file)
@@ -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.
index 63180042600f7596205d85163c521c4e4c7fe594..59005e05a5046116bd8a5fd8b7c01d9cc94cbd2c 100644 (file)
@@ -19,7 +19,6 @@
 #if !defined (AX_H)
 #define AX_H 1
 
-#include "server.h"
 #include "regcache.h"
 
 #ifdef IN_PROCESS_AGENT
index 9785d67a52ca86d75e3da1c8be28778f59a7114b..fe0a75e44d892b2c0000f50134bfd7d350d2be50 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef GDB_THREAD_H
 #define GDB_THREAD_H
 
-#include "server.h"
 #include "inferiors.h"
 
 struct btrace_target_info;
index 94a079ebb9b176f473f13d1c48db449b81a2885e..966ec0378c3cf34e33ab1c2de4c0d6317fc5bc59 100644 (file)
@@ -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;
 
index 3d233a1201b77eac1cf8ea0cc277b80f7420606a..c6a790da18390af31e999a6d417af67ae409661b 100644 (file)
@@ -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"
 
index c9f69322b322ccf33e0ed4517489ae6479fdf39d..09921025f6f2fe68f2ccc0052bab77b9231278e4 100644 (file)
 #ifndef MIPS_LINUX_WATCH_H
 #define MIPS_LINUX_WATCH_H 1
 
-#ifdef GDBSERVER
-#include "server.h"
-#else
-#include "defs.h"
-#endif
-
 #include <asm/ptrace.h>
 #include <stdint.h>
 
index 54853708291640b6b61fce45b308ee21efc6fd37..8b711a115c2fd7197f1ec348d66347ec35fcdbb5 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef TRACEFILE_H
 #define TRACEFILE_H 1
 
-#include "defs.h"
 #include "tracepoint.h"
 
 struct trace_file_writer;