This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obish] Add all the missing opaque declarations


Hello,

Following up on the problem that Joel encountered (a missing opaque struct declaration for a struct being referenced in a parameter list), this patch goes through and adds the lot.

committed,
Andrew
2003-04-12  Andrew Cagney  <cagney at redhat dot com>

	* gdbarch.sh: Add missing opaque declarations.
	* gdbarch.h: Regnerate.
	* symtab.h: Add missing opaque declarations.
	* value.h, target.h, symfile.h, stabsread.h: Ditto.
	* x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
	* srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
	* ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
	* ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
	* buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
	* i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
	* dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
	* cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
	* ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
	* config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
	* config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
	* cli/cli-setshow.h, cli/cli-script.h: Ditto.

Index: ada-lang.h
===================================================================
RCS file: /cvs/src/src/gdb/ada-lang.h,v
retrieving revision 1.3
diff -u -r1.3 ada-lang.h
--- ada-lang.h	20 Feb 2003 00:01:04 -0000	1.3
+++ ada-lang.h	12 Apr 2003 17:39:46 -0000
@@ -20,6 +20,8 @@
 #if !defined (ADA_LANG_H)
 #define ADA_LANG_H 1
 
+struct partial_symbol;
+
 #include "value.h"
 #include "gdbtypes.h"
 
Index: arch-utils.h
===================================================================
RCS file: /cvs/src/src/gdb/arch-utils.h,v
retrieving revision 1.43
diff -u -r1.43 arch-utils.h
--- arch-utils.h	9 Dec 2002 02:04:16 -0000	1.43
+++ arch-utils.h	12 Apr 2003 17:39:46 -0000
@@ -22,6 +22,12 @@
 #ifndef GDBARCH_UTILS_H
 #define GDBARCH_UTILS_H
 
+struct gdbarch;
+struct frame_info;
+struct minimal_symbol;
+struct type;
+struct gdbarch_info;
+
 /* gdbarch trace variable */
 extern int gdbarch_debug;
 
Index: ax-gdb.h
===================================================================
RCS file: /cvs/src/src/gdb/ax-gdb.h,v
retrieving revision 1.3
diff -u -r1.3 ax-gdb.h
--- ax-gdb.h	6 Mar 2001 08:21:05 -0000	1.3
+++ ax-gdb.h	12 Apr 2003 17:39:46 -0000
@@ -20,7 +20,8 @@
 
 #ifndef AX_GDB_H
 #define AX_GDB_H
-
+
+struct expression;
 
 /* Types and enums */
 
Index: buildsym.h
===================================================================
RCS file: /cvs/src/src/gdb/buildsym.h,v
retrieving revision 1.11
diff -u -r1.11 buildsym.h
--- buildsym.h	20 Feb 2003 00:01:05 -0000	1.11
+++ buildsym.h	12 Apr 2003 17:39:46 -0000
@@ -22,6 +22,9 @@
 #if !defined (BUILDSYM_H)
 #define BUILDSYM_H 1
 
