[RFA]: Repost of grep ^func patch
Don Howard
dhoward@cygnus.com
Fri Jan 26 12:06:00 GMT 2001
Thanks for all the input folks. Please review the following and let me
know if/what more I need to do.
I also updated the copyright year where appropriate. That is the reason
for the reformatted comments.
--
-Don
dhoward@cygnus.com
2001-01-25 Don Howard <dhoward@redhat.com>
* ch-lang.h: Whitespace fixes so that function names appear at the
very start of a line. This is so that ``grep ^func'' works.
Updated copyright year as necessary.
* config/alpha/tm-alpha.h: Likewise
* config/pa/tm-hppa.h: Likewise
* config/sparc/tm-sp64.h: Likewise
* config/sparc/tm-sparc.h: Likewise
* dwarfread.c: Likewise
* gdbtypes.h: Likewise
* go32-nat.c: Likewise
* i386v-nat.c: Likewise
* language.h: Likewise
* m68k-stub.c: Likewise
* mdebugread.c: Likewise
* minsyms.c: Likewise
* mips-tdep.c: Likewise
* monitor.h: Likewise
* parse.c: Likewise
* proc-utils.h: Likewise
* rs6000-nat.c: Likewise
* sh-stub.c: Likewise
* somread.c: Likewise
* somsolib.h: Likewise
* stabsread.c: Likewise
* symfile.h: Likewise
* symtab.h: Likewise
* target.c: Likewise
* target.h: Likewise
* value.h: Likewise
* xcoffread.c: Likewise
Index: ch-lang.h
===================================================================
RCS file: /cvs/src/src/gdb/ch-lang.h,v
retrieving revision 1.2
diff -p -u -w -r1.2 ch-lang.h
--- ch-lang.h 2000/05/28 01:12:26 1.2
+++ ch-lang.h 2001/01/26 19:44:06
@@ -1,5 +1,5 @@
/* Chill language support definitions for GDB, the GNU debugger.
- Copyright 1992, 2000 Free Software Foundation, Inc.
+ Copyright 1992, 2000, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -36,5 +36,5 @@ extern int chill_val_print (struct type
extern int chill_value_print (struct value *, struct ui_file *,
int, enum val_prettyprint);
-extern LONGEST
-type_lower_upper (enum exp_opcode, struct type *, struct type **);
+extern LONGEST type_lower_upper (enum exp_opcode, struct type *,
+ struct type **);
Index: dwarfread.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarfread.c,v
retrieving revision 1.6
diff -p -u -w -r1.6 dwarfread.c
--- dwarfread.c 2001/01/19 14:53:44 1.6
+++ dwarfread.c 2001/01/26 19:44:21
@@ -1,5 +1,5 @@
/* DWARF debugging format support for GDB.
- Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1998
+ Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2001
Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support. Portions based on dbxread.c,
mipsread.c, coffread.c, and dwarfread.c from a Data General SVR4 gdb port.
@@ -455,19 +455,19 @@ static void add_enum_psymbol (struct die
static void handle_producer (char *);
-static void
-read_file_scope (struct dieinfo *, char *, char *, struct objfile *);
+static void read_file_scope (struct dieinfo *, char *, char *,
+ struct objfile *);
-static void
-read_func_scope (struct dieinfo *, char *, char *, struct objfile *);
+static void read_func_scope (struct dieinfo *, char *, char *,
+ struct objfile *);
-static void
-read_lexical_block_scope (struct dieinfo *, char *, char *, struct objfile *);
+static void read_lexical_block_scope (struct dieinfo *, char *, char *,
+ struct objfile *);
static void scan_partial_symbols (char *, char *, struct objfile *);
-static void
-scan_compilation_units (char *, char *, file_ptr, file_ptr, struct objfile *);
+static void scan_compilation_units (char *, char *, file_ptr, file_ptr,
+ struct objfile *);
static void add_partial_symbol (struct dieinfo *, struct objfile *);
@@ -483,8 +483,8 @@ static void read_ofile_symtab (struct pa
static void process_dies (char *, char *, struct objfile *);
-static void
-read_structure_scope (struct dieinfo *, char *, char *, struct objfile *);
+static void read_structure_scope (struct dieinfo *, char *, char *,
+ struct objfile *);
static struct type *decode_array_element_type (char *);
@@ -498,8 +498,8 @@ static void read_tag_string_type (struct
static void read_subroutine_type (struct dieinfo *, char *, char *);
-static void
-read_enumeration (struct dieinfo *, char *, char *, struct objfile *);
+static void read_enumeration (struct dieinfo *, char *, char *,
+ struct objfile *);
static struct type *struct_type (struct dieinfo *, char *, char *,
struct objfile *);
@@ -526,8 +526,8 @@ static struct type *alloc_utype (DIE_REF
static struct symbol *new_symbol (struct dieinfo *, struct objfile *);
-static void
-synthesize_typedef (struct dieinfo *, struct objfile *, struct type *);
+static void synthesize_typedef (struct dieinfo *, struct objfile *,
+ struct type *);
static int locval (struct dieinfo *);
Index: gdbtypes.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbtypes.h,v
retrieving revision 1.6
diff -p -u -w -r1.6 gdbtypes.h
--- gdbtypes.h 2000/09/02 00:05:43 1.6
+++ gdbtypes.h 2001/01/26 19:44:38
@@ -1,6 +1,7 @@
/* Internal type definitions for GDB.
- Copyright (C) 1992-1994, 1996, 1998-2000 Free Software Foundation, Inc.
- Contributed by Cygnus Support, using pieces from other GDB modules.
+ Copyright (C) 1992-1994, 1996, 1998, 1999, 2000 Free Software
+ Foundation, Inc. Contributed by Cygnus Support, using pieces from
+ other GDB modules.
This file is part of GDB.
@@ -958,12 +959,10 @@ extern struct type *make_cv_type (int, i
extern struct type *lookup_member_type (struct type *, struct type *);
-extern void
-smash_to_method_type (struct type *, struct type *, struct type *,
+extern void smash_to_method_type (struct type *, struct type *, struct type *,
struct type **);
-extern void
-smash_to_member_type (struct type *, struct type *, struct type *);
+extern void smash_to_member_type (struct type *, struct type *, struct type *);
extern struct type *allocate_stub_method (struct type *);
Index: go32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/go32-nat.c,v
retrieving revision 1.6
diff -p -u -w -r1.6 go32-nat.c
--- go32-nat.c 2000/08/06 07:19:38 1.6
+++ go32-nat.c 2001/01/26 19:45:03
@@ -1,6 +1,6 @@
/* Native debugging support for Intel x86 running DJGPP.
- Copyright 1997, 1999 Free Software Foundation, Inc.
- Written by Robert Hoehne.
+ Copyright 1997, 1999, 2001 Free Software Foundation, Inc. Written
+ by Robert Hoehne.
This file is part of GDB.
@@ -118,20 +118,35 @@ typedef struct {
int redirected;
} cmdline_t;
-void redir_cmdline_delete (cmdline_t *ptr) {ptr->redirected = 0;}
-int redir_cmdline_parse (const char *args, cmdline_t *ptr)
+void
+redir_cmdline_delete (cmdline_t *ptr)
{
+ ptr->redirected = 0;
+}
+
+int
+redir_cmdline_parse (const char *args, cmdline_t *ptr)
+{
return -1;
}
-int redir_to_child (cmdline_t *ptr)
+
+int
+redir_to_child (cmdline_t *ptr)
{
return 1;
}
-int redir_to_debugger (cmdline_t *ptr)
+
+int
+redir_to_debugger (cmdline_t *ptr)
{
return 1;
+}
+
+int
+redir_debug_init (cmdline_t *ptr)
+{
+ return 0;
}
-int redir_debug_init (cmdline_t *ptr) { return 0; }
#endif /* __DJGPP_MINOR < 3 */
extern void _initialize_go32_nat (void);
Index: i386v-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386v-nat.c,v
retrieving revision 1.7
diff -p -u -w -r1.7 i386v-nat.c
--- i386v-nat.c 2000/07/30 01:48:25 1.7
+++ i386v-nat.c 2001/01/26 19:45:36
@@ -1,5 +1,6 @@
-/* Intel 386 native support for SYSV systems (pre-SVR4).
- Copyright (C) 1988, 89, 91, 92, 94, 96, 1998 Free Software Foundation, Inc.
+/* Intel 386 native support for SYSV systems (pre-SVR4). Copyright
+ (C) 1988, 89, 91, 92, 94, 96, 1998, 2001 Free Software Foundation,
+ Inc.
This file is part of GDB.
@@ -131,11 +132,11 @@ static int debug_control_mirror;
/* Record which address associates with which register. */
static CORE_ADDR address_lookup[DR_LASTADDR - DR_FIRSTADDR + 1];
-static int
-i386_insert_aligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int, int);
+static int i386_insert_aligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int,
+ int);
-static int
-i386_insert_nonaligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int, int);
+static int i386_insert_nonaligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int,
+ int);
/* Insert a watchpoint. */
Index: language.c
===================================================================
RCS file: /cvs/src/src/gdb/language.c,v
retrieving revision 1.11
diff -p -u -w -r1.11 language.c
--- language.c 2000/12/15 01:01:47 1.11
+++ language.c 2001/01/26 19:46:13
@@ -1,7 +1,7 @@
/* Multiple source language support for GDB.
- Copyright 1991, 1992, 2000 Free Software Foundation, Inc.
- Contributed by the Department of Computer Science at the State University
- of New York at Buffalo.
+ Copyright 1991, 1992, 2000, 2001 Free Software Foundation, Inc.
+ Contributed by the Department of Computer Science at the State
+ University of New York at Buffalo.
This file is part of GDB.
Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.7
diff -p -u -w -r1.7 language.h
--- language.h 2000/10/27 15:02:42 1.7
+++ language.h 2001/01/26 19:46:14
@@ -1,7 +1,7 @@
/* Source-language-related definitions for GDB.
- Copyright 1991, 1992, 2000 Free Software Foundation, Inc.
- Contributed by the Department of Computer Science at the State University
- of New York at Buffalo.
+ Copyright 1991, 1992, 2000, 2001 Free Software Foundation, Inc.
+ Contributed by the Department of Computer Science at the State
+ University of New York at Buffalo.
This file is part of GDB.
@@ -441,9 +441,7 @@ extern void op_error (char *fmt, enum ex
extern void type_error (char *, ...) ATTR_FORMAT (printf, 1, 2);
-void
-range_error (char *, ...)
-ATTR_FORMAT (printf, 1, 2);
+void range_error (char *, ...) ATTR_FORMAT (printf, 1, 2);
/* Data: Does this value represent "truth" to the current language? */
Index: m68k-stub.c
===================================================================
RCS file: /cvs/src/src/gdb/m68k-stub.c,v
retrieving revision 1.3
diff -p -u -w -r1.3 m68k-stub.c
--- m68k-stub.c 2001/01/23 19:45:08 1.3
+++ m68k-stub.c 2001/01/26 19:46:43
@@ -125,8 +125,7 @@ extern ExceptionHook exceptionHook; /*
/************************/
/* FORWARD DECLARATIONS */
/************************/
-static void
-initializeRemcomErrorFrame ();
+static void initializeRemcomErrorFrame ();
/************************************************************************/
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
Index: mdebugread.c
===================================================================
RCS file: /cvs/src/src/gdb/mdebugread.c,v
retrieving revision 1.9
diff -p -u -w -r1.9 mdebugread.c
--- mdebugread.c 2000/12/15 01:01:48 1.9
+++ mdebugread.c 2001/01/26 19:46:56
@@ -1,9 +1,9 @@
/* Read a symbol table in ECOFF format (Third-Eye).
- Copyright 1986, 87, 89, 90, 91, 92, 93, 94, 95, 96, 97, 1998
- Free Software Foundation, Inc.
- Original version contributed by Alessandro Forin (af@cs.cmu.edu) at
- CMU. Major work by Per Bothner, John Gilmore and Ian Lance Taylor
- at Cygnus Support.
+ Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
+ 1996, 1997, 1998, 2001 Free Software Foundation, Inc. Original
+ version contributed by Alessandro Forin (af@cs.cmu.edu) at CMU.
+ Major work by Per Bothner, John Gilmore and Ian Lance Taylor at
+ Cygnus Support.
This file is part of GDB.
@@ -338,8 +338,8 @@ static char *fdr_name (FDR *);
static void mdebug_psymtab_to_symtab (struct partial_symtab *);
-static int
-upgrade_type (int, struct type **, int, union aux_ext *, int, char *);
+static int upgrade_type (int, struct type **, int, union aux_ext *, int,
+ char *);
static void parse_partial_symbols (struct objfile *);
@@ -347,8 +347,7 @@ static FDR * get_rfd (int, int);
static int has_opaque_xref (FDR *, SYMR *);
-static int
-cross_ref (int, union aux_ext *, struct type **, enum type_code,
+static int cross_ref (int, union aux_ext *, struct type **, enum type_code,
char **, int, char *);
static struct symbol *new_symbol (char *);
@@ -363,9 +362,8 @@ static struct linetable *new_linetable (
static struct blockvector *new_bvect (int);
-static int
-parse_symbol (SYMR *, union aux_ext *, char *, int, struct section_offsets *,
- struct objfile *);
+static int parse_symbol (SYMR *, union aux_ext *, char *, int,
+ struct section_offsets *, struct objfile *);
static struct type *parse_type (int, union aux_ext *, unsigned int, int *,
int, char *);
@@ -393,8 +391,8 @@ static int add_line (struct linetable *,
static struct linetable *shrink_linetable (struct linetable *);
-static void
-handle_psymbol_enumerators (struct objfile *, FDR *, int, CORE_ADDR);
+static void handle_psymbol_enumerators (struct objfile *, FDR *, int,
+ CORE_ADDR);
static char *mdebug_next_symbol_text (struct objfile *);
Index: minsyms.c
===================================================================
RCS file: /cvs/src/src/gdb/minsyms.c,v
retrieving revision 1.12
diff -p -u -w -r1.12 minsyms.c
--- minsyms.c 2000/12/15 01:01:48 1.12
+++ minsyms.c 2001/01/26 19:46:58
@@ -1,6 +1,7 @@
/* GDB routines for manipulating the minimal symbol tables.
- Copyright 1992, 93, 94, 96, 97, 1998 Free Software Foundation, Inc.
- Contributed by Cygnus Support, using pieces from other GDB modules.
+ Copyright 1992, 1993, 1994, 1996, 1997, 1998, 2001 Free Software
+ Foundation, Inc. Contributed by Cygnus Support, using pieces from
+ other GDB modules.
This file is part of GDB.
@@ -77,8 +78,8 @@ static int msym_count;
static int compare_minimal_symbols (const void *, const void *);
-static int
-compact_minimal_symbols (struct minimal_symbol *, int, struct objfile *);
+static int compact_minimal_symbols (struct minimal_symbol *, int,
+ struct objfile *);
static void add_minsym_to_demangled_hash_table (struct minimal_symbol *sym,
struct minimal_symbol **table);
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.38
diff -p -u -w -r1.38 mips-tdep.c
--- mips-tdep.c 2001/01/04 23:22:45 1.38
+++ mips-tdep.c 2001/01/26 19:47:05
@@ -1,7 +1,7 @@
/* Target-dependent code for the MIPS architecture, for GDB, the GNU Debugger.
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, Free Software Foundation, Inc.
+ 1997, 1998, 1999, 2000, 2001, Free Software Foundation, Inc.
Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU
and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin.
@@ -250,8 +250,8 @@ static void mips_show_processor_type_com
static void reinit_frame_cache_sfunc (char *, int, struct cmd_list_element *);
-static mips_extra_func_info_t
-find_proc_desc (CORE_ADDR pc, struct frame_info *next_frame);
+static mips_extra_func_info_t find_proc_desc (CORE_ADDR pc,
+ struct frame_info *next_frame);
static CORE_ADDR after_prologue (CORE_ADDR pc,
mips_extra_func_info_t proc_desc);
Index: monitor.h
===================================================================
RCS file: /cvs/src/src/gdb/monitor.h,v
retrieving revision 1.5
diff -p -u -w -r1.5 monitor.h
--- monitor.h 2000/11/03 22:00:56 1.5
+++ monitor.h 2001/01/26 19:47:13
@@ -1,6 +1,7 @@
/* Definitions for remote debugging interface for ROM monitors.
- Copyright 1990, 1991, 1992, 1996 Free Software Foundation, Inc.
- Contributed by Cygnus Support. Written by Rob Savoye for Cygnus.
+ Copyright 1990, 1991, 1992, 1996, 20001 Free Software Foundation,
+ Inc. Contributed by Cygnus Support. Written by Rob Savoye for
+ Cygnus.
This file is part of GDB.
@@ -17,8 +18,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
- */
+ Boston, MA 02111-1307, USA. */
#include "serial.h"
@@ -238,9 +238,7 @@ extern char *monitor_supply_register (in
extern int monitor_expect (char *prompt, char *buf, int buflen);
extern int monitor_expect_prompt (char *buf, int buflen);
extern void monitor_printf (char *, ...) ATTR_FORMAT (printf, 1, 2);
-extern void
-monitor_printf_noecho (char *, ...)
-ATTR_FORMAT (printf, 1, 2);
+extern void monitor_printf_noecho (char *, ...) ATTR_FORMAT (printf, 1, 2);
extern void monitor_write (char *buf, int buflen);
extern int monitor_readchar (void);
extern char *monitor_get_dev_name (void);
Index: parse.c
===================================================================
RCS file: /cvs/src/src/gdb/parse.c,v
retrieving revision 1.11
diff -p -u -w -r1.11 parse.c
--- parse.c 2000/12/15 01:01:48 1.11
+++ parse.c 2001/01/26 19:47:30
@@ -1,7 +1,8 @@
/* Parse expressions for GDB.
- Copyright (C) 1986, 89, 90, 91, 94, 98, 1999 Free Software Foundation, Inc.
- Modified from expread.y by the Department of Computer Science at the
- State University of New York at Buffalo, 1991.
+ Copyright (C) 1986, 1989, 1990, 1991, 1994, 1998, 1999, 2001 Free
+ Software Foundation, Inc. Modified from expread.y by the
+ Department of Computer Science at the State University of New York
+ at Buffalo, 1991.
This file is part of GDB.
@@ -85,8 +86,8 @@ static void free_funcalls (void *ignore)
static void prefixify_expression (struct expression *);
-static void
-prefixify_subexp (struct expression *, struct expression *, int, int);
+static void prefixify_subexp (struct expression *, struct expression *, int,
+ int);
void _initialize_parse (void);
Index: proc-utils.h
===================================================================
RCS file: /cvs/src/src/gdb/proc-utils.h,v
retrieving revision 1.3
diff -p -u -w -r1.3 proc-utils.h
--- proc-utils.h 2000/05/07 23:09:45 1.3
+++ proc-utils.h 2001/01/26 19:47:54
@@ -1,5 +1,5 @@
/* Machine independent support for SVR4 /proc (process file system) for GDB.
- Copyright 1999 Free Software Foundation, Inc.
+ Copyright 1999, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -22,44 +22,37 @@ Inc., 59 Temple Place - Suite 330, Bosto
* Pretty-print functions for /proc data
*/
-extern void
-proc_prettyprint_why (unsigned long why, unsigned long what, int verbose);
+extern void proc_prettyprint_why (unsigned long why, unsigned long what,
+ int verbose);
-extern void
-proc_prettyprint_syscalls (sysset_t *sysset, int verbose);
+extern void proc_prettyprint_syscalls (sysset_t *sysset, int verbose);
-extern void
-proc_prettyprint_syscall (int num, int verbose);
+extern void proc_prettyprint_syscall (int num, int verbose);
extern void proc_prettyprint_flags (unsigned long flags, int verbose);
-extern void
-proc_prettyfprint_signalset (FILE *file, sigset_t *sigset, int verbose);
+extern void proc_prettyfprint_signalset (FILE *file, sigset_t *sigset,
+ int verbose);
-extern void
-proc_prettyfprint_faultset (FILE *file, fltset_t *fltset, int verbose);
+extern void proc_prettyfprint_faultset (FILE *file, fltset_t *fltset,
+ int verbose);
-extern void
-proc_prettyfprint_syscall (FILE *file, int num, int verbose);
+extern void proc_prettyfprint_syscall (FILE *file, int num, int verbose);
-extern void
-proc_prettyfprint_signal (FILE *file, int signo, int verbose);
+extern void proc_prettyfprint_signal (FILE *file, int signo, int verbose);
-extern void
-proc_prettyfprint_flags (FILE *file, unsigned long flags, int verbose);
+extern void proc_prettyfprint_flags (FILE *file, unsigned long flags,
+ int verbose);
-extern void
-proc_prettyfprint_why (FILE *file, unsigned long why,
+extern void proc_prettyfprint_why (FILE *file, unsigned long why,
unsigned long what, int verbose);
-extern void
-proc_prettyfprint_fault (FILE *file, int faultno, int verbose);
+extern void proc_prettyfprint_fault (FILE *file, int faultno, int verbose);
-extern void
-proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset, int verbose);
+extern void proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset,
+ int verbose);
-extern void
-proc_prettyfprint_status (long, int, int, int);
+extern void proc_prettyfprint_status (long, int, int, int);
/*
* Trace functions for /proc api.
Index: rs6000-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-nat.c,v
retrieving revision 1.12
diff -p -u -w -r1.12 rs6000-nat.c
--- rs6000-nat.c 2000/12/15 01:01:49 1.12
+++ rs6000-nat.c 2001/01/26 19:48:55
@@ -1,6 +1,6 @@
/* IBM RS/6000 native-dependent code for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1995, 1996, 1997, 1998
- Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1995, 1996, 1997,
+ 1998, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -138,8 +138,7 @@ static void fetch_core_registers (char *
static void exec_one_dummy_insn (void);
-extern void
-fixup_breakpoints (CORE_ADDR low, CORE_ADDR high, CORE_ADDR delta);
+extern void fixup_breakpoints (CORE_ADDR low, CORE_ADDR high, CORE_ADDR delta);
/* Conversion from gdb-to-system special purpose register numbers. */
Index: sh-stub.c
===================================================================
RCS file: /cvs/src/src/gdb/sh-stub.c,v
retrieving revision 1.2
diff -p -u -w -r1.2 sh-stub.c
--- sh-stub.c 2000/07/30 01:48:27 1.2
+++ sh-stub.c 2001/01/26 19:49:06
@@ -790,7 +790,8 @@ gdb_handle_exception (int exceptionVecto
static int ingdbmode;
/* We've had an exception - choose to go into the monitor or
the gdb stub */
-void handle_exception(int exceptionVector)
+void
+handle_exception(int exceptionVector)
{
#ifdef MONITOR
if (ingdbmode != GDBCOOKIE)
@@ -1148,7 +1149,8 @@ INIT (void)
}
-static void sr()
+static void
+sr()
{
@@ -1217,7 +1219,8 @@ L_hdl_except:
}
-static void rr()
+static void
+rr()
{
asm("
.align 2
@@ -1264,7 +1267,8 @@ restoreRegisters:
}
-static __inline__ void code_for_catch_exception(int n)
+static __inline__ void
+code_for_catch_exception(int n)
{
asm(" .globl _catch_exception_%O0" : : "i" (n) );
asm(" _catch_exception_%O0:" :: "i" (n) );
Index: somread.c
===================================================================
RCS file: /cvs/src/src/gdb/somread.c,v
retrieving revision 1.9
diff -p -u -w -r1.9 somread.c
--- somread.c 2000/12/15 01:01:49 1.9
+++ somread.c 2001/01/26 19:49:20
@@ -1,6 +1,6 @@
/* Read HP PA/Risc object files for GDB.
- Copyright 1991, 1992, 1996, 1999 Free Software Foundation, Inc.
- Written by Fred Fish at Cygnus Support.
+ Copyright 1991, 1992, 1996, 1999, 2001 Free Software Foundation,
+ Inc. Written by Fred Fish at Cygnus Support.
This file is part of GDB.
@@ -44,11 +44,11 @@ static void som_symfile_read (struct obj
static void som_symfile_finish (struct objfile *);
-static void
-som_symtab_read (bfd *, struct objfile *, struct section_offsets *);
+static void som_symtab_read (bfd *, struct objfile *,
+ struct section_offsets *);
-static void
-som_symfile_offsets (struct objfile *, struct section_addr_info *);
+static void som_symfile_offsets (struct objfile *,
+ struct section_addr_info *);
/* FIXME: These should really be in a common header somewhere */
Index: somsolib.h
===================================================================
RCS file: /cvs/src/src/gdb/somsolib.h,v
retrieving revision 1.2
diff -p -u -w -r1.2 somsolib.h
--- somsolib.h 2000/05/28 01:12:29 1.2
+++ somsolib.h 2001/01/26 19:49:24
@@ -1,5 +1,5 @@
/* HP SOM Shared library declarations for GDB, the GNU Debugger.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -35,8 +35,8 @@ extern void som_solib_add (char *, int,
extern CORE_ADDR som_solib_get_got_by_pc (CORE_ADDR);
-extern int
-som_solib_section_offsets (struct objfile *, struct section_offsets *);
+extern int som_solib_section_offsets (struct objfile *,
+ struct section_offsets *);
/* Function to be called when the inferior starts up, to discover the names
of shared libraries that are dynamically linked, the base addresses to
Index: stabsread.c
===================================================================
RCS file: /cvs/src/src/gdb/stabsread.c,v
retrieving revision 1.10
diff -p -u -w -r1.10 stabsread.c
--- stabsread.c 2000/12/15 01:01:49 1.10
+++ stabsread.c 2001/01/26 19:49:34
@@ -1,6 +1,6 @@
/* Support routines for decoding "stabs" debugging information format.
- Copyright 1986, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 1998
- Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
+ 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -81,8 +81,7 @@ struct field_info
*fnlist;
};
-static void
-read_one_struct_field (struct field_info *, char **, char *,
+static void read_one_struct_field (struct field_info *, char **, char *,
struct type *, struct objfile *);
static char *get_substring (char **, int);
@@ -93,8 +92,7 @@ static long read_huge_number (char **, i
static struct type *error_type (char **, struct objfile *);
-static void
-patch_block_stabs (struct pending *, struct pending_stabs *,
+static void patch_block_stabs (struct pending *, struct pending_stabs *,
struct objfile *);
static void fix_common_block (struct symbol *, int);
@@ -112,26 +110,22 @@ static struct type *read_enum_type (char
static struct type *rs6000_builtin_type (int);
-static int
-read_member_functions (struct field_info *, char **, struct type *,
+static int read_member_functions (struct field_info *, char **, struct type *,
struct objfile *);
-static int
-read_struct_fields (struct field_info *, char **, struct type *,
+static int read_struct_fields (struct field_info *, char **, struct type *,
struct objfile *);
-static int
-read_baseclasses (struct field_info *, char **, struct type *,
+static int read_baseclasses (struct field_info *, char **, struct type *,
struct objfile *);
-static int
-read_tilde_fields (struct field_info *, char **, struct type *,
+static int read_tilde_fields (struct field_info *, char **, struct type *,
struct objfile *);
static int attach_fn_fields_to_type (struct field_info *, struct type *);
-static int
-attach_fields_to_type (struct field_info *, struct type *, struct objfile *);
+static int attach_fields_to_type (struct field_info *, struct type *,
+ struct objfile *);
static struct type *read_struct_type (char **, struct type *,
struct objfile *);
@@ -141,33 +135,29 @@ static struct type *read_array_type (cha
static struct type **read_args (char **, int, struct objfile *);
-static int
-read_cpp_abbrev (struct field_info *, char **, struct type *,
+static int read_cpp_abbrev (struct field_info *, char **, struct type *,
struct objfile *);
/* new functions added for cfront support */
-static int
-copy_cfront_struct_fields (struct field_info *, struct type *,
+static int copy_cfront_struct_fields (struct field_info *, struct type *,
struct objfile *);
static char *get_cfront_method_physname (char *);
-static int
-read_cfront_baseclasses (struct field_info *, char **,
+static int read_cfront_baseclasses (struct field_info *, char **,
struct type *, struct objfile *);
-static int
-read_cfront_static_fields (struct field_info *, char **,
+static int read_cfront_static_fields (struct field_info *, char **,
struct type *, struct objfile *);
-static int
-read_cfront_member_functions (struct field_info *, char **,
+
+static int read_cfront_member_functions (struct field_info *, char **,
struct type *, struct objfile *);
/* end new functions added for cfront support */
-static void
-add_live_range (struct objfile *, struct symbol *, CORE_ADDR, CORE_ADDR);
+static void add_live_range (struct objfile *, struct symbol *, CORE_ADDR,
+ CORE_ADDR);
static int resolve_live_range (struct objfile *, struct symbol *, char *);
@@ -175,8 +165,8 @@ static int process_reference (char **str
static CORE_ADDR ref_search_value (int refnum);
-static int
-resolve_symbol_reference (struct objfile *, struct symbol *, char *);
+static int resolve_symbol_reference (struct objfile *, struct symbol *,
+ char *);
void stabsread_clear_cache (void);
Index: symfile.h
===================================================================
RCS file: /cvs/src/src/gdb/symfile.h,v
retrieving revision 1.7
diff -p -u -w -r1.7 symfile.h
--- symfile.h 2000/12/05 18:28:25 1.7
+++ symfile.h 2001/01/26 19:49:39
@@ -1,5 +1,5 @@
/* Definitions for reading symbol files into GDB.
- Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 2000
+ Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 2000, 2001
Free Software Foundation, Inc.
This file is part of GDB.
@@ -131,29 +131,28 @@ struct sym_fns
/* The default version of sym_fns.sym_offsets for readers that don't
do anything special. */
-extern void
-default_symfile_offsets (struct objfile *objfile, struct section_addr_info *);
+extern void default_symfile_offsets (struct objfile *objfile,
+ struct section_addr_info *);
-extern void
-extend_psymbol_list (struct psymbol_allocation_list *, struct objfile *);
+extern void extend_psymbol_list (struct psymbol_allocation_list *,
+ struct objfile *);
/* Add any kind of symbol to a psymbol_allocation_list. */
/* #include "demangle.h" */
-extern void
-add_psymbol_to_list (char *, int, namespace_enum, enum address_class,
- struct psymbol_allocation_list *, long, CORE_ADDR,
- enum language, struct objfile *);
+extern void add_psymbol_to_list (char *, int, namespace_enum,
+ enum address_class,
+ struct psymbol_allocation_list *, long,
+ CORE_ADDR, enum language, struct objfile *);
-extern void
-add_psymbol_with_dem_name_to_list (char *, int, char *, int, namespace_enum,
+extern void add_psymbol_with_dem_name_to_list (char *, int, char *, int,
+ namespace_enum,
enum address_class,
struct psymbol_allocation_list *,
- long, CORE_ADDR,
- enum language, struct objfile *);
-
+ long, CORE_ADDR, enum language,
+ struct objfile *);
extern void init_psymbol_list (struct objfile *, int);
@@ -169,8 +168,8 @@ extern void add_symtab_fns (struct sym_f
extern void init_entry_point_info (struct objfile *);
-extern void
-syms_from_objfile (struct objfile *, struct section_addr_info *, int, int);
+extern void syms_from_objfile (struct objfile *, struct section_addr_info *,
+ int, int);
extern void new_symfile_objfile (struct objfile *, int, int);
@@ -187,8 +186,7 @@ build_section_addr_info_from_section_tab
/* Free all memory allocated by build_section_addr_info_from_section_table. */
-extern void
-free_section_addr_info (struct section_addr_info *);
+extern void free_section_addr_info (struct section_addr_info *);
extern struct partial_symtab *start_psymtab_common (struct objfile *,
@@ -275,9 +273,8 @@ extern CORE_ADDR symbol_overlayed_addres
/* From dwarfread.c */
-extern void
-dwarf_build_psymtabs (struct objfile *, int, file_ptr, unsigned int,
- file_ptr, unsigned int);
+extern void dwarf_build_psymtabs (struct objfile *, int, file_ptr,
+ unsigned int, file_ptr, unsigned int);
/* From dwarf2read.c */
@@ -293,13 +290,13 @@ struct ecoff_debug_hack
struct ecoff_debug_swap *a;
struct ecoff_debug_info *b;
};
-extern void
-mdebug_build_psymtabs (struct objfile *,
+
+extern void mdebug_build_psymtabs (struct objfile *,
const struct ecoff_debug_swap *,
struct ecoff_debug_info *);
-extern void
-elfmdebug_build_psymtabs (struct objfile *,
- const struct ecoff_debug_swap *, asection *);
+extern void elfmdebug_build_psymtabs (struct objfile *,
+ const struct ecoff_debug_swap *,
+ asection *);
#endif /* !defined(SYMFILE_H) */
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.16
diff -p -u -w -r1.16 symtab.h
--- symtab.h 2000/11/10 23:02:56 1.16
+++ symtab.h 2001/01/26 19:49:47
@@ -1,6 +1,6 @@
/* Symbol table definitions for GDB.
- Copyright 1986, 89, 91, 92, 93, 94, 95, 96, 1998
- Free Software Foundation, Inc.
+ Copyright 1986, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
+ 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -1131,13 +1131,12 @@ extern struct symbol *find_pc_sect_funct
/* lookup function from address, return name, start addr and end addr */
-extern int
-find_pc_partial_function (CORE_ADDR, char **, CORE_ADDR *, CORE_ADDR *);
+extern int find_pc_partial_function (CORE_ADDR, char **, CORE_ADDR *,
+ CORE_ADDR *);
extern void clear_pc_function_cache (void);
-extern int
-find_pc_sect_partial_function (CORE_ADDR, asection *,
+extern int find_pc_sect_partial_function (CORE_ADDR, asection *,
char **, CORE_ADDR *, CORE_ADDR *);
/* from symtab.c: */
@@ -1211,8 +1210,7 @@ extern unsigned int msymbol_hash_iw (con
extern unsigned int msymbol_hash (const char *);
-extern void
-add_minsym_to_hash_table (struct minimal_symbol *sym,
+extern void add_minsym_to_hash_table (struct minimal_symbol *sym,
struct minimal_symbol **table);
extern struct minimal_symbol *lookup_minimal_symbol (const char *,
@@ -1231,11 +1229,9 @@ struct minimal_symbol *lookup_minimal_sy
extern struct minimal_symbol *lookup_minimal_symbol_by_pc (CORE_ADDR);
extern struct minimal_symbol *lookup_minimal_symbol_by_pc_section (CORE_ADDR,
- asection
- *);
+ asection *);
-extern struct minimal_symbol
- *lookup_solib_trampoline_symbol_by_pc (CORE_ADDR);
+extern struct minimal_symbol *lookup_solib_trampoline_symbol_by_pc (CORE_ADDR);
extern CORE_ADDR find_solib_trampoline_target (CORE_ADDR);
@@ -1333,8 +1329,8 @@ extern struct symbol *find_addr_symbol (
extern int find_line_pc (struct symtab *, int, CORE_ADDR *);
-extern int
-find_line_pc_range (struct symtab_and_line, CORE_ADDR *, CORE_ADDR *);
+extern int find_line_pc_range (struct symtab_and_line, CORE_ADDR *,
+ CORE_ADDR *);
extern void resolve_sal_pc (struct symtab_and_line *);
@@ -1347,8 +1343,8 @@ extern struct symtabs_and_lines decode_l
/* From linespec.c */
-extern struct symtabs_and_lines decode_line_1 (char **,
- int, struct symtab *, int, char ***);
+extern struct symtabs_and_lines decode_line_1 (char **, int, struct symtab *,
+ int, char ***);
/* Symmisc.c */
@@ -1394,7 +1390,8 @@ extern struct partial_symtab *find_main_
extern struct symtab *find_line_symtab (struct symtab *, int, int *, int *);
-extern struct symtab_and_line find_function_start_sal (struct symbol *sym, int);
+extern struct symtab_and_line find_function_start_sal (struct symbol *sym,
+ int);
/* blockframe.c */
@@ -1448,6 +1445,7 @@ struct symbol_search
extern void search_symbols (char *, namespace_enum, int, char **,
struct symbol_search **);
extern void free_search_symbols (struct symbol_search *);
-extern struct cleanup *make_cleanup_free_search_symbols (struct symbol_search *);
+extern struct cleanup *make_cleanup_free_search_symbols (struct symbol_search
+ *);
#endif /* !defined(SYMTAB_H) */
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.19
diff -p -u -w -r1.19 target.c
--- target.c 2001/01/26 02:30:15 1.19
+++ target.c 2001/01/26 19:49:49
@@ -78,8 +78,8 @@ static void normal_target_post_startup_i
partial transfers, try either target_read_memory_partial or
target_write_memory_partial). */
-static int
-target_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write);
+static int target_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
+ int write);
static void init_dummy_target (void);
@@ -101,9 +101,8 @@ static void debug_to_store_registers (in
static void debug_to_prepare_to_store (void);
-static int
-debug_to_xfer_memory (CORE_ADDR, char *, int, int, struct mem_attrib *,
- struct target_ops *);
+static int debug_to_xfer_memory (CORE_ADDR, char *, int, int,
+ struct mem_attrib *, struct target_ops *);
static void debug_to_files_info (struct target_ops *);
Index: target.h
===================================================================
RCS file: /cvs/src/src/gdb/target.h,v
retrieving revision 1.11
diff -p -u -w -r1.11 target.h
--- target.h 2001/01/23 22:48:56 1.11
+++ target.h 2001/01/26 19:49:50
@@ -643,11 +643,11 @@ extern int child_xfer_memory (CORE_ADDR,
of bytes actually transfered is not defined) and ERR is set to a
non-zero error indication. */
-extern int
-target_read_memory_partial (CORE_ADDR addr, char *buf, int len, int *err);
+extern int target_read_memory_partial (CORE_ADDR addr, char *buf, int len,
+ int *err);
-extern int
-target_write_memory_partial (CORE_ADDR addr, char *buf, int len, int *err);
+extern int target_write_memory_partial (CORE_ADDR addr, char *buf, int len,
+ int *err);
extern char *child_pid_to_exec_file (int);
@@ -1302,8 +1302,8 @@ struct section_table
/* Builds a section table, given args BFD, SECTABLE_PTR, SECEND_PTR.
Returns 0 if OK, 1 on error. */
-extern int
-build_section_table (bfd *, struct section_table **, struct section_table **);
+extern int build_section_table (bfd *, struct section_table **,
+ struct section_table **);
/* From mem-break.c */
@@ -1340,8 +1340,8 @@ extern struct target_ops *find_core_targ
extern struct target_ops *find_target_beneath (struct target_ops *);
-extern int
-target_resize_to_sections (struct target_ops *target, int num_added);
+extern int target_resize_to_sections (struct target_ops *target,
+ int num_added);
extern void remove_target_sections (bfd *abfd);
Index: value.h
===================================================================
RCS file: /cvs/src/src/gdb/value.h,v
retrieving revision 1.13
diff -p -u -w -r1.13 value.h
--- value.h 2001/01/09 00:12:48 1.13
+++ value.h 2001/01/26 19:50:21
@@ -1,5 +1,5 @@
-/* Definitions for values of C expressions, for GDB.
- Copyright 1986, 1987, 1989, 1992-1996, 2000 Free Software Foundation, Inc.
+/* Definitions for values of C expressions, for GDB. Copyright 1986,
+ 1987, 1989, 1992-1996, 2000-2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -503,8 +503,8 @@ extern void get_saved_register (char *ra
struct frame_info *frame,
int regnum, enum lval_type *lval);
-extern void
-modify_field (char *addr, LONGEST fieldval, int bitpos, int bitsize);
+extern void modify_field (char *addr, LONGEST fieldval, int bitpos,
+ int bitsize);
extern void type_print (struct type * type, char *varstring,
struct ui_file * stream, int show);
@@ -534,7 +534,8 @@ extern int val_print (struct type * type
int deref_ref, int recurse,
enum val_prettyprint pretty);
-extern int val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream);
+extern int val_print_string (CORE_ADDR addr, int len, int width,
+ struct ui_file *stream);
extern void print_variable_value (struct symbol * var,
struct frame_info * frame,
Index: xcoffread.c
===================================================================
RCS file: /cvs/src/src/gdb/xcoffread.c,v
retrieving revision 1.11
diff -p -u -w -r1.11 xcoffread.c
--- xcoffread.c 2000/12/15 01:01:51 1.11
+++ xcoffread.c 2001/01/26 19:50:45
@@ -1,8 +1,8 @@
/* Read AIX xcoff symbol tables and convert to internal format, for GDB.
- Copyright 1986, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 1997
- Free Software Foundation, Inc.
- Derived from coffread.c, dbxread.c, and a lot of hacking.
- Contributed by IBM Corporation.
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
+ 1995, 1996, 1997, 2001 Free Software Foundation, Inc. Derived from
+ coffread.c, dbxread.c, and a lot of hacking. Contributed by IBM
+ Corporation.
This file is part of GDB.
@@ -203,8 +203,7 @@ static char *xcoff_next_symbol_text (str
static void record_include_begin (struct coff_symbol *);
-static void
-enter_line_range (struct subfile *, unsigned, unsigned,
+static void enter_line_range (struct subfile *, unsigned, unsigned,
CORE_ADDR, CORE_ADDR, unsigned *);
static void init_stringtab (bfd *, file_ptr, struct objfile *);
@@ -215,8 +214,8 @@ static void xcoff_new_init (struct objfi
static void xcoff_symfile_finish (struct objfile *);
-static void
-xcoff_symfile_offsets (struct objfile *, struct section_addr_info *addrs);
+static void xcoff_symfile_offsets (struct objfile *,
+ struct section_addr_info *addrs);
static void find_linenos (bfd *, sec_ptr, PTR);
Index: config/alpha/tm-alpha.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/tm-alpha.h,v
retrieving revision 1.4
diff -p -u -w -r1.4 tm-alpha.h
--- tm-alpha.h 2000/05/28 01:12:34 1.4
+++ tm-alpha.h 2001/01/26 19:51:05
@@ -1,6 +1,6 @@
/* Definitions to make GDB run on an Alpha box under OSF1. This is
- also used by the Alpha/Netware and Alpha/Linux targets.
- Copyright 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+ also used by the Alpha/Netware and Alpha/Linux targets. Copyright
+ 1993, 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -182,16 +182,15 @@ extern CORE_ADDR alpha_saved_pc_after_ca
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM, TYPE, FROM, TO) \
alpha_register_convert_to_virtual (REGNUM, TYPE, FROM, TO)
-extern void
-alpha_register_convert_to_virtual (int, struct type *, char *, char *);
+extern void alpha_register_convert_to_virtual (int, struct type *, char *,
+ char *);
/* Convert data from virtual format with type TYPE in buffer FROM
to raw format for register REGNUM in buffer TO. */
#define REGISTER_CONVERT_TO_RAW(TYPE, REGNUM, FROM, TO) \
alpha_register_convert_to_raw (TYPE, REGNUM, FROM, TO)
-extern void
-alpha_register_convert_to_raw (struct type *, int, char *, char *);
+extern void alpha_register_convert_to_raw (struct type *, int, char *, char *);
/* Return the GDB type object for the "standard" data type
of data in register N. */
@@ -308,8 +307,9 @@ extern void alpha_find_saved_regs (struc
#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
(alpha_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr)))
-extern CORE_ADDR
-alpha_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR);
+
+extern CORE_ADDR alpha_push_arguments (int, struct value **, CORE_ADDR, int,
+ CORE_ADDR);
/* Push an empty stack frame, to record the current PC, etc. */
Index: config/pa/tm-hppa.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa.h,v
retrieving revision 1.5
diff -p -u -w -r1.5 tm-hppa.h
--- tm-hppa.h 2000/08/04 03:17:57 1.5
+++ tm-hppa.h 2001/01/26 19:51:52
@@ -1,5 +1,6 @@
/* Parameters for execution on any Hewlett-Packard PA-RISC machine.
- Copyright 1986, 1987, 1989-1993, 1995, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989-1993, 1995, 1999, 2000, 2001 Free
+ Software Foundation, Inc.
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu).
@@ -458,8 +459,8 @@ extern CORE_ADDR hppa_frame_saved_pc (st
#define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \
hppa_frame_find_saved_regs (frame_info, &frame_saved_regs)
-extern void
-hppa_frame_find_saved_regs (struct frame_info *, struct frame_saved_regs *);
+extern void hppa_frame_find_saved_regs (struct frame_info *,
+ struct frame_saved_regs *);
/* Things needed for making the inferior call functions. */
@@ -623,8 +624,8 @@ hppa_fix_call_dummy (char *, CORE_ADDR,
#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
(hppa_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr)))
-extern CORE_ADDR
-hppa_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR);
+extern CORE_ADDR hppa_push_arguments (int, struct value **, CORE_ADDR, int,
+ CORE_ADDR);
/* The low two bits of the PC on the PA contain the privilege level. Some
genius implementing a (non-GCC) compiler apparently decided this means
Index: config/sparc/tm-sp64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sp64.h,v
retrieving revision 1.3
diff -p -u -w -r1.3 tm-sp64.h
--- tm-sp64.h 2000/05/28 01:12:41 1.3
+++ tm-sp64.h 2001/01/26 19:52:02
@@ -109,14 +109,13 @@
#define FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P)
#undef PUSH_RETURN_ADDRESS
#define PUSH_RETURN_ADDRESS(PC, SP) sparc_at_entry_push_return_address (PC, SP)
-extern CORE_ADDR
-sparc_at_entry_push_return_address (CORE_ADDR pc, CORE_ADDR sp);
+extern CORE_ADDR sparc_at_entry_push_return_address (CORE_ADDR pc,
+ CORE_ADDR sp);
#undef STORE_STRUCT_RETURN
#define STORE_STRUCT_RETURN(ADDR, SP) \
sparc_at_entry_store_struct_return (ADDR, SP)
-extern void
-sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
+extern void sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
#else
Index: config/sparc/tm-sparc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v
retrieving revision 1.5
diff -p -u -w -r1.5 tm-sparc.h
--- tm-sparc.h 2000/05/28 01:12:41 1.5
+++ tm-sparc.h 2001/01/26 19:52:03
@@ -704,8 +704,8 @@ void sparc_pop_frame (void);
#define PUSH_ARGUMENTS(NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR) \
sparc32_push_arguments (NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR)
-extern CORE_ADDR
-sparc32_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR);
+extern CORE_ADDR sparc32_push_arguments (int, struct value **, CORE_ADDR, int,
+ CORE_ADDR);
/* Store the address of the place in which to copy the structure the
subroutine will return. This is called from call_function_by_hand.
More information about the Gdb-patches
mailing list