From 4a4b3fedfec42967926860950ee4fae2f01af98e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 14 Sep 2003 02:04:44 +0000 Subject: [PATCH] 2003-09-13 Andrew Cagney * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. * ppc-tdep.h (struct regcache): Declare opaque. * objfiles.h (struct objfile_data): Declare opaque. * cp-support.h (struct objfile): Declare opaque. * linux-nat.h (target_waitstatus): Declare opaque. --- gdb/ChangeLog | 8 ++++++++ gdb/config/pa/tm-hppa64.h | 2 ++ gdb/cp-support.h | 1 + gdb/linux-nat.h | 1 + gdb/objfiles.h | 1 + gdb/ppc-tdep.h | 1 + gdb/tui/ChangeLog | 4 ++++ gdb/tui/tui.h | 2 ++ 8 files changed, 20 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 36113809464..39a23772490 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2003-09-13 Andrew Cagney + + * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. + * ppc-tdep.h (struct regcache): Declare opaque. + * objfiles.h (struct objfile_data): Declare opaque. + * cp-support.h (struct objfile): Declare opaque. + * linux-nat.h (target_waitstatus): Declare opaque. + 2003-09-14 Mark Kettenis * cris-tdep.c (cris_gdbarch_init): Set diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h index f9e5b9e66e9..62bcebc7423 100644 --- a/gdb/config/pa/tm-hppa64.h +++ b/gdb/config/pa/tm-hppa64.h @@ -24,6 +24,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* PA 64-bit specific definitions. Override those which are in tm-hppa.h */ +struct frame_info; + /* jimb: this must go. I'm just using it to disable code I haven't gotten working yet. */ #define GDB_TARGET_IS_HPPA_20W diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 544679410d3..169fbaf71c3 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -33,6 +33,7 @@ struct symbol; struct obstack; struct block; +struct objfile; /* This struct is designed to store data from using directives. It says that names from namespace INNER should be visible within diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index da62c76d58b..23730bb9492 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -60,6 +60,7 @@ struct lwp_info system". */ struct mem_attrib; struct target_ops; +struct target_waitstatus; extern int linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len, int write, struct mem_attrib *attrib, diff --git a/gdb/objfiles.h b/gdb/objfiles.h index f94afd183d7..fe54f6d10ed 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -29,6 +29,7 @@ struct bcache; struct htab; struct symtab; +struct objfile_data; /* This structure maintains information on a per-objfile basis about the "entry point" of the objfile, and the scope within which the entry point diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index 0b65821101b..dd84fd13078 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -25,6 +25,7 @@ struct gdbarch; struct frame_info; struct value; +struct regcache; /* From ppc-linux-tdep.c... */ CORE_ADDR ppc_linux_frame_saved_pc (struct frame_info *fi); diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 8eb6d330c74..68386a49786 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,7 @@ +2003-09-13 Andrew Cagney + + * tui.h (struct ui_file): Add opaque declaration. + 2003-08-04 Daniel Jacobowitz * tui-interp.c: Include "cli-out.h". diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index ed66a4ff052..c627b865170 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -33,6 +33,8 @@ #undef chtype #endif +struct ui_file; + /* Opaque data type */ typedef char *Opaque; typedef -- 2.30.2