+struct objfile;
+struct symbol;
+
 /* This module provides definitions used for creating and adding to
    the symbol table.  These routines are called from various symbol-
    file-reading routines.
Index: builtin-regs.h
===================================================================
RCS file: /cvs/src/src/gdb/builtin-regs.h,v
retrieving revision 1.2
diff -u -r1.2 builtin-regs.h
--- builtin-regs.h	25 Sep 2002 20:30:37 -0000	1.2
+++ builtin-regs.h	12 Apr 2003 17:39:46 -0000
@@ -24,6 +24,8 @@
 #ifndef BUILTIN_REGS_H
 #define BUILTIN_REGS_H
 
+struct frame_info;
+
 extern int builtin_reg_map_name_to_regnum (const char *str, int len);
 
 extern const char *builtin_reg_map_regnum_to_name (int regnum);
Index: c-lang.h
===================================================================
RCS file: /cvs/src/src/gdb/c-lang.h,v
retrieving revision 1.6
diff -u -r1.6 c-lang.h
--- c-lang.h	14 Oct 2002 22:58:28 -0000	1.6
+++ c-lang.h	12 Apr 2003 17:39:46 -0000
@@ -23,6 +23,8 @@
 #if !defined (C_LANG_H)
 #define C_LANG_H 1
 
+struct ui_file;
+
 #include "value.h"
 #include "macroexp.h"
 
Index: cli-out.h
===================================================================
RCS file: /cvs/src/src/gdb/cli-out.h,v
retrieving revision 1.3
diff -u -r1.3 cli-out.h
--- cli-out.h	6 Feb 2003 01:19:12 -0000	1.3
+++ cli-out.h	12 Apr 2003 17:39:46 -0000
@@ -22,6 +22,8 @@
 #ifndef CLI_OUT_H
 #define CLI_OUT_H
 
+struct ui_file;
+
 extern struct ui_out *cli_out_new (struct ui_file *stream);
 
 extern struct ui_file *cli_out_set_stream (struct ui_out *uiout,
Index: cp-abi.h
===================================================================
RCS file: /cvs/src/src/gdb/cp-abi.h,v
retrieving revision 1.5
diff -u -r1.5 cp-abi.h
--- cp-abi.h	5 Mar 2003 18:01:46 -0000	1.5
+++ cp-abi.h	12 Apr 2003 17:39:46 -0000
@@ -25,6 +25,8 @@
 #ifndef CP_ABI_H_
 #define CP_ABI_H_ 1
 
+struct fn_field;
+struct type;
 struct value;
 
 /* The functions here that attempt to determine what sort of thing a
Index: disasm.h
===================================================================
RCS file: /cvs/src/src/gdb/disasm.h,v
retrieving revision 1.1
diff -u -r1.1 disasm.h
--- disasm.h	30 Sep 2002 15:57:25 -0000	1.1
+++ disasm.h	12 Apr 2003 17:39:46 -0000
@@ -21,6 +21,8 @@
 #ifndef DISASM_H
 #define DISASM_H
 
+struct ui_out;
+
 extern void gdb_disassembly (struct ui_out *uiout,
 			     char *file_string,
 			     int line_num,
Index: doublest.h
===================================================================
RCS file: /cvs/src/src/gdb/doublest.h,v
retrieving revision 1.10
diff -u -r1.10 doublest.h
--- doublest.h	9 Apr 2003 15:08:26 -0000	1.10
+++ doublest.h	12 Apr 2003 17:39:46 -0000
@@ -24,6 +24,8 @@
 #ifndef DOUBLEST_H
 #define DOUBLEST_H
 
+struct type;
+
 /* Setup definitions for host and target floating point formats.  We need to
    consider the format for `float', `double', and `long double' for both target
    and host.  We need to do this so that we know what kind of conversions need
Index: dwarf2cfi.h
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2cfi.h,v
retrieving revision 1.4
diff -u -r1.4 dwarf2cfi.h
--- dwarf2cfi.h	9 Dec 2002 02:04:16 -0000	1.4
+++ dwarf2cfi.h	12 Apr 2003 17:39:46 -0000
@@ -22,6 +22,8 @@
 #ifndef DWARF2CFI_H
 #define DWARF2CFI_H
 
+struct frame_info;
+
 struct context_reg
 {
   union
Index: event-top.h
===================================================================
RCS file: /cvs/src/src/gdb/event-top.h,v
retrieving revision 1.6
diff -u -r1.6 event-top.h
--- event-top.h	12 Feb 2003 15:31:30 -0000	1.6
+++ event-top.h	12 Apr 2003 17:39:46 -0000
@@ -24,6 +24,8 @@
 #ifndef EVENT_TOP_H
 #define EVENT_TOP_H
 
+struct cmd_list_element;
+
 /* Stack for prompts.  Each prompt is composed as a prefix, a prompt
    and a suffix.  The prompt to be displayed at any given time is the
    one on top of the stack.  A stack is necessary because of cases in
Index: gdb.h
===================================================================
RCS file: /cvs/src/src/gdb/gdb.h,v
retrieving revision 1.2
diff -u -r1.2 gdb.h
--- gdb.h	18 Sep 2001 05:00:49 -0000	1.2
+++ gdb.h	12 Apr 2003 17:39:46 -0000
@@ -22,6 +22,8 @@
 #ifndef GDB_H
 #define GDB_H
 
+struct ui_out;
+
 /* Return-code (RC) from a gdb library call.  (The abreviation RC is
    taken from the sim/common directory.) */
 
