mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-20 07:54:19 +00:00
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.
This commit is contained in:
parent
3995eeeeac
commit
4cb9c81646
@ -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.
|
||||
|
@ -36,5 +36,6 @@
|
||||
#include "pathmax.h"
|
||||
#include "gdb/signals.h"
|
||||
#include "gdb_locale.h"
|
||||
#include "ptid.h"
|
||||
|
||||
#endif /* COMMON_DEFS_H */
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -31,8 +31,6 @@ struct ui_out;
|
||||
struct terminal_info;
|
||||
struct target_desc_info;
|
||||
|
||||
#include "ptid.h"
|
||||
|
||||
/* For bpstat. */
|
||||
#include "breakpoint.h"
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#ifndef INFRUN_H
|
||||
#define INFRUN_H 1
|
||||
|
||||
#include "ptid.h"
|
||||
#include "symtab.h"
|
||||
|
||||
struct target_waitstatus;
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "btrace-common.h"
|
||||
#include "vec.h"
|
||||
#include "ptid.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#if HAVE_LINUX_PERF_EVENT_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);
|
||||
|
@ -21,7 +21,6 @@
|
||||
#define WAITSTATUS_H
|
||||
|
||||
#include "common-utils.h"
|
||||
#include "ptid.h"
|
||||
#include "gdb_signals.h"
|
||||
|
||||
/* Stuff for target_wait. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user