]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Move ptid.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Mon, 28 Jul 2014 13:28:06 +0000 (14:28 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:44 +0000 (09:06 +0100)
This commit moves the inclusion of ptid.h to common-defs.h and removes
all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* common/common-defs.h: Include ptid.h.
* defs.h: Do not include ptid.h.
* inferior.h: Likewise.
* infrun.h: Likewise.
* nat/linux-btrace.h: Likewise.
* nat/linux-osdata.h: Likewise.
* target/waitstatus.h: Likewise.

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* server.h: Do not include ptid.h.
* notif.h: Likewise.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/notif.h
gdb/gdbserver/server.h
gdb/inferior.h
gdb/infrun.h
gdb/nat/linux-btrace.h
gdb/nat/linux-osdata.h
gdb/target/waitstatus.h

index d99b3213966c2a5f44e35732bb369378ff7aee4f..86274e886a387c67e73ecfdbb4405df035a292df 100644 (file)
@@ -1,3 +1,13 @@
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
+       * common/common-defs.h: Include ptid.h.
+       * defs.h: Do not include ptid.h.
+       * inferior.h: Likewise.
+       * infrun.h: Likewise.
+       * nat/linux-btrace.h: Likewise.
+       * nat/linux-osdata.h: Likewise.
+       * target/waitstatus.h: Likewise.
+
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
        * common/common-defs.h: Include gdb_locale.h.
index c0fbb0db8d761a2a474849333337ab3090969caf..7bf328a964578be2afff8d3ac753206ebaea3094 100644 (file)
@@ -36,5 +36,6 @@
 #include "pathmax.h"
 #include "gdb/signals.h"
 #include "gdb_locale.h"
+#include "ptid.h"
 
 #endif /* COMMON_DEFS_H */
index 23f875edda7d7c63df1b333243c7a12101ee4046..8513606c2765ad1412953db8d78d37ac740e1f17 100644 (file)
@@ -113,8 +113,6 @@ typedef bfd_vma CORE_ADDR;
 #define max(a, b) ((a) > (b) ? (a) : (b))
 #endif
 
-#include "ptid.h"
-
 /* * Enable xdb commands if set.  */
 extern int xdb_commands;
 
index 5ca4ffaada2968bc71231ba4360e2cbeb04bbb97..b51d87092c0e3c309e20c0496ee9c4f0022a6afd 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
+       * server.h: Do not include ptid.h.
+       * notif.h: Likewise.
+
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
        * server.h: Do not include gdb_locale.h.
index c6a790da18390af31e999a6d417af67ae409661b..dab687fa2a69b48a978e1b19b01e2867bb6fcd8e 100644 (file)
@@ -16,7 +16,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 "ptid.h"
 #include "target.h"
 #include "queue.h"
 
index 7c0b80a9fa0137b365df3855219904432ba6a7eb..ca2729c350f77840de3fd00667b3abf5f9f0b291 100644 (file)
@@ -71,7 +71,6 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap);
 /* A type used for binary buffers.  */
 typedef unsigned char gdb_byte;
 
-#include "ptid.h"
 #include "buffer.h"
 #include "xml-utils.h"
 
index 668c888b8cac42f335c9f51fe380250804a2aba0..afc29e237cd1a818276ffdbb8010301ec694478d 100644 (file)
@@ -31,8 +31,6 @@ struct ui_out;
 struct terminal_info;
 struct target_desc_info;
 
-#include "ptid.h"
-
 /* For bpstat.  */
 #include "breakpoint.h"
 
index 35b22461a1bbebee9fde0c44886a00e80ab1c275..cc9cb33695435493fca027d22fe0a0a434f6e114 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef INFRUN_H
 #define INFRUN_H 1
 
-#include "ptid.h"
 #include "symtab.h"
 
 struct target_waitstatus;
index 5faf535d4b456fdf58735e75659183c8fd4602e4..28a7176ea84e85ac0029420d9c60f2a72029c379 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "btrace-common.h"
 #include "vec.h"
-#include "ptid.h"
 #include <stdint.h>
 
 #if HAVE_LINUX_PERF_EVENT_H
index e9d4f3c81c3be975acd643ac2a109823d990067a..252f3c9303cb65b8bf133154dc8d0ba22266e769 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef COMMON_LINUX_OSDATA_H
 #define COMMON_LINUX_OSDATA_H
 
-#include "ptid.h"
-
 extern int linux_common_core_of_thread (ptid_t ptid);
 extern LONGEST linux_common_xfer_osdata (const char *annex, gdb_byte *readbuf,
                                         ULONGEST offset, ULONGEST len);
index 32eb5a49d112c9235efb613dce06c8e4da0bcd0e..c05d651124860479462a2510320579be7765972f 100644 (file)
@@ -21,7 +21,6 @@
 #define WAITSTATUS_H
 
 #include "common-utils.h"
-#include "ptid.h"
 #include "gdb_signals.h"
 
 /* Stuff for target_wait.  */