Index: gdbarch.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.h,v
retrieving revision 1.172
diff -u -r1.172 gdbarch.h
--- gdbarch.h	11 Apr 2003 18:15:38 -0000	1.172
+++ gdbarch.h	12 Apr 2003 17:39:47 -0000
@@ -42,6 +42,8 @@
 #include "symfile.h"		/* For entry_point_address().  */
 #endif
 
+struct floatformat;
+struct ui_file;
 struct frame_info;
 struct value;
 struct objfile;
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.224
diff -u -r1.224 gdbarch.sh
--- gdbarch.sh	11 Apr 2003 18:15:38 -0000	1.224
+++ gdbarch.sh	12 Apr 2003 17:39:48 -0000
@@ -807,6 +807,8 @@
 #include "symfile.h"		/* For entry_point_address().  */
 #endif
 
+struct floatformat;
+struct ui_file;
 struct frame_info;
 struct value;
 struct objfile;
Index: gdbcore.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbcore.h,v
retrieving revision 1.11
diff -u -r1.11 gdbcore.h
--- gdbcore.h	19 Jan 2003 04:06:45 -0000	1.11
+++ gdbcore.h	12 Apr 2003 17:39:48 -0000
@@ -24,6 +24,8 @@
 #if !defined (GDBCORE_H)
 #define GDBCORE_H 1
 
+struct type;
+
 #include "bfd.h"
 
 /* Return the name of the executable file as a string.
Index: gdbthread.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbthread.h,v
retrieving revision 1.6
diff -u -r1.6 gdbthread.h
--- gdbthread.h	6 Dec 2002 07:35:55 -0000	1.6
+++ gdbthread.h	12 Apr 2003 17:39:48 -0000
@@ -25,6 +25,10 @@
 #ifndef GDBTHREAD_H
 #define GDBTHREAD_H
 
+struct breakpoint;
+struct frame_id;
+struct symtab;
+
 /* For bpstat */
 #include "breakpoint.h"
 
Index: gdbtypes.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbtypes.h,v
retrieving revision 1.45
diff -u -r1.45 gdbtypes.h
--- gdbtypes.h	18 Mar 2003 22:03:29 -0000	1.45
+++ gdbtypes.h	12 Apr 2003 17:39:49 -0000
@@ -26,6 +26,7 @@
 #define GDBTYPES_H 1
 
 /* Forward declarations for prototypes.  */
