summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-19 04:06:47 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-19 04:06:47 +0000
commit570b8f7c9569b07a3dbedd3114af6ae691849c61 (patch)
treee26eddea4373f412f5f42fae6e9fa6b50915413b /gdb
parent714033a18995eebc9d9ea9e8cfe6c35fad8cdb4f (diff)
downloadppe42-binutils-570b8f7c9569b07a3dbedd3114af6ae691849c61.tar.gz
ppe42-binutils-570b8f7c9569b07a3dbedd3114af6ae691849c61.zip
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* cris-tdep.c: Fix function declaration indentation. * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. * xcoffread.c, config/pa/tm-hppa.h: Ditto. * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/config/pa/tm-hppa.h8
-rw-r--r--gdb/config/sparc/tm-sp64.h7
-rw-r--r--gdb/config/sparc/tm-sparc.h4
-rw-r--r--gdb/cris-tdep.c3
-rw-r--r--gdb/dwarfread.c28
-rw-r--r--gdb/gdbcore.h3
-rw-r--r--gdb/gdbtypes.h3
-rw-r--r--gdb/i386v-nat.c8
-rw-r--r--gdb/mips-tdep.c9
-rw-r--r--gdb/monitor.h4
-rw-r--r--gdb/parse.c4
-rw-r--r--gdb/proc-utils.h43
-rw-r--r--gdb/rs6000-nat.c3
-rw-r--r--gdb/ser-go32.c4
-rw-r--r--gdb/somread.c7
-rw-r--r--gdb/stabsread.c12
-rw-r--r--gdb/symfile.h15
-rw-r--r--gdb/symtab.h8
-rw-r--r--gdb/target.c4
-rw-r--r--gdb/target.h16
-rw-r--r--gdb/value.h4
-rw-r--r--gdb/xcoffread.c4
23 files changed, 104 insertions, 109 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 246b7f15e2..4b116ae774 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,14 @@
-2003-01-16 Michael Chastain <mec@shout.net>
+2003-01-18 Andrew Cagney <ac131313@redhat.com>
+
+ * cris-tdep.c: Fix function declaration indentation.
+ * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
+ * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
+ * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
+ * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
+ * xcoffread.c, config/pa/tm-hppa.h: Ditto.
+ * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
+
+2003-01-18 Michael Chastain <mec@shout.net>
* README (Unpacking and Installation -- quick overview):
Warn against ".../gdb-5.3/gdb/configure".
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 6262008a35..d49276a45a 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -444,8 +444,8 @@ extern int hppa_frame_num_args (struct frame_info *frame);
#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. */
@@ -625,8 +625,8 @@ extern CORE_ADDR hppa_fix_call_dummy (char *, CORE_ADDR, CORE_ADDR, int,
#if !GDB_MULTI_ARCH
#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);
#endif
diff --git a/gdb/config/sparc/tm-sp64.h b/gdb/config/sparc/tm-sp64.h
index 0c3731f306..e8f565692c 100644
--- a/gdb/config/sparc/tm-sp64.h
+++ b/gdb/config/sparc/tm-sp64.h
@@ -112,14 +112,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
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index b43e3a3191..05495ed488 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -686,8 +686,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.
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 0f2e8a83e6..5911318266 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -1868,8 +1868,7 @@ process_autoincrement (int size, unsigned short inst, inst_env_type *inst_env)
/* Just a forward declaration. */
-unsigned long
-get_data_from_address (unsigned short *inst, CORE_ADDR address);
+unsigned long get_data_from_address (unsigned short *inst, CORE_ADDR address);
/* Calculates the prefix value for the general case of offset addressing
mode. */
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index b8666c8346..5c50b991d9 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -370,19 +370,19 @@ static void add_enum_psymbol (struct dieinfo *, struct objfile *);
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 *);
@@ -398,8 +398,8 @@ static void read_ofile_symtab (struct partial_symtab *);
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 *);
@@ -413,8 +413,8 @@ static void read_tag_string_type (struct dieinfo *dip);
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 *);
@@ -441,8 +441,8 @@ static struct type *alloc_utype (DIE_REF, struct type *);
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 *);
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 5c10c589e5..e359b3dabb 100644
--- a/gdb/gdbcore.h
+++ b/gdb/gdbcore.h
@@ -70,8 +70,7 @@ extern void read_memory_string (CORE_ADDR, char *, int);
/* Read the pointer of type TYPE at ADDR, and return the address it
represents. */
-CORE_ADDR
-read_memory_typed_address (CORE_ADDR addr, struct type *type);
+CORE_ADDR read_memory_typed_address (CORE_ADDR addr, struct type *type);
/* This takes a char *, not void *. This is probably right, because
passing in an int * or whatever is wrong with respect to
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index b2d841f3f9..30cdb5fcd8 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1102,8 +1102,7 @@ smash_to_method_type (struct type *type, struct type *domain,
struct type *to_type, struct field *args,
int nargs, int varargs);
-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 *);
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index a6dc505a9e..678eabc346 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -120,11 +120,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. */
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 4615b3bdbf..04db9378e1 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -320,8 +320,8 @@ int gdb_print_insn_mips (bfd_vma, disassemble_info *);
static void mips_print_register (int, int);
-static mips_extra_func_info_t
-heuristic_proc_desc (CORE_ADDR, CORE_ADDR, struct frame_info *, int);
+static mips_extra_func_info_t heuristic_proc_desc (CORE_ADDR, CORE_ADDR,
+ struct frame_info *, int);
static CORE_ADDR heuristic_proc_start (CORE_ADDR);
@@ -333,8 +333,9 @@ static void mips_show_processor_type_command (char *, int);
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, int cur_frame);
+static mips_extra_func_info_t find_proc_desc (CORE_ADDR pc,
+ struct frame_info *next_frame,
+ int cur_frame);
static CORE_ADDR after_prologue (CORE_ADDR pc,
mips_extra_func_info_t proc_desc);
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 5d6138c439..7b87f95b39 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -245,9 +245,7 @@ extern char *monitor_supply_register (int regno, char *valstr);
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);
diff --git a/gdb/parse.c b/gdb/parse.c
index 8cdd87e9bc..45a95975fe 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -89,8 +89,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);
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h
index 1c41964918..d9f38a89fe 100644
--- a/gdb/proc-utils.h
+++ b/gdb/proc-utils.h
@@ -22,44 +22,37 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
* 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,
- unsigned long what, int verbose);
+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.
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 65256f4471..65b4130c60 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -143,8 +143,7 @@ static void fetch_core_registers (char *, unsigned int, int, CORE_ADDR);
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);
/* Given REGNO, a gdb register number, return the corresponding
number suitable for use as a ptrace() parameter. Return -1 if
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index 0642b5aa4b..cea01cdf22 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -356,8 +356,8 @@ dos_comisr (int irq)
#define ISRNAME(x) dos_comisr##x
#define ISR(x) static void ISRNAME(x)(void) {dos_comisr(x);}
-ISR (0) ISR (1) ISR (2) ISR (3)
-ISR (4) ISR (5) ISR (6) ISR (7)
+ISR (0) ISR (1) ISR (2) ISR (3) /* OK */
+ISR (4) ISR (5) ISR (6) ISR (7) /* OK */
typedef void (*isr_t) (void);
diff --git a/gdb/somread.c b/gdb/somread.c
index 38e35b2e7b..6ba95a65b9 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -45,11 +45,10 @@ static void som_symfile_read (struct objfile *, int);
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 */
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index aeae862f71..cd338d5aec 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -134,8 +134,8 @@ read_tilde_fields (struct field_info *, char **, struct type *,
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 *,
enum type_code,
@@ -174,8 +174,8 @@ read_cpp_abbrev (struct field_info *, char **, struct type *,
static char *find_name_end (char *name);
-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 *);
@@ -183,8 +183,8 @@ static int process_reference (char **string);
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);
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 4c253e0e3c..38d1145e4f 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -136,12 +136,12 @@ 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. */
@@ -174,8 +174,8 @@ extern void add_symtab_fns (struct sym_fns *);
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);
@@ -192,8 +192,7 @@ build_section_addr_info_from_section_table (const struct section_table *start,
/* 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 *,
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 04275d3bc5..8d851a2e8b 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1074,8 +1074,8 @@ extern struct symbol *find_pc_sect_function (CORE_ADDR, asection *);
/* 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);
@@ -1258,8 +1258,8 @@ extern struct symtab_and_line find_pc_sect_line (CORE_ADDR, asection *, int);
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 *);
diff --git a/gdb/target.c b/gdb/target.c
index e19ad6dbbb..683561f3a9 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -82,8 +82,8 @@ static void normal_target_post_startup_inferior (ptid_t ptid);
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);
diff --git a/gdb/target.h b/gdb/target.h
index 8c6dce17c6..80e65381db 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -488,11 +488,11 @@ extern int child_xfer_memory (CORE_ADDR, char *, int, int,
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);
@@ -1101,8 +1101,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 */
@@ -1134,8 +1134,8 @@ extern struct target_ops *find_core_target (void);
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);
diff --git a/gdb/value.h b/gdb/value.h
index 1ba28641c1..8f222fcdfe 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -489,8 +489,8 @@ extern void release_value (struct value *val);
extern int record_latest_value (struct value *val);
-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);
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 34c506f56e..991acdc678 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -190,8 +190,8 @@ static void xcoff_new_init (struct objfile *);
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, void *);
OpenPOWER on IntegriCloud