aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 14:28:06 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:44 +0100
commit4cb9c816469ef3373d9cdde76e8ab5007cf3739e (patch)
tree706c63bc76a31a02de85f049cfe3e0ce32932d91 /gdb/nat
parent3995eeeeacd9f6630d46e3d1be226365ef5a6652 (diff)
downloadgdb-4cb9c816469ef3373d9cdde76e8ab5007cf3739e.zip
gdb-4cb9c816469ef3373d9cdde76e8ab5007cf3739e.tar.gz
gdb-4cb9c816469ef3373d9cdde76e8ab5007cf3739e.tar.bz2
Move ptid.h to common-defs.h
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.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/linux-btrace.h1
-rw-r--r--gdb/nat/linux-osdata.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/gdb/nat/linux-btrace.h b/gdb/nat/linux-btrace.h
index 5faf535..28a7176 100644
--- a/gdb/nat/linux-btrace.h
+++ b/gdb/nat/linux-btrace.h
@@ -24,7 +24,6 @@
#include "btrace-common.h"
#include "vec.h"
-#include "ptid.h"
#include <stdint.h>
#if HAVE_LINUX_PERF_EVENT_H
diff --git a/gdb/nat/linux-osdata.h b/gdb/nat/linux-osdata.h
index e9d4f3c..252f3c9 100644
--- a/gdb/nat/linux-osdata.h
+++ b/gdb/nat/linux-osdata.h
@@ -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);