+struct field;
 struct block;
 
 /* Codes for `fundamental types'.  This is a monstrosity based on the
Index: i386-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.h,v
retrieving revision 1.20
diff -u -r1.20 i386-tdep.h
--- i386-tdep.h	4 Jan 2003 23:38:45 -0000	1.20
+++ i386-tdep.h	12 Apr 2003 17:39:49 -0000
@@ -22,6 +22,10 @@
 #ifndef I386_TDEP_H
 #define I386_TDEP_H
 
+struct reggroup;
+struct gdbarch;
+struct frame_info;
+
 /* GDB's i386 target supports both the 32-bit Intel Architecture
    (IA-32) and the 64-bit AMD x86-64 architecture.  Internally it uses
    a similar register layout for both.
Index: i387-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.h,v
retrieving revision 1.3
diff -u -r1.3 i387-tdep.h
--- i387-tdep.h	16 Aug 2002 00:01:59 -0000	1.3
+++ i387-tdep.h	12 Apr 2003 17:39:49 -0000
@@ -21,6 +21,10 @@
 #ifndef I387_TDEP_H
 #define I387_TDEP_H
 
+struct gdbarch;
+struct ui_file;
+struct frame_info;
+
 /* Print out the i387 floating point state.  */
 
 extern void i387_print_float_info (struct gdbarch *gdbarch,
Index: inferior.h
===================================================================
RCS file: /cvs/src/src/gdb/inferior.h,v
retrieving revision 1.51
diff -u -r1.51 inferior.h
--- inferior.h	8 Apr 2003 19:21:14 -0000	1.51
+++ inferior.h	12 Apr 2003 17:39:49 -0000
@@ -24,6 +24,10 @@
 #if !defined (INFERIOR_H)
 #define INFERIOR_H 1
 
+struct target_waitstatus;
+struct frame_info;
+struct ui_file;
+struct type;
 struct gdbarch;
 struct regcache;
 
Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.18
diff -u -r1.18 language.h
--- language.h	2 Apr 2003 03:02:46 -0000	1.18
+++ language.h	12 Apr 2003 17:39:50 -0000
@@ -30,6 +30,8 @@
 struct value;
 struct objfile;
 struct expression;
+struct ui_file;
+
 /* enum exp_opcode;     ANSI's `wisdom' didn't include forward enum decls. */
 
 /* This used to be included to configure GDB for one or more specific
Index: linespec.h
===================================================================
RCS file: /cvs/src/src/gdb/linespec.h,v
retrieving revision 1.2
diff -u -r1.2 linespec.h
--- linespec.h	6 Mar 2001 08:21:09 -0000	1.2
+++ linespec.h	12 Apr 2003 17:39:50 -0000
@@ -19,6 +19,8 @@
 #if !defined (LINESPEC_H)
 #define LINESPEC_H 1
 
+struct symtab;
+
 extern struct symtabs_and_lines
 	decode_line_1 (char **argptr, int funfirstline,
 		       struct symtab *default_symtab, int default_line,
Index: mips-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.h,v
retrieving revision 1.1
diff -u -r1.1 mips-tdep.h
--- mips-tdep.h	5 Dec 2002 05:17:39 -0000	1.1
+++ mips-tdep.h	12 Apr 2003 17:39:50 -0000
@@ -22,6 +22,8 @@
 #ifndef MIPS_TDEP_H
 #define MIPS_TDEP_H
 
+struct gdbarch;
+
 /* All the possible MIPS ABIs. */
 enum mips_abi
   {
Index: monitor.h
===================================================================
RCS file: /cvs/src/src/gdb/monitor.h,v
retrieving revision 1.10
diff -u -r1.10 monitor.h
--- monitor.h	19 Jan 2003 04:06:46 -0000	1.10
+++ monitor.h	12 Apr 2003 17:39:50 -0000
@@ -24,6 +24,7 @@
 #ifndef MONITOR_H
 #define MONITOR_H
 
+struct target_waitstatus;
 struct serial;
 
 /* This structure describes the strings necessary to give small command
Index: ocd.h
===================================================================
RCS file: /cvs/src/src/gdb/ocd.h,v
retrieving revision 1.5
diff -u -r1.5 ocd.h
--- ocd.h	4 May 2001 04:15:26 -0000	1.5
+++ ocd.h	12 Apr 2003 17:39:50 -0000
@@ -21,6 +21,9 @@
 #ifndef OCD_H
 #define OCD_H
 
+struct mem_attrib;
+struct target_ops;
+
 /* Wiggler serial protocol definitions */
 
 #define DLE 020			/* Quote char */
Index: ppc-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/ppc-tdep.h,v
retrieving revision 1.15
diff -u -r1.15 ppc-tdep.h
--- ppc-tdep.h	17 Mar 2003 18:27:07 -0000	1.15
+++ ppc-tdep.h	12 Apr 2003 17:39:50 -0000
@@ -22,6 +22,7 @@
 #ifndef PPC_TDEP_H
 #define PPC_TDEP_H
 
+struct gdbarch;
 struct frame_info;
 struct value;
 
Index: remote-utils.h
===================================================================
RCS file: /cvs/src/src/gdb/remote-utils.h,v
retrieving revision 1.8
diff -u -r1.8 remote-utils.h
--- remote-utils.h	10 Jul 2001 21:06:34 -0000	1.8
+++ remote-utils.h	12 Apr 2003 17:39:50 -0000
@@ -22,6 +22,8 @@
 #ifndef REMOTE_UTILS_H
 #define REMOTE_UTILS_H
 
+struct target_ops;
+
 #include "target.h"
 struct serial;
 
Index: ser-unix.h
===================================================================
RCS file: /cvs/src/src/gdb/ser-unix.h,v
retrieving revision 1.3
diff -u -r1.3 ser-unix.h
--- ser-unix.h	19 Mar 2002 02:51:07 -0000	1.3
+++ ser-unix.h	12 Apr 2003 17:39:50 -0000
@@ -22,6 +22,9 @@
 #ifndef SER_UNIX_H
 #define SER_UNIX_H
 
+struct serial;
+struct ui_file;
+
 /* Generic UNIX/FD functions */
 
 extern int ser_unix_nop_flush_output (struct serial *scb);
Index: serial.h
===================================================================
RCS file: /cvs/src/src/gdb/serial.h,v
retrieving revision 1.7
diff -u -r1.7 serial.h
--- serial.h	4 Dec 2001 21:44:37 -0000	1.7
+++ serial.h	12 Apr 2003 17:39:50 -0000
@@ -22,6 +22,8 @@
 #ifndef SERIAL_H
 #define SERIAL_H
 
+struct ui_file;
+
 /* For most routines, if a failure is indicated, then errno should be
    examined.  */
 
Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.4
diff -u -r1.4 solib-svr4.h
--- solib-svr4.h	21 Oct 2002 18:53:38 -0000	1.4
+++ solib-svr4.h	12 Apr 2003 17:39:50 -0000
@@ -19,6 +19,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct objfile;
+
 /* Critical offsets and sizes which describe struct r_debug and
    struct link_map on SVR4-like targets.  All offsets and sizes are
    in bytes unless otherwise specified.  */
Index: source.h
===================================================================
RCS file: /cvs/src/src/gdb/source.h,v
retrieving revision 1.3
diff -u -r1.3 source.h
--- source.h	22 Sep 2002 22:18:41 -0000	1.3
+++ source.h	12 Apr 2003 17:39:50 -0000
@@ -21,6 +21,8 @@
 #ifndef SOURCE_H
 #define SOURCE_H
 
+struct symtab;
+
 /* Open a source file given a symtab S.  Returns a file descriptor or
    negative number for error.  */
 extern int open_source_file (struct symtab *s);
Index: srec.h
===================================================================
RCS file: /cvs/src/src/gdb/srec.h,v
retrieving revision 1.4
diff -u -r1.4 srec.h
--- srec.h	11 Jul 2001 17:52:32 -0000	1.4
+++ srec.h	12 Apr 2003 17:39:50 -0000
@@ -18,6 +18,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct serial;
+
 void load_srec (struct serial *desc, const char *file, bfd_vma load_offset,
 		int maxrecsize, int flags, int hashmark,
 		int (*waitack) (void));
Index: stabsread.h
===================================================================
RCS file: /cvs/src/src/gdb/stabsread.h,v
retrieving revision 1.13
diff -u -r1.13 stabsread.h
--- stabsread.h	31 Jan 2003 19:22:18 -0000	1.13
+++ stabsread.h	12 Apr 2003 17:39:50 -0000
@@ -19,6 +19,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct objfile;
+
 /* Definitions, prototypes, etc for stabs debugging format support
    functions.
 
Index: symfile.h
===================================================================
RCS file: /cvs/src/src/gdb/symfile.h,v
retrieving revision 1.19
diff -u -r1.19 symfile.h
--- symfile.h	20 Feb 2003 00:01:06 -0000	1.19
+++ symfile.h	12 Apr 2003 17:39:50 -0000
@@ -26,7 +26,7 @@
 /* This file requires that you first include "bfd.h".  */
 
 /* Opaque declarations.  */
-
+struct objfile;
 struct obstack;
 struct block;
 
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.65
diff -u -r1.65 symtab.h
--- symtab.h	3 Mar 2003 18:34:12 -0000	1.65
+++ symtab.h	12 Apr 2003 17:39:51 -0000
@@ -25,7 +25,9 @@
 #define SYMTAB_H 1
 
 /* Opaque declarations.  */
-
+struct ui_file;
+struct frame_info;
+struct symbol;
 struct obstack;
 struct objfile;
 struct block;
Index: target.h
===================================================================
RCS file: /cvs/src/src/gdb/target.h,v
retrieving revision 1.36
diff -u -r1.36 target.h
--- target.h	24 Feb 2003 21:56:50 -0000	1.36
+++ target.h	12 Apr 2003 17:39:52 -0000
@@ -23,6 +23,10 @@
 #if !defined (TARGET_H)
 #define TARGET_H
 
+struct objfile;
+struct ui_file;
+struct mem_attrib;
+
 /* This include file defines the interface between the main part
    of the debugger, and the part which is target-specific, or
    specific to the communications interface between us and the
Index: typeprint.h
===================================================================
RCS file: /cvs/src/src/gdb/typeprint.h,v
retrieving revision 1.2
diff -u -r1.2 typeprint.h
--- typeprint.h	21 Oct 2001 19:20:30 -0000	1.2
+++ typeprint.h	12 Apr 2003 17:39:52 -0000
@@ -22,6 +22,8 @@
 #ifndef TYPEPRINT_H
 #define TYPEPRINT_H
 
+struct ui_file;
+
 void print_type_scalar (struct type * type, LONGEST, struct ui_file *);
 
 void c_type_print_varspec_suffix (struct type *, struct ui_file *, int,
Index: value.h
===================================================================
RCS file: /cvs/src/src/gdb/value.h,v
retrieving revision 1.44
diff -u -r1.44 value.h
--- value.h	31 Mar 2003 04:35:24 -0000	1.44
+++ value.h	12 Apr 2003 17:39:52 -0000
@@ -23,6 +23,10 @@
 #if !defined (VALUE_H)
 #define VALUE_H 1
 
+struct ui_file;
+struct expression;
+struct symbol;
+struct type;
 struct regcache;
 struct block;
 
Index: x86-64-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/x86-64-tdep.h,v
retrieving revision 1.13
diff -u -r1.13 x86-64-tdep.h
--- x86-64-tdep.h	11 Apr 2003 18:15:39 -0000	1.13
+++ x86-64-tdep.h	12 Apr 2003 17:39:53 -0000
@@ -23,6 +23,9 @@
 #ifndef X86_64_TDEP_H
 #define X86_64_TDEP_H
 
+struct gdbarch;
+struct frame_info;
+
 #include "i386-tdep.h"
 
 extern int x86_64_num_regs;
Index: xmodem.h
===================================================================
RCS file: /cvs/src/src/gdb/xmodem.h,v
retrieving revision 1.4
diff -u -r1.4 xmodem.h
--- xmodem.h	11 Jul 2001 17:52:32 -0000	1.4
+++ xmodem.h	12 Apr 2003 17:39:53 -0000
@@ -18,6 +18,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct serial;
+
 int xmodem_init_xfer (struct serial *desc);
 void send_xmodem_packet (struct serial *desc, unsigned char *packet, int len,
 			 int hashmark);
Index: cli/cli-script.h
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-script.h,v
retrieving revision 1.4
diff -u -r1.4 cli-script.h
--- cli/cli-script.h	27 Aug 2002 19:06:36 -0000	1.4
+++ cli/cli-script.h	12 Apr 2003 17:39:53 -0000
@@ -19,6 +19,10 @@
 #if !defined (CLI_SCRIPT_H)
 #define CLI_SCRIPT_H 1
 
+struct ui_file;
+struct command_line;
+struct cmd_list_element;
+
 /* Exported to cli/cli-cmds.c */
 
 extern void script_from_file (FILE *stream, char *file);
Index: cli/cli-setshow.h
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-setshow.h,v
retrieving revision 1.3
diff -u -r1.3 cli-setshow.h
--- cli/cli-setshow.h	16 Jul 2001 14:46:34 -0000	1.3
+++ cli/cli-setshow.h	12 Apr 2003 17:39:53 -0000
@@ -19,6 +19,8 @@
 #if !defined (CLI_SETSHOW_H)
 #define CLI_SETSHOW_H 1
 
+struct cmd_list_element;
+
 /* Exported to cli/cli-cmds.c and gdb/top.c */
 
 /* Do a "set" or "show" command.  ARG is NULL if no argument, or the text
Index: config/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-linux.h,v
retrieving revision 1.13
diff -u -r1.13 nm-linux.h
--- config/nm-linux.h	26 Nov 2002 01:23:46 -0000	1.13
+++ config/nm-linux.h	12 Apr 2003 17:39:53 -0000
@@ -19,6 +19,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct target_ops;
+
 /* GNU/Linux is SVR4-ish but its /proc file system isn't.  */
 #undef USE_PROC_FS
 
Index: config/nm-lynx.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-lynx.h,v
retrieving revision 1.6
diff -u -r1.6 nm-lynx.h
--- config/nm-lynx.h	1 Feb 2003 17:28:40 -0000	1.6
+++ config/nm-lynx.h	12 Apr 2003 17:39:53 -0000
@@ -23,6 +23,8 @@
 #ifndef NM_LYNX_H
 #define NM_LYNX_H
 
+struct target_waitstatus;
+
 #include <sys/conf.h>
 #include <sys/kernel.h>
 /* sys/kernel.h should define this, but doesn't always, sigh. */
Index: config/m68k/tm-delta68.h
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/tm-delta68.h,v
retrieving revision 1.9
diff -u -r1.9 tm-delta68.h
--- config/m68k/tm-delta68.h	12 Mar 2003 16:50:46 -0000	1.9
+++ config/m68k/tm-delta68.h	12 Apr 2003 17:39:53 -0000
@@ -18,6 +18,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct frame_info;
+
 #include "regcache.h"
 
 /* Define BPT_VECTOR if it is different than the default.
Index: config/pa/tm-hppah.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppah.h,v
retrieving revision 1.6
diff -u -r1.6 tm-hppah.h
--- config/pa/tm-hppah.h	6 Apr 2003 01:13:59 -0000	1.6
+++ config/pa/tm-hppah.h	12 Apr 2003 17:39:53 -0000
@@ -21,6 +21,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct frame_info;
+
 /* The solib hooks are not really designed to have a list of hook
    and handler routines.  So until we clean up those interfaces you
    either get SOM shared libraries or HP's unusual PA64 ELF shared
Index: config/rs6000/tm-rs6000.h
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/tm-rs6000.h,v
retrieving revision 1.24
diff -u -r1.24 tm-rs6000.h
--- config/rs6000/tm-rs6000.h	11 Apr 2003 18:15:40 -0000	1.24
+++ config/rs6000/tm-rs6000.h	12 Apr 2003 17:39:53 -0000
@@ -21,6 +21,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct frame_info;
+
 #define GDB_MULTI_ARCH 1
 
 /* Minimum possible text address in AIX */
Index: config/sparc/tm-sp64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sp64.h,v
retrieving revision 1.18
diff -u -r1.18 tm-sp64.h
--- config/sparc/tm-sp64.h	1 Apr 2003 23:51:17 -0000	1.18
+++ config/sparc/tm-sp64.h	12 Apr 2003 17:39:53 -0000
@@ -23,6 +23,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+struct type;
+
 #define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL
 
 #ifndef GDB_TARGET_IS_SPARC64

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]