2011-01-14 Michael Snyder * ada-exp.y: Remove form feeds. * ada-lang.c: Ditto * ada-typeprint.c: Ditto * ada-valprint.c: Ditto * addrmap.c: Ditto * alpha-mdebug-tdep.c: Ditto * alpha-nat.c: Ditto * alpha-tdep.c: Ditto * alphabsd-nat.c: Ditto * alphabsd-tdep.h: Ditto * alphafbsd-tdep.c: Ditto * alphanbsd-tdep.c: Ditto * alphaobsd-tdep.c: Ditto * amd64-linux-nat.c: Ditto * amd64-linux-tdep.c: Ditto * amd64-sol2-tdep.c: Ditto * amd64-tdep.c: Ditto * amd64-tdep.h: Ditto * amd64bsd-nat.c: Ditto * amd64fbsd-nat.c: Ditto * amd64fbsd-tdep.c: Ditto * amd64nbsd-nat.c: Ditto * amd64nbsd-tdep.c: Ditto * amd64obsd-nat.c: Ditto * amd64obsd-tdep.c: Ditto * annotate.c: Ditto * arch-utils.c: Ditto * arm-tdep.c: Ditto * armobsd-tdep.c: Ditto * ax-gdb.c: Ditto * ax-gdb.h: Ditto * ax-general.c: Ditto * ax.h: Ditto * bcache.c: Ditto * blockframe.c: Ditto * breakpoint.c: Ditto * breakpoint.h: Ditto * bsd-kvm.c: Ditto * bsd-uthread.c: Ditto * buildsym.c: Ditto * buildsym.h: Ditto * c-exp.y: Ditto * c-lang.c: Ditto * c-typeprint.c: Ditto * c-valprint.c: Ditto * charset.c: Ditto * charset.h: Ditto * coff-pe-read.c: Ditto * coffread.c: Ditto * completer.c: Ditto * core-regset.c: Ditto * corefile.c: Ditto * corelow.c: Ditto * cp-name-parser.y: Ditto * darwin-nat.c: Ditto * dbxread.c: Ditto * defs.h: Ditto * doublest.c: Ditto * dwarf2-frame.c: Ditto * dwarf2expr.c: Ditto * dwarf2loc.c: Ditto * dwarf2read.c: Ditto * elfread.c: Ditto * environ.c: Ditto * eval.c: Ditto * event-loop.c: Ditto * event-top.c: Ditto * exec.c: Ditto * f-exp.y: Ditto * f-lang.c: Ditto * f-typeprint.c: Ditto * f-valprint.c: Ditto * findvar.c: Ditto * frv-linux-tdep.c: Ditto * gdbcore.h: Ditto * gdbtypes.c: Ditto * gnu-nat.c: Ditto * gnu-v2-abi.c: Ditto * hppa-hpux-nat.c: Ditto * hppa-hpux-tdep.c: Ditto * hppa-linux-tdep.c: Ditto * hppa-tdep.c: Ditto * hppabsd-nat.c: Ditto * hppabsd-tdep.c: Ditto * hppanbsd-nat.c: Ditto * hppanbsd-tdep.c: Ditto * hppaobsd-tdep.c: Ditto * i386-linux-nat.c: Ditto * i386-linux-tdep.c: Ditto * i386-sol2-tdep.c: Ditto * i386-tdep.c: Ditto * i386-tdep.h: Ditto * i386bsd-nat.c: Ditto * i386bsd-tdep.c: Ditto * i386fbsd-nat.c: Ditto * i386fbsd-tdep.c: Ditto * i386gnu-nat.c: Ditto * i386nbsd-nat.c: Ditto * i386nbsd-tdep.c: Ditto * i386obsd-nat.c: Ditto * i386obsd-tdep.c: Ditto * i387-tdep.c: Ditto * i387-tdep.h: Ditto * ia64-tdep.c: Ditto * inf-ptrace.c: Ditto * inf-ttrace.c: Ditto * infcall.c: Ditto * infcmd.c: Ditto * inferior.c: Ditto * inferior.h: Ditto * inflow.c: Ditto * infrun.c: Ditto * jv-exp.y: Ditto * language.c: Ditto * language.h: Ditto * linespec.c: Ditto * linux-nat.c: Ditto * linux-thread-db.c: Ditto * m2-exp.y: Ditto * m2-lang.c: Ditto * m32c-tdep.c: Ditto * m32r-linux-nat.c: Ditto * m32r-linux-tdep.c: Ditto * m68hc11-tdep.c: Ditto * m68k-stub.c: Ditto * m68k-tdep.c: Ditto * m68k-tdep.h: Ditto * m68kbsd-nat.c: Ditto * m68kbsd-tdep.c: Ditto * m68klinux-nat.c: Ditto * m68klinux-tdep.c: Ditto * m88k-tdep.c: Ditto * m88kbsd-nat.c: Ditto * macrocmd.c: Ditto * macroexp.c: Ditto * macrotab.c: Ditto * mdebugread.c: Ditto * memattr.c: Ditto * mep-tdep.c: Ditto * microblaze-tdep.c: Ditto * minsyms.c: Ditto * mips64obsd-nat.c: Ditto * mips64obsd-tdep.c: Ditto * mipsnbsd-nat.c: Ditto * mipsnbsd-tdep.c: Ditto * mn10300-linux-tdep.c: Ditto * objc-exp.y: Ditto * objfiles.c: Ditto * objfiles.h: Ditto * osabi.c: Ditto * p-exp.y: Ditto * p-lang.c: Ditto * p-typeprint.c: Ditto * p-valprint.c: Ditto * parse.c: Ditto * parser-defs.h: Ditto * ppcnbsd-tdep.c: Ditto * ppcobsd-nat.c: Ditto * ppcobsd-tdep.c: Ditto * ppcobsd-tdep.h: Ditto * printcmd.c: Ditto * proc-events.c: Ditto * proc-service.c: Ditto * progspace.c: Ditto * prologue-value.c: Ditto * psymtab.c: Ditto * remote-mips.c: Ditto * remote.c: Ditto * rs6000-nat.c: Ditto * rs6000-tdep.c: Ditto * ser-go32.c: Ditto * ser-unix.c: Ditto * serial.c: Ditto * sh-tdep.c: Ditto * shnbsd-tdep.c: Ditto * sol-thread.c: Ditto * solib-darwin.c: Ditto * solib-svr4.c: Ditto * solib.c: Ditto * somread.c: Ditto * source.c: Ditto * sparc-linux-tdep.c: Ditto * sparc-nat.c: Ditto * sparc-sol2-tdep.c: Ditto * sparc-tdep.c: Ditto * sparc-tdep.h: Ditto * sparc64-linux-nat.c: Ditto * sparc64-linux-tdep.c: Ditto * sparc64-nat.c: Ditto * sparc64-sol2-tdep.c: Ditto * sparc64-tdep.c: Ditto * sparc64fbsd-nat.c: Ditto * sparc64fbsd-tdep.c: Ditto * sparc64nbsd-nat.c: Ditto * sparc64nbsd-tdep.c: Ditto * sparc64obsd-tdep.c: Ditto * sparcnbsd-nat.c: Ditto * sparcnbsd-tdep.c: Ditto * sparcobsd-tdep.c: Ditto * stabsread.c: Ditto * stabsread.h: Ditto * stack.c: Ditto * symfile-mem.c: Ditto * symfile.c: Ditto * symmisc.c: Ditto * symtab.c: Ditto * symtab.h: Ditto * target-descriptions.c: Ditto * target.c: Ditto * target.h: Ditto * top.c: Ditto * typeprint.c: Ditto * ui-file.c: Ditto * utils.c: Ditto * valarith.c: Ditto * valops.c: Ditto * valprint.c: Ditto * value.c: Ditto * value.h: Ditto * varobj.c: Ditto * vax-nat.c: Ditto * vax-tdep.c: Ditto * vaxbsd-nat.c: Ditto * vaxnbsd-tdep.c: Ditto * vaxobsd-tdep.c: Ditto * xcoffread.c: Ditto * xml-support.c: Ditto * xml-tdesc.c: Ditto * cli/cli-cmds.c: Ditto * cli/cli-decode.c: Ditto * cli/cli-script.c: Ditto * cli/cli-setshow.c: Ditto * common/signals.c: Ditto * gdbserver/i386-low.c: Ditto * gdbserver/i386-low.h: Ditto * gdbserver/linux-x86-low.c: Ditto * mi/mi-main.c: Ditto * osf-share/cma_attr.h: Ditto * osf-share/cma_mutex.h: Ditto * osf-share/cma_sched.h: Ditto * osf-share/cma_stack_int.h: Ditto * python/py-auto-load.c: Ditto * python/py-block.c: Ditto * python/py-breakpoint.c: Ditto * python/py-cmd.c: Ditto * python/py-frame.c: Ditto * python/py-function.c: Ditto * python/py-lazy-string.c: Ditto * python/py-objfile.c: Ditto * python/py-param.c: Ditto * python/py-progspace.c: Ditto * python/py-symbol.c: Ditto * python/py-symtab.c: Ditto * python/py-type.c: Ditto * python/py-value.c: Ditto * python/python.c: Ditto * tui/tui-stack.c: Ditto Index: ada-exp.y =================================================================== RCS file: /cvs/src/src/gdb/ada-exp.y,v retrieving revision 1.41 diff -u -p -u -p -r1.41 ada-exp.y --- ada-exp.y 1 Jan 2011 15:32:55 -0000 1.41 +++ ada-exp.y 14 Jan 2011 21:37:27 -0000 @@ -222,7 +222,7 @@ static struct type *type_system_address %token NEW OTHERS - + %% start : exp1 Index: ada-lang.c =================================================================== RCS file: /cvs/src/src/gdb/ada-lang.c,v retrieving revision 1.284 diff -u -p -u -p -r1.284 ada-lang.c --- ada-lang.c 12 Jan 2011 16:10:03 -0000 1.284 +++ ada-lang.c 14 Jan 2011 21:37:28 -0000 @@ -266,7 +266,7 @@ static struct value *ada_evaluate_subexp static void ada_forward_operator_length (struct expression *, int, int *, int *); - + /* Maximum-sized dynamic type. */ @@ -723,7 +723,7 @@ base_type (struct type *type) } return type; } - + /* Language Selection */ @@ -778,7 +778,7 @@ ada_main_name (void) /* The main procedure doesn't seem to be in Ada. */ return NULL; } - + /* Symbols */ /* Table of Ada operators and their GNAT-encoded names. Last entry is pair @@ -1306,7 +1306,7 @@ match_name (const char *sym_name, const && is_name_suffix (sym_name + len_name + 5)); } } - + /* Arrays */ @@ -2792,7 +2792,7 @@ empty_array (struct type *arr_type, int return allocate_value (create_array_type (NULL, elt_type, index_type)); } - + /* Name resolution */ @@ -3806,7 +3806,7 @@ possible_user_operator_p (enum exp_opcod } } - + /* Renaming */ /* NOTES: @@ -3960,7 +3960,7 @@ parse_old_style_renaming (struct type *t return kind; } - + /* Evaluation: Function Calls */ @@ -4110,7 +4110,7 @@ make_array_descriptor (struct type *type else return descriptor; } - + /* Dummy definitions for an experimental caching module that is not * used in the public sources. */ @@ -4126,7 +4126,7 @@ cache_symbol (const char *name, domain_e struct block *block) { } - + /* Symbol Lookup */ /* Return the result of a standard (literal, C-like) lookup of NAME in @@ -5320,7 +5320,7 @@ ada_add_block_symbols (struct obstack *o } } } - + /* Symbol Completion */ @@ -6637,7 +6637,7 @@ ada_which_variant_applies (struct type * return others_clause; } - + /* Dynamic-Sized Records */ @@ -7915,7 +7915,7 @@ ada_to_fixed_value (struct value *val) value_address (val), val); } - + /* Attributes */ @@ -8002,7 +8002,7 @@ value_val_atr (struct type *type, struct else return value_from_longest (type, value_as_long (arg)); } - + /* Evaluation */ @@ -9972,7 +9972,7 @@ ada_evaluate_subexp (struct type *expect nosideret: return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1); } - + /* Fixed point */ @@ -10083,7 +10083,7 @@ ada_float_to_fixed (struct type *type, D return (LONGEST) (x / scaling_factor (type) + 0.5); } - + /* Range types */ @@ -10291,7 +10291,7 @@ ada_is_range_type_name (const char *name { return (name != NULL && strstr (name, "___XD")); } - + /* Modular types */ @@ -10345,7 +10345,7 @@ ada_modulus (struct type *type) { return (ULONGEST) TYPE_HIGH_BOUND (type) + 1; } - + /* Ada exception catchpoint support: --------------------------------- @@ -11701,7 +11701,7 @@ static const struct op_print ada_op_prin {"'size", OP_ATR_SIZE, PREC_SUFFIX, 1}, {NULL, 0, 0, 0} }; - + enum ada_primitive_types { ada_primitive_type_int, ada_primitive_type_long, @@ -11769,7 +11769,7 @@ ada_language_arch_info (struct gdbarch * lai->bool_type_symbol = NULL; lai->bool_type_default = builtin->builtin_bool; } - + /* Language vector */ /* Not really used, but needed in the ada_language_defn. */ Index: ada-typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/ada-typeprint.c,v retrieving revision 1.40 diff -u -p -u -p -r1.40 ada-typeprint.c --- ada-typeprint.c 1 Jan 2011 15:32:56 -0000 1.40 +++ ada-typeprint.c 14 Jan 2011 21:37:28 -0000 @@ -60,7 +60,7 @@ print_dynamic_range_bound (struct type * const char *, struct ui_file *); static void print_range_type (struct type *, struct ui_file *); - + static char *name_buffer; Index: ada-valprint.c =================================================================== RCS file: /cvs/src/src/gdb/ada-valprint.c,v retrieving revision 1.74 diff -u -p -u -p -r1.74 ada-valprint.c --- ada-valprint.c 14 Jan 2011 19:32:56 -0000 1.74 +++ ada-valprint.c 14 Jan 2011 21:37:28 -0000 @@ -54,7 +54,7 @@ static int ada_val_print_1 (struct type struct ui_file *, int, const struct value *, const struct value_print_options *); - + /* Make TYPE unsigned if its range of values includes no negatives. */ static void Index: addrmap.c =================================================================== RCS file: /cvs/src/src/gdb/addrmap.c,v retrieving revision 1.11 diff -u -p -u -p -r1.11 addrmap.c --- addrmap.c 5 Jan 2011 22:22:47 -0000 1.11 +++ addrmap.c 14 Jan 2011 21:37:28 -0000 @@ -27,7 +27,7 @@ #include "gdb_assert.h" - + /* The "abstract class". */ /* Functions implementing the addrmap functions for a particular @@ -88,7 +88,7 @@ addrmap_foreach (struct addrmap *map, ad { return map->funcs->foreach (map, fn, data); } - + /* Fixed address maps. */ /* A transition: a point in an address map where the value changes. @@ -210,7 +210,7 @@ static const struct addrmap_funcs addrma }; - + /* Mutable address maps. */ struct addrmap_mutable @@ -593,7 +593,7 @@ addrmap_create_mutable (struct obstack * } - + /* Initialization. */ /* Provide a prototype to silence -Wmissing-prototypes. */ Index: alpha-mdebug-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-mdebug-tdep.c,v retrieving revision 1.28 diff -u -p -u -p -r1.28 alpha-mdebug-tdep.c --- alpha-mdebug-tdep.c 7 Jan 2011 19:36:15 -0000 1.28 +++ alpha-mdebug-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -87,7 +87,7 @@ #define PROC_FREG_OFFSET(proc) ((proc)->pdr.fregoffset) #define PROC_PC_REG(proc) ((proc)->pdr.pcreg) #define PROC_LOCALOFF(proc) ((proc)->pdr.localoff) - + /* Locate the mdebug PDR for the given PC. Return null if one can't be found; you'll have to fall back to other methods in that case. */ @@ -174,7 +174,7 @@ alpha_mdebug_in_prologue (CORE_ADDR pc, return (after_prologue_pc == 0 || pc < after_prologue_pc); } - + /* Frame unwinder that reads mdebug PDRs. */ struct alpha_mdebug_unwind_cache @@ -399,7 +399,7 @@ alpha_mdebug_frame_base_sniffer (struct return &alpha_mdebug_frame_base; } - + void alpha_mdebug_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { Index: alpha-nat.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-nat.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 alpha-nat.c --- alpha-nat.c 7 Jan 2011 19:36:15 -0000 1.43 +++ alpha-nat.c 14 Jan 2011 21:37:28 -0000 @@ -173,7 +173,7 @@ fill_fpregset (const struct regcache *re /* FPCR is in slot 32. */ alpha_fill_fp_regs (regcache, regno, regp, regp + 31); } - + /* Register that we are able to handle alpha core file formats. */ Index: alpha-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-tdep.c,v retrieving revision 1.202 diff -u -p -u -p -r1.202 alpha-tdep.c --- alpha-tdep.c 7 Jan 2011 19:36:15 -0000 1.202 +++ alpha-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -77,7 +77,7 @@ static const int bne_opcode = 0x3d; static const int subq_opcode = 0x10; static const int subq_function = 0x29; - + /* Return the name of the REGNO register. An empty name corresponds to a register number that used to @@ -273,7 +273,7 @@ alpha_value_to_register (struct frame_in put_frame_register (frame, regnum, out); } - + /* The alpha passes the first six arguments in the registers, the rest on the stack. The register arguments are stored in ARG_REG_BUFFER, and then moved into the register file; this simplifies the passing of a @@ -641,7 +641,7 @@ alpha_return_in_memory_always (struct ty { return 1; } - + static const gdb_byte * alpha_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pc, int *len) { @@ -651,7 +651,7 @@ alpha_breakpoint_from_pc (struct gdbarch return break_insn; } - + /* This returns the PC of the first insn after the prologue. If we can't find the prologue, then return 0. */ @@ -755,7 +755,7 @@ alpha_skip_prologue (struct gdbarch *gdb return pc + offset; } - + /* Figure out where the longjmp will land. We expect the first arg to be a pointer to the jmp_buf structure from which we extract the PC (JB_PC) that we will land at. The PC is copied @@ -780,7 +780,7 @@ alpha_get_longjmp_target (struct frame_i return 1; } - + /* Frame unwinder for signal trampolines. We use alpha tdep bits that describe the location and shape of the sigcontext structure. After that, all registers are in memory, so it's easy. */ @@ -935,7 +935,7 @@ static const struct frame_unwind alpha_s alpha_sigtramp_frame_sniffer }; - + /* Heuristic_proc_start may hunt through the text section for a long time across a 2400 baud serial line. Allows the user to limit this @@ -1376,7 +1376,7 @@ reinit_frame_cache_sfunc (char *args, in reinit_frame_cache (); } - + /* Assuming NEXT_FRAME->prev is a dummy, return the frame ID of that dummy frame. The frame ID's base needs to match the TOS value saved by save_dummy_frame_tos(), and the PC match the dummy frame's @@ -1398,7 +1398,7 @@ alpha_unwind_pc (struct gdbarch *gdbarch return pc; } - + /* Helper routines for alpha*-nat.c files to move register sets to and from core files. The UNIQUE pointer is allowed to be NULL, as most targets don't supply this value in their core files. */ @@ -1474,7 +1474,7 @@ alpha_fill_fp_regs (const struct regcach regcache_raw_collect (regcache, ALPHA_FPCR_REGNUM, fpcr); } - + /* Return nonzero if the G_floating register value in REG is equal to zero for FP control instructions. */ @@ -1639,7 +1639,7 @@ alpha_software_single_step (struct frame return 1; } - + /* Initialize the current architecture based on INFO. If possible, re-use an architecture from ARCHES, which is a list of architectures already created during this debugging session. Index: alphabsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/alphabsd-nat.c,v retrieving revision 1.29 diff -u -p -u -p -r1.29 alphabsd-nat.c --- alphabsd-nat.c 7 Jan 2011 19:36:15 -0000 1.29 +++ alphabsd-nat.c 14 Jan 2011 21:37:28 -0000 @@ -71,7 +71,7 @@ fill_fpregset (const struct regcache *re { alphabsd_fill_fpreg (regcache, (char *) fpregsetp, regno); } - + /* Determine if PT_GETREGS fetches this register. */ static int @@ -154,7 +154,7 @@ alphabsd_store_inferior_registers (struc perror_with_name (_("Couldn't write floating point status")); } } - + /* Support for debugging kernel virtual memory images. */ @@ -187,7 +187,7 @@ alphabsd_supply_pcb (struct regcache *re return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_alphabsd_nat (void); Index: alphabsd-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/alphabsd-tdep.h,v retrieving revision 1.11 diff -u -p -u -p -r1.11 alphabsd-tdep.h --- alphabsd-tdep.h 1 Jan 2011 15:32:56 -0000 1.11 +++ alphabsd-tdep.h 14 Jan 2011 21:37:28 -0000 @@ -28,7 +28,7 @@ void alphabsd_fill_reg (const struct reg void alphabsd_supply_fpreg (struct regcache *, const char *, int); void alphabsd_fill_fpreg (const struct regcache *, char *, int); - + /* Functions exported from alphanbsd-tdep.c. */ Index: alphafbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alphafbsd-tdep.c,v retrieving revision 1.25 diff -u -p -u -p -r1.25 alphafbsd-tdep.c --- alphafbsd-tdep.c 1 Jan 2011 15:32:56 -0000 1.25 +++ alphafbsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -55,7 +55,7 @@ alphafbsd_return_in_memory (struct type return 0; } - + /* Support for signal handlers. */ @@ -115,7 +115,7 @@ alphafbsd_init_abi (struct gdbarch_info tdep->jb_pc = 2; tdep->jb_elt_size = 8; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_alphafbsd_tdep (void); Index: alphanbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alphanbsd-tdep.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 alphanbsd-tdep.c --- alphanbsd-tdep.c 1 Jan 2011 15:32:56 -0000 1.43 +++ alphanbsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -180,7 +180,7 @@ alphanbsd_regset_from_core_section (stru return NULL; } - + /* Signal trampolines. */ @@ -258,7 +258,7 @@ alphanbsd_sigcontext_addr (struct frame_ return 0; return get_frame_base (get_next_frame (frame)); } - + static void alphanbsd_init_abi (struct gdbarch_info info, @@ -290,7 +290,7 @@ alphanbsd_init_abi (struct gdbarch_info set_gdbarch_regset_from_core_section (gdbarch, alphanbsd_regset_from_core_section); } - + static enum gdb_osabi alphanbsd_core_osabi_sniffer (bfd *abfd) @@ -300,7 +300,7 @@ alphanbsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_alphanbsd_tdep (void); Index: alphaobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alphaobsd-tdep.c,v retrieving revision 1.10 diff -u -p -u -p -r1.10 alphaobsd-tdep.c --- alphaobsd-tdep.c 1 Jan 2011 15:32:56 -0000 1.10 +++ alphaobsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -93,7 +93,7 @@ alphaobsd_sigcontext_addr (struct frame_ return get_frame_register_unsigned (this_frame, ALPHA_A0_REGNUM); } } - + static void alphaobsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch) @@ -125,7 +125,7 @@ alphaobsd_init_abi(struct gdbarch_info i set_gdbarch_regset_from_core_section (gdbarch, alphanbsd_regset_from_core_section); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_alphaobsd_tdep (void); Index: amd64-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64-linux-nat.c,v retrieving revision 1.35 diff -u -p -u -p -r1.35 amd64-linux-nat.c --- amd64-linux-nat.c 7 Jan 2011 19:36:15 -0000 1.35 +++ amd64-linux-nat.c 14 Jan 2011 21:37:28 -0000 @@ -92,7 +92,7 @@ static int amd64_linux_gregset32_reg_off -1, -1, -1, -1, -1, -1, -1, -1, ORIG_RAX * 8 /* "orig_eax" */ }; - + /* Transfering the general-purpose registers between GDB, inferiors and core files. */ @@ -138,7 +138,7 @@ fill_fpregset (const struct regcache *re { amd64_collect_fxsave (regcache, regnum, fpregsetp); } - + /* Transferring arbitrary registers between GDB and inferior. */ @@ -262,7 +262,7 @@ amd64_linux_store_inferior_registers (st } } } - + /* Support for debug registers. */ static unsigned long amd64_linux_dr[DR_CONTROL + 1]; @@ -386,7 +386,7 @@ amd64_linux_new_thread (ptid_t ptid) amd64_linux_dr_set (ptid, DR_CONTROL, amd64_linux_dr[DR_CONTROL]); } - + /* This function is called by libthread_db as part of its handling of a request for a thread's local storage address. */ @@ -445,7 +445,7 @@ ps_get_thread_area (const struct ps_proc } return PS_ERR; /* ptrace failed. */ } - + static void (*super_post_startup_inferior) (ptid_t ptid); @@ -455,7 +455,7 @@ amd64_linux_child_post_startup_inferior i386_cleanup_dregs (); super_post_startup_inferior (ptid); } - + /* When GDB is built as a 64-bit application on linux, the PTRACE_GETSIGINFO data is always presented in 64-bit layout. Since Index: amd64-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64-linux-tdep.c,v retrieving revision 1.41 diff -u -p -u -p -r1.41 amd64-linux-tdep.c --- amd64-linux-tdep.c 7 Jan 2011 19:36:15 -0000 1.41 +++ amd64-linux-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -96,7 +96,7 @@ int amd64_linux_gregset_reg_offset[] = -1, -1, -1, -1, -1, -1, -1, -1, 15 * 8 /* "orig_rax" */ }; - + /* Support for signal handlers. */ @@ -198,7 +198,7 @@ amd64_linux_sigcontext_addr (struct fram at it. */ return sp + AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET; } - + static LONGEST amd64_linux_get_syscall_number (struct gdbarch *gdbarch, @@ -1533,7 +1533,7 @@ amd64_linux_init_abi (struct gdbarch_inf tdep->i386_syscall_record = amd64_linux_syscall_record; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern void _initialize_amd64_linux_tdep (void); Index: amd64-sol2-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64-sol2-tdep.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 amd64-sol2-tdep.c --- amd64-sol2-tdep.c 7 Jan 2011 19:36:15 -0000 1.14 +++ amd64-sol2-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -63,7 +63,7 @@ static int amd64_sol2_gregset_reg_offset 22 * 8, /* %fs */ 23 * 8 /* %gs */ }; - + /* Return whether THIS_FRAME corresponds to a Solaris sigtramp routine. */ @@ -117,7 +117,7 @@ amd64_sol2_init_abi (struct gdbarch_info /* How to print LWP PTIDs from core files. */ set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern void _initialize_amd64_sol2_tdep (void); Index: amd64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64-tdep.c,v retrieving revision 1.84 diff -u -p -u -p -r1.84 amd64-tdep.c --- amd64-tdep.c 7 Jan 2011 19:36:15 -0000 1.84 +++ amd64-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -360,7 +360,7 @@ amd64_pseudo_register_write (struct gdba i386_pseudo_register_write (gdbarch, regcache, regnum, buf); } - + /* Return the union class of CLASS1 and CLASS2. See the psABI for details. */ @@ -675,7 +675,7 @@ amd64_return_value (struct gdbarch *gdba return RETURN_VALUE_REGISTER_CONVENTION; } - + static CORE_ADDR amd64_push_arguments (struct regcache *regcache, int nargs, @@ -879,7 +879,7 @@ amd64_push_dummy_call (struct gdbarch *g return sp + 16; } - + /* Displaced instruction handling. */ /* A partially decoded instruction. @@ -1611,7 +1611,7 @@ amd64_relocate_instruction (struct gdbar append_insns (to, insn_length, buf); } - + /* The maximum number of saved registers. This should include %rip. */ #define AMD64_NUM_SAVED_REGS AMD64_NUM_GREGS @@ -1893,7 +1893,7 @@ amd64_skip_prologue (struct gdbarch *gdb return pc; } - + /* Normal frames. */ @@ -2017,7 +2017,7 @@ static const struct frame_unwind amd64_f NULL, default_frame_sniffer }; - + /* Signal trampolines. */ @@ -2113,7 +2113,7 @@ static const struct frame_unwind amd64_s NULL, amd64_sigtramp_frame_sniffer }; - + static CORE_ADDR amd64_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -2232,7 +2232,7 @@ amd64_frame_align (struct gdbarch *gdbar { return sp & -(CORE_ADDR)16; } - + /* Supply register REGNUM from the buffer specified by FPREGS and LEN in the floating-point register set REGSET to register cache @@ -2314,7 +2314,7 @@ amd64_regset_from_core_section (struct g return i386_regset_from_core_section (gdbarch, sect_name, sect_size); } - + /* Figure out where the longjmp will land. Slurp the jmp_buf out of %rdi. We expect its value to be a pointer to the jmp_buf structure @@ -2478,7 +2478,7 @@ _initialize_amd64_tdep (void) initialize_tdesc_amd64 (); initialize_tdesc_amd64_avx (); } - + /* The 64-bit FXSAVE format differs from the 32-bit format in the sense that the instruction pointer and data pointer are simply Index: amd64-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/amd64-tdep.h,v retrieving revision 1.19 diff -u -p -u -p -r1.19 amd64-tdep.h --- amd64-tdep.h 1 Jan 2011 15:32:57 -0000 1.19 +++ amd64-tdep.h 14 Jan 2011 21:37:28 -0000 @@ -107,7 +107,7 @@ extern void amd64_collect_xsave (const s void amd64_classify (struct type *type, enum amd64_reg_class class[2]); - + /* Variables exported from amd64-linux-tdep.c. */ extern int amd64_linux_gregset_reg_offset[]; Index: amd64bsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64bsd-nat.c,v retrieving revision 1.18 diff -u -p -u -p -r1.18 amd64bsd-nat.c --- amd64bsd-nat.c 1 Jan 2011 15:32:57 -0000 1.18 +++ amd64bsd-nat.c 14 Jan 2011 21:37:28 -0000 @@ -34,7 +34,7 @@ #include "amd64-tdep.h" #include "amd64-nat.h" #include "inf-ptrace.h" - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers (including the floating-point registers). */ Index: amd64fbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64fbsd-nat.c,v retrieving revision 1.27 diff -u -p -u -p -r1.27 amd64fbsd-nat.c --- amd64fbsd-nat.c 1 Jan 2011 15:32:57 -0000 1.27 +++ amd64fbsd-nat.c 14 Jan 2011 21:37:28 -0000 @@ -34,7 +34,7 @@ #include "fbsd-nat.h" #include "amd64-tdep.h" #include "amd64-nat.h" - + /* Offset in `struct reg' where MEMBER is stored. */ #define REG_OFFSET(member) offsetof (struct reg, member) @@ -69,7 +69,7 @@ static int amd64fbsd64_r_reg_offset[] = -1, -1 }; - + /* Mapping between the general-purpose registers in FreeBSD/amd64 `struct reg' format and GDB's register cache layout for @@ -90,7 +90,7 @@ static int amd64fbsd32_r_reg_offset[I386 18 * 8, 21 * 8, /* %cs, %ss */ -1, -1, -1, -1 /* %ds, %es, %fs, %gs */ }; - + /* Support for debugging kernel virtual memory images. */ @@ -139,7 +139,7 @@ amd64fbsd_supply_pcb (struct regcache *r return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64fbsd_nat (void); Index: amd64fbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64fbsd-tdep.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 amd64fbsd-tdep.c --- amd64fbsd-tdep.c 7 Jan 2011 19:36:15 -0000 1.22 +++ amd64fbsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -48,7 +48,7 @@ amd64fbsd_sigcontext_addr (struct frame_ sp = frame_unwind_register_unsigned (this_frame, AMD64_RSP_REGNUM); return sp + 16; } - + /* FreeBSD 5.1-RELEASE or later. */ /* Mapping between the general-purpose registers in `struct reg' @@ -209,7 +209,7 @@ amd64fbsd_init_abi (struct gdbarch_info set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64fbsd_tdep (void); Index: amd64nbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64nbsd-nat.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 amd64nbsd-nat.c --- amd64nbsd-nat.c 1 Jan 2011 15:32:57 -0000 1.12 +++ amd64nbsd-nat.c 14 Jan 2011 21:37:28 -0000 @@ -55,7 +55,7 @@ static int amd64nbsd32_r_reg_offset[] = 16 * 8, /* %fs */ 15 * 8 /* %gs */ }; - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64nbsd_nat (void); Index: amd64nbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64nbsd-tdep.c,v retrieving revision 1.19 diff -u -p -u -p -r1.19 amd64nbsd-tdep.c --- amd64nbsd-tdep.c 7 Jan 2011 19:36:15 -0000 1.19 +++ amd64nbsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -61,7 +61,7 @@ amd64nbsd_mcontext_addr (struct frame_in /* The mcontext structure lives as offset 56 in `struct ucontext'. */ return addr + 56; } - + /* NetBSD 2.0 or later. */ /* Mapping between the general-purpose registers in `struct reg' @@ -120,7 +120,7 @@ amd64nbsd_init_abi (struct gdbarch_info set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64nbsd_tdep (void); Index: amd64obsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64obsd-nat.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 amd64obsd-nat.c --- amd64obsd-nat.c 1 Jan 2011 15:32:57 -0000 1.12 +++ amd64obsd-nat.c 14 Jan 2011 21:37:28 -0000 @@ -56,7 +56,7 @@ static int amd64obsd32_r_reg_offset[] = 22 * 8, /* %fs */ 23 * 8 /* %gs */ }; - + /* Support for debugging kernel virtual memory images. */ @@ -126,7 +126,7 @@ amd64obsd_supply_pcb (struct regcache *r return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64obsd_nat (void); Index: amd64obsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/amd64obsd-tdep.c,v retrieving revision 1.33 diff -u -p -u -p -r1.33 amd64obsd-tdep.c --- amd64obsd-tdep.c 7 Jan 2011 19:36:15 -0000 1.33 +++ amd64obsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -73,7 +73,7 @@ amd64obsd_regset_from_core_section (stru return NULL; } - + /* Support for signal handlers. */ @@ -150,7 +150,7 @@ amd64obsd_sigcontext_addr (struct frame_ else return get_frame_register_unsigned (this_frame, AMD64_RSP_REGNUM); } - + /* OpenBSD 3.5 or later. */ /* Mapping between the general-purpose registers in `struct reg' @@ -442,7 +442,7 @@ static const struct frame_unwind amd64ob NULL, amd64obsd_trapframe_sniffer }; - + static void amd64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -477,7 +477,7 @@ amd64obsd_init_abi (struct gdbarch_info /* Unwind kernel trap frames correctly. */ frame_unwind_prepend_unwinder (gdbarch, &amd64obsd_trapframe_unwind); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_amd64obsd_tdep (void); Index: annotate.c =================================================================== RCS file: /cvs/src/src/gdb/annotate.c,v retrieving revision 1.24 diff -u -p -u -p -r1.24 annotate.c --- annotate.c 1 Jan 2011 15:32:57 -0000 1.24 +++ annotate.c 14 Jan 2011 21:37:28 -0000 @@ -24,7 +24,7 @@ #include "gdbtypes.h" #include "breakpoint.h" #include "observer.h" - + /* Prototypes for local functions. */ @@ -48,7 +48,7 @@ print_value_flags (struct type *t) else printf_filtered (("-")); } - + void breakpoints_changed (void) { @@ -168,7 +168,7 @@ annotate_signal (void) if (annotation_level > 1) printf_filtered (("\n\032\032signal\n")); } - + void annotate_breakpoints_headers (void) { @@ -263,7 +263,7 @@ annotate_field_end (void) if (annotation_level == 2) printf_filtered (("\n\032\032field-end\n")); } - + void annotate_quit (void) { @@ -520,7 +520,7 @@ annotate_frame_end (void) if (annotation_level == 2) printf_filtered (("\n\032\032frame-end\n")); } - + void annotate_array_section_begin (int index, struct type *elttype) { Index: arch-utils.c =================================================================== RCS file: /cvs/src/src/gdb/arch-utils.c,v retrieving revision 1.192 diff -u -p -u -p -r1.192 arch-utils.c --- arch-utils.c 5 Jan 2011 22:22:47 -0000 1.192 +++ arch-utils.c 14 Jan 2011 21:37:28 -0000 @@ -216,7 +216,7 @@ legacy_virtual_frame_pointer (struct gdb *frame_offset = 0; } - + int generic_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type) @@ -244,7 +244,7 @@ default_remote_register_number (struct g return regno; } - + /* Functions to manipulate the endianness of the target. */ static int target_byte_order_user = BFD_ENDIAN_UNKNOWN; Index: arm-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/arm-tdep.c,v retrieving revision 1.321 diff -u -p -u -p -r1.321 arm-tdep.c --- arm-tdep.c 14 Jan 2011 20:37:13 -0000 1.321 +++ arm-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -6899,7 +6899,7 @@ set_disassembly_style_sfunc (char *args, { set_disassembly_style (); } - + /* Return the ARM register name corresponding to register I. */ static const char * arm_register_name (struct gdbarch *gdbarch, int i) @@ -7210,7 +7210,7 @@ value_of_arm_user_reg (struct frame_info const int *reg_p = baton; return value_of_register (*reg_p, frame); } - + static enum gdb_osabi arm_elf_osabi_sniffer (bfd *abfd) { @@ -7246,7 +7246,7 @@ arm_register_reggroup_p (struct gdbarch return default_register_reggroup_p (gdbarch, regnum, group); } - + /* Initialize the current architecture based on INFO. If possible, re-use an architecture from ARCHES, which is a list of architectures already created during this debugging session. Index: armobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/armobsd-tdep.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 armobsd-tdep.c --- armobsd-tdep.c 1 Jan 2011 15:32:57 -0000 1.14 +++ armobsd-tdep.c 14 Jan 2011 21:37:28 -0000 @@ -69,7 +69,7 @@ static const struct tramp_frame armobsd_ }, armobsd_sigframe_init }; - + /* Override default thumb breakpoints. */ static const char arm_obsd_thumb_le_breakpoint[] = {0xfe, 0xdf}; @@ -117,7 +117,7 @@ armobsd_init_abi (struct gdbarch_info in break; } } - + static enum gdb_osabi armobsd_core_osabi_sniffer (bfd *abfd) Index: ax-gdb.c =================================================================== RCS file: /cvs/src/src/gdb/ax-gdb.c,v retrieving revision 1.83 diff -u -p -u -p -r1.83 ax-gdb.c --- ax-gdb.c 7 Jan 2011 17:35:27 -0000 1.83 +++ ax-gdb.c 14 Jan 2011 21:37:28 -0000 @@ -56,7 +56,7 @@ strings. Remember, "GBD" stands for "Great Britain, Dammit!" So be careful. */ - + /* Prototypes for local functions. */ @@ -163,7 +163,7 @@ static void gen_expr_binop_rest (struct struct axs_value *value2); static void agent_command (char *exp, int from_tty); - + /* Detecting constant expressions. */ @@ -263,7 +263,7 @@ maybe_const_expr (union exp_element **pc return v; } - + /* Generating bytecode from GDB expressions: general assumptions */ @@ -307,7 +307,7 @@ maybe_const_expr (union exp_element **pc extend after add, because it could overflow; if nothing is extended, then you end up producing extends whenever you change sizes), and this is simpler.) */ - + /* Generating bytecode from GDB expressions: the `trace' kludge */ @@ -433,7 +433,7 @@ gen_traced_pop (struct gdbarch *gdbarch, || TYPE_CODE (value->type) == TYPE_CODE_UNION)) gen_trace_static_fields (gdbarch, ax, value->type); } - + /* Generating bytecode from GDB expressions: helper functions */ @@ -539,7 +539,7 @@ gen_left_shift (struct agent_expr *ax, i ax_simple (ax, aop_rsh_unsigned); } } - + /* Generating bytecode from GDB expressions: symbol references */ @@ -727,7 +727,7 @@ gen_var_ref (struct gdbarch *gdbarch, st break; } } - + /* Generating bytecode from GDB expressions: literals */ @@ -740,7 +740,7 @@ gen_int_literal (struct agent_expr *ax, value->kind = axs_rvalue; value->type = check_typedef (type); } - + /* Generating bytecode from GDB expressions: unary conversions, casts */ @@ -1031,7 +1031,7 @@ gen_cast (struct agent_expr *ax, struct value->type = type; } - + /* Generating bytecode from GDB expressions: arithmetic */ @@ -1180,7 +1180,7 @@ gen_complement (struct agent_expr *ax, s ax_simple (ax, aop_bit_not); gen_extend (ax, value->type); } - + /* Generating bytecode from GDB expressions: * & . -> @ sizeof */ @@ -1759,7 +1759,7 @@ gen_sizeof (struct expression *exp, unio value->kind = axs_rvalue; value->type = size_type; } - + /* Generating bytecode from GDB expressions: general recursive thingy */ @@ -2336,7 +2336,7 @@ gen_expr_binop_rest (struct expression * _("gen_expr: op case sets don't match")); } } - + /* Given a single variable and a scope, generate bytecodes to trace its value. This is for use in situations where we have only a @@ -2513,7 +2513,7 @@ agent_eval_command (char *exp, int from_ do_cleanups (old_chain); dont_repeat (); } - + /* Initialization code. */ Index: ax-gdb.h =================================================================== RCS file: /cvs/src/src/gdb/ax-gdb.h,v retrieving revision 1.18 diff -u -p -u -p -r1.18 ax-gdb.h --- ax-gdb.h 1 Jan 2011 15:32:57 -0000 1.18 +++ ax-gdb.h 14 Jan 2011 21:37:28 -0000 @@ -92,7 +92,7 @@ struct axs_value } u; }; - + /* Translating GDB expressions into agent expressions. */ Index: ax-general.c =================================================================== RCS file: /cvs/src/src/gdb/ax-general.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 ax-general.c --- ax-general.c 5 Jan 2011 22:22:47 -0000 1.23 +++ ax-general.c 14 Jan 2011 21:37:28 -0000 @@ -37,7 +37,7 @@ static void append_const (struct agent_e static LONGEST read_const (struct agent_expr *x, int o, int n); static void generic_ext (struct agent_expr *x, enum agent_op op, int n); - + /* Functions for building expressions. */ /* Allocate a new, empty agent expression. */ @@ -319,7 +319,7 @@ ax_tsv (struct agent_expr *x, enum agent x->buf[x->len + 2] = (num) & 0xff; x->len += 3; } - + /* Functions for disassembling agent expressions, and otherwise Index: ax.h =================================================================== RCS file: /cvs/src/src/gdb/ax.h,v retrieving revision 1.14 diff -u -p -u -p -r1.14 ax.h --- ax.h 1 Jan 2011 15:32:57 -0000 1.14 +++ ax.h 14 Jan 2011 21:37:28 -0000 @@ -49,7 +49,7 @@ is independent of symbolic information. This means the agent can evaluate them on the fly without reference to data only available to the host GDB. */ - + /* Different kinds of flaws an agent expression might have, as detected by ax_reqs. */ @@ -206,7 +206,7 @@ enum agent_op aop_trace16 = 0x30, aop_last }; - + /* Functions for building expressions. */ @@ -260,7 +260,7 @@ extern void ax_reg_mask (struct agent_ex /* Assemble code to operate on a trace state variable. */ extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num); - + /* Functions for printing out expressions, and otherwise debugging things. */ Index: bcache.c =================================================================== RCS file: /cvs/src/src/gdb/bcache.c,v retrieving revision 1.32 diff -u -p -u -p -r1.32 bcache.c --- bcache.c 5 Jan 2011 22:22:47 -0000 1.32 +++ bcache.c 14 Jan 2011 21:37:28 -0000 @@ -99,7 +99,7 @@ struct bcache /* The old hash function was stolen from SDBM. This is what DB 3.0 uses now, and is better than the old one. */ - + unsigned long hash(const void *addr, int length) { @@ -122,7 +122,7 @@ hash_continue (const void *addr, int len } return (h); } - + /* Growing the bcache's hash table. */ /* If the average chain length grows beyond this, then we want to @@ -198,7 +198,7 @@ expand_hash_table (struct bcache *bcache bcache->num_buckets = new_num_buckets; } - + /* Looking up things in the bcache. */ /* The number of bytes needed to allocate a struct bstring whose data @@ -289,7 +289,7 @@ bcache_full (const void *addr, int lengt return &new->d.data; } } - + /* Compare the byte string at ADDR1 of lenght LENGHT to the string at ADDR2. Return 1 if they are equal. */ @@ -342,7 +342,7 @@ bcache_xfree (struct bcache *bcache) } - + /* Printing statistics. */ static void Index: blockframe.c =================================================================== RCS file: /cvs/src/src/gdb/blockframe.c,v retrieving revision 1.131 diff -u -p -u -p -r1.131 blockframe.c --- blockframe.c 5 Jan 2011 22:22:47 -0000 1.131 +++ blockframe.c 14 Jan 2011 21:37:28 -0000 @@ -128,7 +128,7 @@ get_frame_function (struct frame_info *f return BLOCK_FUNCTION (bl); } - + /* Return the function containing pc value PC in section SECTION. Returns 0 if function is not known. */ Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.529 diff -u -p -u -p -r1.529 breakpoint.c --- breakpoint.c 11 Jan 2011 19:39:35 -0000 1.529 +++ breakpoint.c 14 Jan 2011 21:37:29 -0000 @@ -552,7 +552,7 @@ struct symtab *default_breakpoint_symtab int default_breakpoint_line; struct program_space *default_breakpoint_pspace; - + /* *PP is a string denoting a breakpoint. Get the number of the breakpoint. Advance *PP after the string and any trailing whitespace. @@ -726,7 +726,7 @@ get_breakpoint (int num) return NULL; } - + void set_breakpoint_condition (struct breakpoint *b, char *exp, @@ -1229,7 +1229,7 @@ breakpoint_restore_shadows (gdb_byte *bu bl->target_info.shadow_contents + bptoffset, bp_size); } } - + /* Return true if BPT is of any hardware watchpoint kind. */ @@ -2959,7 +2959,7 @@ breakpoint_thread_match (struct address_ return 0; } - + /* bpstat stuff. External routines' interfaces are documented in breakpoint.h. */ @@ -3592,7 +3592,7 @@ bpstat_alloc (struct bp_location *bl, bp bs->print_it = print_it_normal; return bs; } - + /* The target has stopped with waitstatus WS. Check if any hardware watchpoints have triggered, according to the target. */ @@ -4540,7 +4540,7 @@ bpstat_causes_stop (bpstat bs) return 0; } - + /* Print the LOC location out of the list of B->LOC locations. */ @@ -5330,7 +5330,7 @@ describe_other_breakpoints (struct gdbar printf_filtered (".\n"); } } - + /* Set the default place to put a breakpoint for the `break' command with no arguments. */ @@ -6877,7 +6877,7 @@ set_momentary_breakpoint_at_pc (struct g return set_momentary_breakpoint (gdbarch, sal, null_frame_id, type); } - + /* Tell the user we have just set a breakpoint B. */ @@ -7045,7 +7045,7 @@ mention (struct breakpoint *b) return; printf_filtered ("\n"); } - + static struct bp_location * add_location_to_breakpoint (struct breakpoint *b, @@ -7070,7 +7070,7 @@ add_location_to_breakpoint (struct break set_breakpoint_location_function (loc); return loc; } - + /* Return 1 if LOC is pointing to a permanent breakpoint, return 0 otherwise. */ @@ -8744,7 +8744,7 @@ awatch_command (char *arg, int from_tty) { watch_maybe_just_location (arg, hw_access, from_tty); } - + /* Helper routines for the until_command routine in infcmd.c. Here because it uses the mechanisms of breakpoints. */ @@ -9363,7 +9363,7 @@ catch_command (char *arg, int from_tty) { error (_("Catch requires an event name.")); } - + static void tcatch_command (char *arg, int from_tty) @@ -9510,7 +9510,7 @@ clear_command (char *arg, int from_tty) if (from_tty) putchar_unfiltered ('\n'); } - + /* Delete breakpoint in BS if they are `delete' breakpoints and all breakpoints that are marked for deletion, whether hit or not. This is called after any breakpoint is hit, or after errors. */ @@ -10664,7 +10664,7 @@ breakpoint_re_set (void) create_std_terminate_master_breakpoint ("std::terminate()"); create_exception_master_breakpoint (); } - + /* Reset the thread number of this breakpoint: - If the breakpoint is for all threads, leave it as-is. @@ -10761,7 +10761,7 @@ ignore_command (char *args, int from_tty if (from_tty) printf_filtered ("\n"); } - + /* Call FUNCTION on each of the breakpoints whose numbers are given in ARGS. */ @@ -11045,7 +11045,7 @@ enable_delete_command (char *args, int f { map_breakpoint_numbers (args, enable_delete_breakpoint, NULL); } - + static void set_breakpoint_cmd (char *args, int from_tty) { @@ -11913,7 +11913,7 @@ all_tracepoints () return tp_vec; } - + /* This help string is used for the break, hbreak, tbreak and thbreak commands. It is defined as a macro to prevent duplication. COMMAND should be a string constant containing the name of the Index: breakpoint.h =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.h,v retrieving revision 1.132 diff -u -p -u -p -r1.132 breakpoint.h --- breakpoint.h 11 Jan 2011 19:23:02 -0000 1.132 +++ breakpoint.h 14 Jan 2011 21:37:29 -0000 @@ -35,7 +35,7 @@ struct breakpoint_object; architecture. */ #define BREAKPOINT_MAX 16 - + /* Type of breakpoint. */ /* FIXME In the future, we should fold all other breakpoint-like @@ -614,7 +614,7 @@ struct breakpoint typedef struct breakpoint *breakpoint_p; DEF_VEC_P(breakpoint_p); - + /* The following stuff is an abstract data type "bpstat" ("breakpoint status"). This provides the ability to determine whether we have stopped at a breakpoint, and what we should do about it. */ @@ -631,7 +631,7 @@ extern bpstat bpstat_copy (bpstat); extern bpstat bpstat_stop_status (struct address_space *aspace, CORE_ADDR pc, ptid_t ptid); - + /* This bpstat_what stuff tells wait_for_inferior what to do with a breakpoint (a challenging task). @@ -730,7 +730,7 @@ enum print_stop_action /* Tell what to do about this bpstat. */ struct bpstat_what bpstat_what (bpstat); - + /* Find the bpstat associated with a breakpoint. NULL otherwise. */ bpstat bpstat_find_breakpoint (bpstat, struct breakpoint *); @@ -859,7 +859,7 @@ enum breakpoint_here ordinary_breakpoint_here, permanent_breakpoint_here }; - + /* Prototypes for breakpoint-related functions. */ Index: bsd-kvm.c =================================================================== RCS file: /cvs/src/src/gdb/bsd-kvm.c,v retrieving revision 1.32 diff -u -p -u -p -r1.32 bsd-kvm.c --- bsd-kvm.c 7 Jan 2011 19:36:15 -0000 1.32 +++ bsd-kvm.c 14 Jan 2011 21:37:29 -0000 @@ -251,7 +251,7 @@ bsd_kvm_fetch_registers (struct target_o /* i18n: PCB == "Process Control Block". */ error (_("Cannot find a valid PCB")); } - + /* Kernel memory interface commands. */ struct cmd_list_element *bsd_kvm_cmdlist; Index: bsd-uthread.c =================================================================== RCS file: /cvs/src/src/gdb/bsd-uthread.c,v retrieving revision 1.30 diff -u -p -u -p -r1.30 bsd-uthread.c --- bsd-uthread.c 1 Jan 2011 15:32:58 -0000 1.30 +++ bsd-uthread.c 14 Jan 2011 21:37:29 -0000 @@ -37,7 +37,7 @@ /* HACK: Save the bsd_uthreads ops returned by bsd_uthread_target. */ static struct target_ops *bsd_uthread_ops_hack; - + /* Architecture-specific operations. */ Index: buildsym.c =================================================================== RCS file: /cvs/src/src/gdb/buildsym.c,v retrieving revision 1.84 diff -u -p -u -p -r1.84 buildsym.c --- buildsym.c 5 Jan 2011 22:22:47 -0000 1.84 +++ buildsym.c 14 Jan 2011 21:37:29 -0000 @@ -85,9 +85,9 @@ static struct obstack pending_addrmap_ob the end, then we just toss the addrmap. */ static int pending_addrmap_interesting; - + static int compare_line_numbers (const void *ln1p, const void *ln2p); - + /* Initial sizes of data structures. These are realloc'd larger if needed, and realloc'd down to the size actually used, when @@ -95,7 +95,7 @@ static int compare_line_numbers (const v #define INITIAL_CONTEXT_STACK_SIZE 10 #define INITIAL_LINE_VECTOR_LENGTH 1000 - + /* Maintain the lists of symbols and blocks. */ @@ -519,7 +519,7 @@ make_blockvector (struct objfile *objfil return (blockvector); } - + /* Start recording information about source code that came from an included (or otherwise merged-in) source file with a different name. NAME is the name of the file (cannot be NULL), DIRNAME is @@ -668,7 +668,7 @@ patch_subfile_names (struct subfile *sub } } } - + /* Handle the N_BINCL and N_EINCL symbol types that act like N_SOL for switching source files (different subfiles, as we call them) within one object file, but using a stack rather than in an arbitrary @@ -706,7 +706,7 @@ pop_subfile (void) xfree ((void *) link); return (name); } - + /* Add a linetable entry for line number LINE and address PC to the line vector for SUBFILE. */ @@ -790,7 +790,7 @@ compare_line_numbers (const void *ln1p, behavior (see comment at struct linetable in symtab.h). */ return ln1->line - ln2->line; } - + /* Start a new symtab for a new source file. Called, for example, when a stabs symbol of type N_SO is seen, or when a DWARF TAG_compile_unit DIE is seen. It indicates the start of data for @@ -1267,7 +1267,7 @@ pop_context (void) return (&context_stack[--context_stack_depth]); } - + /* Compute a small integer hash code for the given name. */ @@ -1276,7 +1276,7 @@ hashname (char *name) { return (hash(name,strlen(name)) % HASHSIZE); } - + void record_debugformat (char *format) @@ -1322,7 +1322,7 @@ merge_symbol_lists (struct pending **src (*srclist)->next = free_pendings; free_pendings = (*srclist); } - + /* Initialize anything that needs initializing when starting to read a fresh piece of a symbol file, e.g. reading in the stuff corresponding to a psymtab. */ Index: buildsym.h =================================================================== RCS file: /cvs/src/src/gdb/buildsym.h,v retrieving revision 1.27 diff -u -p -u -p -r1.27 buildsym.h --- buildsym.h 1 Jan 2011 15:32:58 -0000 1.27 +++ buildsym.h 14 Jan 2011 21:37:29 -0000 @@ -201,7 +201,7 @@ struct pending_block associated symtab. */ EXTERN struct pending_block *pending_blocks; - + struct subfile_stack { Index: c-exp.y =================================================================== RCS file: /cvs/src/src/gdb/c-exp.y,v retrieving revision 1.80 diff -u -p -u -p -r1.80 c-exp.y --- c-exp.y 1 Jan 2011 15:32:58 -0000 1.80 +++ c-exp.y 14 Jan 2011 21:37:29 -0000 @@ -244,7 +244,7 @@ static struct stoken operator_stoken (co %type block %left COLONCOLON - + %% start : exp1 Index: c-lang.c =================================================================== RCS file: /cvs/src/src/gdb/c-lang.c,v retrieving revision 1.92 diff -u -p -u -p -r1.92 c-lang.c --- c-lang.c 11 Jan 2011 15:10:00 -0000 1.92 +++ c-lang.c 14 Jan 2011 21:37:29 -0000 @@ -770,7 +770,7 @@ c_get_string (struct value *value, gdb_b } } - + /* Evaluating C and C++ expressions. */ /* Convert a UCN. The digits of the UCN start at P and extend no @@ -1077,7 +1077,7 @@ evaluate_subexp_c (struct type *expect_t } - + /* Table mapping opcodes into strings for printing operators and precedences of the operators. */ @@ -1114,7 +1114,7 @@ const struct op_print c_op_print_tab[] = {"--", UNOP_PREDECREMENT, PREC_PREFIX, 0}, {NULL, 0, 0, 0} }; - + enum c_primitive_types { c_primitive_type_int, c_primitive_type_long, Index: c-typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/c-typeprint.c,v retrieving revision 1.68 diff -u -p -u -p -r1.68 c-typeprint.c --- c-typeprint.c 7 Jan 2011 19:36:15 -0000 1.68 +++ c-typeprint.c 14 Jan 2011 21:37:29 -0000 @@ -44,7 +44,7 @@ static void c_type_print_varspec_prefix static void c_type_print_modifier (struct type *, struct ui_file *, int, int); - + /* LEVEL is the depth to indent lines by. */ void Index: c-valprint.c =================================================================== RCS file: /cvs/src/src/gdb/c-valprint.c,v retrieving revision 1.79 diff -u -p -u -p -r1.79 c-valprint.c --- c-valprint.c 14 Jan 2011 19:32:56 -0000 1.79 +++ c-valprint.c 14 Jan 2011 21:37:29 -0000 @@ -30,7 +30,7 @@ #include "c-lang.h" #include "cp-abi.h" #include "target.h" - + /* Print function pointer with inferior address ADDRESS onto stdio stream STREAM. */ @@ -630,7 +630,7 @@ c_val_print (struct type *type, const gd gdb_flush (stream); return (0); } - + int c_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) Index: charset.c =================================================================== RCS file: /cvs/src/src/gdb/charset.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 charset.c --- charset.c 11 Jan 2011 15:10:01 -0000 1.43 +++ charset.c 14 Jan 2011 21:37:29 -0000 @@ -36,7 +36,7 @@ #ifdef USE_WIN32API #include #endif - + /* How GDB's character set support works GDB has three global settings: @@ -74,7 +74,7 @@ GDB simply requires a capable iconv function. Users on platforms without a suitable iconv can use the GNU iconv library. */ - + #ifdef PHONY_ICONV /* Provide a phony iconv that does as little as possible. Also, @@ -194,7 +194,7 @@ phony_iconv (iconv_t utf_flag, const cha #endif - + /* The global lists of character sets and translations. */ @@ -261,7 +261,7 @@ static const char *default_charset_names static const char **charset_enum; - + /* If the target wide character set has big- or little-endian variants, these are the corresponding names. */ static const char *target_wide_charset_be_name; @@ -385,7 +385,7 @@ show_charset (struct ui_file *file, int target_wide_charset_name); } - + /* Accessor functions. */ const char * @@ -427,7 +427,7 @@ target_wide_charset (struct gdbarch *gdb return target_wide_charset_name; } - + /* Host character set management. For the time being, we assume that the host character set is some superset of ASCII. */ @@ -453,7 +453,7 @@ host_hex_value (char c) return 10 + c - 'A'; } - + /* Public character management functions. */ /* A cleanup function which is run to close an iconv descriptor. */ @@ -562,7 +562,7 @@ convert_between_encodings (const char *f do_cleanups (cleanups); } - + /* An iterator that returns host wchar_t's from a target string. */ struct wchar_iterator @@ -713,7 +713,7 @@ wchar_iterate (struct wchar_iterator *it return -1; } - + /* The charset.c module initialization function. */ extern initialize_file_ftype _initialize_charset; /* -Wmissing-prototype */ Index: charset.h =================================================================== RCS file: /cvs/src/src/gdb/charset.h,v retrieving revision 1.13 diff -u -p -u -p -r1.13 charset.h --- charset.h 1 Jan 2011 15:32:58 -0000 1.13 +++ charset.h 14 Jan 2011 21:37:29 -0000 @@ -131,7 +131,7 @@ int wchar_iterate (struct wchar_iterator gdb_wchar_t **out_chars, const gdb_byte **ptr, size_t *len); - + /* GDB needs to know a few details of its execution character set. This knowledge is isolated here and in charset.c. */ Index: coff-pe-read.c =================================================================== RCS file: /cvs/src/src/gdb/coff-pe-read.c,v retrieving revision 1.15 diff -u -p -u -p -r1.15 coff-pe-read.c --- coff-pe-read.c 1 Jan 2011 15:32:58 -0000 1.15 +++ coff-pe-read.c 14 Jan 2011 21:37:29 -0000 @@ -49,7 +49,7 @@ struct read_pe_section_data #define PE_SECTION_INDEX_BSS 2 #define PE_SECTION_TABLE_SIZE 3 #define PE_SECTION_INDEX_INVALID -1 - + /* Get the index of the named section in our own array, which contains text, data and bss in that order. Return PE_SECTION_INDEX_INVALID if passed an unrecognised section name. */ @@ -95,7 +95,7 @@ get_section_vmas (bfd *abfd, asection *s = bfd_get_section_vma (abfd, sectp) - sections[sectix].rva_start; } } - + /* Create a minimal symbol entry for an exported symbol. */ static void @@ -149,7 +149,7 @@ read_pe_truncate_name (char *dll_name) } } } - + /* Low-level support functions, direct from the ld module pe-dll.c. */ static unsigned int pe_get16 (bfd *abfd, int where) @@ -178,7 +178,7 @@ pe_as32 (void *ptr) return b[0] + (b[1] << 8) + (b[2] << 16) + (b[3] << 24); } - + /* Read the (non-debug) export symbol table from a portable executable. Code originally lifted from the ld function pe_implied_import_dll in pe-dll.c. */ Index: coffread.c =================================================================== RCS file: /cvs/src/src/gdb/coffread.c,v retrieving revision 1.116 diff -u -p -u -p -r1.116 coffread.c --- coffread.c 10 Jan 2011 17:14:12 -0000 1.116 +++ coffread.c 14 Jan 2011 21:37:29 -0000 @@ -191,7 +191,7 @@ static void read_one_sym (struct coff_sy union internal_auxent *); static void coff_symtab_read (long, unsigned int, struct objfile *); - + /* We are called once per section from coff_symfile_read. We need to examine each section we are passed, check to see if it is something we are interested in processing, and @@ -360,7 +360,7 @@ coff_alloc_type (int index) } return type; } - + /* Start a new symtab for a new source file. This is called when a COFF ".file" symbol is seen; it indicates the start of data for one original source file. */ @@ -415,7 +415,7 @@ coff_end_symtab (struct objfile *objfile /* Reinitialize for beginning of new file. */ last_source_file = NULL; } - + static struct minimal_symbol * record_minimal_symbol (struct coff_symbol *cs, CORE_ADDR address, enum minimal_symbol_type type, int section, @@ -432,7 +432,7 @@ record_minimal_symbol (struct coff_symbo type, section, bfd_section, objfile); } - + /* coff_symfile_init () is the coff-specific initialization routine for reading symbols. It is passed a struct objfile which contains, among other things, @@ -690,7 +690,7 @@ coff_symfile_finish (struct objfile *obj dwarf2_free_objfile (objfile); } - + /* Given pointers to a symbol table in coff style exec file, analyze them and create struct symtab's describing the symbols. @@ -1144,7 +1144,7 @@ coff_symtab_read (long symtab_offset, un current_objfile = NULL; } - + /* Routines for reading headers and symbols from executable. */ /* Read the next symbol, swap it, and return it in both @@ -1226,7 +1226,7 @@ read_one_sym (struct coff_symbol *cs, } } } - + /* Support for string table handling. */ static char *stringtab = NULL; @@ -1333,7 +1333,7 @@ coff_getfilename (union internal_auxent result = temp + 1; return (result); } - + /* Support for line number handling. */ static char *linetab = NULL; @@ -1441,7 +1441,7 @@ enter_linenos (long file_offset, int fir break; } } - + static void patch_type (struct type *type, struct type *real_type) { @@ -1530,7 +1530,7 @@ patch_opaque_types (struct symtab *s) } } } - + static int coff_reg_to_regnum (struct symbol *sym, struct gdbarch *gdbarch) { @@ -1727,7 +1727,7 @@ process_coff_symbol (struct coff_symbol } return sym; } - + /* Decode a coff type specifier; return the type that is meant. */ static struct type * @@ -1824,7 +1824,7 @@ decode_function_type (struct coff_symbol return decode_type (cs, DECREF (c_type), aux, objfile); } - + /* Basic C types. */ static struct type * @@ -1973,7 +1973,7 @@ decode_base_type (struct coff_symbol *cs _("Unexpected type for symbol %s"), cs->c_name); return objfile_type (objfile)->builtin_void; } - + /* This page contains subroutines of read_type. */ /* Read the description of a structure (or union type) and return an @@ -2067,7 +2067,7 @@ coff_read_struct_type (int index, int le return type; } - + /* Read a definition of an enumeration type, and create and return a suitable type object. Also defines the symbols that represent the values of the type. */ Index: completer.c =================================================================== RCS file: /cvs/src/src/gdb/completer.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 completer.c --- completer.c 1 Jan 2011 15:32:59 -0000 1.43 +++ completer.c 14 Jan 2011 21:37:29 -0000 @@ -85,7 +85,7 @@ static char *gdb_completer_file_name_bre we can't include '"' because the gdb C parser treats such quoted sequences as strings. */ static char *gdb_completer_quote_characters = "'"; - + /* Accessor for some completer data that may interest other files. */ char * Index: core-regset.c =================================================================== RCS file: /cvs/src/src/gdb/core-regset.c,v retrieving revision 1.24 diff -u -p -u -p -r1.24 core-regset.c --- core-regset.c 1 Jan 2011 15:32:59 -0000 1.24 +++ core-regset.c 14 Jan 2011 21:37:29 -0000 @@ -100,7 +100,7 @@ fetch_core_registers (struct regcache *r break; } } - + /* Register that we are able to handle ELF core file formats using standard procfs "regset" structures. */ Index: corefile.c =================================================================== RCS file: /cvs/src/src/gdb/corefile.c,v retrieving revision 1.61 diff -u -p -u -p -r1.61 corefile.c --- corefile.c 1 Jan 2011 15:32:59 -0000 1.61 +++ corefile.c 14 Jan 2011 21:37:29 -0000 @@ -64,7 +64,7 @@ bfd *core_bfd = NULL; /* corelow.c target (if included for this gdb target). */ struct target_ops *core_target; - + /* Backward compatability with old way of specifying core files. */ @@ -81,7 +81,7 @@ core_file_command (char *filename, int f else (core_target->to_open) (filename, from_tty); } - + /* If there are two or more functions that wish to hook into exec_file_command, this function will call all of the hook @@ -178,7 +178,7 @@ reopen_exec_file (void) do_cleanups (cleanups); #endif } - + /* If we have both a core file and an exec file, print a warning if they don't go together. */ @@ -210,7 +210,7 @@ get_exec_file (int err) Use the \"file\" or \"exec-file\" command.")); return NULL; } - + /* Report a memory error by throwing a MEMORY_ERROR error. */ @@ -406,7 +406,7 @@ write_memory_signed_integer (CORE_ADDR a store_signed_integer (buf, len, byte_order, value); write_memory (addr, buf, len); } - + /* The current default bfd target. Points to storage allocated for gnutarget_string. */ char *gnutarget; Index: corelow.c =================================================================== RCS file: /cvs/src/src/gdb/corelow.c,v retrieving revision 1.107 diff -u -p -u -p -r1.107 corelow.c --- corelow.c 5 Jan 2011 22:22:47 -0000 1.107 +++ corelow.c 14 Jan 2011 21:37:29 -0000 @@ -626,7 +626,7 @@ core_files_info (struct target_ops *t) { print_section_info (core_data, core_bfd); } - + struct spuid_list { gdb_byte *buf; @@ -804,7 +804,7 @@ core_xfer_partial (struct target_ops *op } } - + /* If mourn is being called in all the right places, this could be say `gdb internal error' (since generic_mourn calls breakpoint_init_inferior). */ Index: cp-name-parser.y =================================================================== RCS file: /cvs/src/src/gdb/cp-name-parser.y,v retrieving revision 1.19 diff -u -p -u -p -r1.19 cp-name-parser.y --- cp-name-parser.y 1 Jan 2011 15:32:59 -0000 1.19 +++ cp-name-parser.y 14 Jan 2011 21:37:29 -0000 @@ -350,7 +350,7 @@ make_name (const char *name, int len) %right ARROW '.' '[' /* '(' */ %left COLONCOLON - + %% result : start Index: darwin-nat.c =================================================================== RCS file: /cvs/src/src/gdb/darwin-nat.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 darwin-nat.c --- darwin-nat.c 7 Jan 2011 19:36:15 -0000 1.22 +++ darwin-nat.c 14 Jan 2011 21:37:29 -0000 @@ -1500,7 +1500,7 @@ darwin_create_inferior (struct target_op if (ptid_equal (inferior_ptid, null_ptid)) return; } - + /* Attach to process PID, then initialize for debugging it and wait for the trace-trap that results from attaching. */ @@ -1766,7 +1766,7 @@ out: return length; } - + /* Return 0 on failure, number of bytes handled otherwise. TARGET is ignored. */ static int Index: dbxread.c =================================================================== RCS file: /cvs/src/src/gdb/dbxread.c,v retrieving revision 1.120 diff -u -p -u -p -r1.120 dbxread.c --- dbxread.c 7 Jan 2011 19:36:15 -0000 1.120 +++ dbxread.c 14 Jan 2011 21:37:29 -0000 @@ -63,7 +63,7 @@ #include "aout/aout64.h" #include "aout/stab_gnu.h" /* We always use GNU stabs, not native, now. */ - + /* We put a pointer to this structure in the read_symtab_private field of the psymtab. */ @@ -102,7 +102,7 @@ struct symloc #define SYMBOL_OFFSET(p) (SYMLOC(p)->symbol_offset) #define STRING_OFFSET(p) (SYMLOC(p)->string_offset) #define FILE_STRING_OFFSET(p) (SYMLOC(p)->file_string_offset) - + /* Remember what we deduced to be the source language of this psymtab. */ @@ -145,7 +145,7 @@ static int symfile_relocatable = 0; relative to the function start address. */ static int block_address_function_relative = 0; - + /* The lowest text address we have yet encountered. This is needed because in an a.out file, there is no header field which tells us what address the program is actually going to be loaded at, so we @@ -228,7 +228,7 @@ find_text_range (bfd * sym_bfd, struct o DBX_TEXT_ADDR (objfile) = start; DBX_TEXT_SIZE (objfile) = end - start; } - + /* During initial symbol readin, we need to have a structure to keep @@ -424,7 +424,7 @@ explicit_lookup_type (int real_filenum, return &f->vector[index]; } #endif - + static void record_minimal_symbol (char *name, CORE_ADDR address, int type, struct objfile *objfile) @@ -519,7 +519,7 @@ record_minimal_symbol (char *name, CORE_ prim_record_minimal_symbol_and_info (name, address, ms_type, section, bfd_section, objfile); } - + /* Scan and build partial symbols for a symbol file. We have been initialized by a call to dbx_symfile_init, which put all the relevant info into a "struct dbx_symfile_info", @@ -752,7 +752,7 @@ dbx_symfile_finish (struct objfile *objf } free_header_files (); } - + /* Buffer for reading the symbol table entries. */ static struct external_nlist symbuf[4096]; @@ -885,7 +885,7 @@ dbx_next_symbol_text (struct objfile *ob return nlist.n_strx + stringtab_global + file_string_table_offset; } - + /* Initialize the list of bincls to contain none and have some allocated. */ @@ -2396,7 +2396,7 @@ end_psymtab (struct partial_symtab *pst, } return pst; } - + static void dbx_psymtab_to_symtab_1 (struct partial_symtab *pst) { @@ -2708,7 +2708,7 @@ read_ofile_symtab (struct partial_symtab current_objfile = NULL; } - + /* This handles a single symbol from the symbol-file, building symbols into a GDB symtab. It takes these arguments and an implicit argument. @@ -3313,7 +3313,7 @@ process_one_symbol (int type, int desc, previous_stab_code = type; } - + /* FIXME: The only difference between this and elfstab_build_psymtabs is the call to install_minimal_symbols for elf, and the support for split sections. If the differences are really that small, the code @@ -3411,7 +3411,7 @@ coffstab_build_psymtabs (struct objfile dbx_symfile_read (objfile, 0); } - + /* Scan and build partial symbols for an ELF symbol file. This ELF file has already been processed to get its minimal symbols. @@ -3493,7 +3493,7 @@ elfstab_build_psymtabs (struct objfile * if (back_to) do_cleanups (back_to); } - + /* Scan and build partial symbols for a file with special sections for stabs and stabstrings. The file has already been processed to get its minimal symbols, and any other symbols that might be necessary to resolve GSYMs. @@ -3581,7 +3581,7 @@ stabsect_build_psymtabs (struct objfile processing_acc_compilation = 1; dbx_symfile_read (objfile, 0); } - + static const struct sym_fns aout_sym_fns = { bfd_target_aout_flavour, Index: defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.287 diff -u -p -u -p -r1.287 defs.h --- defs.h 7 Jan 2011 19:36:15 -0000 1.287 +++ defs.h 14 Jan 2011 21:37:29 -0000 @@ -425,11 +425,11 @@ extern int parse_pid_to_attach (char *ar extern void set_demangling_style (char *); - + /* Annotation stuff. */ extern int annotation_level; /* in stack.c */ - + extern void begin_line (void); extern void wrap_here (char *); @@ -816,7 +816,7 @@ struct ptid typedef struct ptid ptid_t; - + /* Optional native machine support. Non-native (and possibly pure multi-arch) targets do not need a "nm.h" file. This will be a @@ -1090,7 +1090,7 @@ extern void store_unsigned_integer (gdb_ extern void store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr); - + /* From valops.c */ extern int watchdog; Index: doublest.c =================================================================== RCS file: /cvs/src/src/gdb/doublest.c,v retrieving revision 1.48 diff -u -p -u -p -r1.48 doublest.c --- doublest.c 7 Jan 2011 19:36:16 -0000 1.48 +++ doublest.c 14 Jan 2011 21:37:29 -0000 @@ -273,7 +273,7 @@ convert_floatformat_to_doublest (const s dto = -dto; *to = dto; } - + static void put_field (unsigned char *, enum floatformat_byteorders, unsigned int, unsigned int, unsigned int, unsigned long); @@ -690,7 +690,7 @@ floatformat_mantissa (const struct float return res; } - + /* Convert TO/FROM target to the hosts DOUBLEST floating-point format. If the host and target formats agree, we just copy the raw data @@ -760,7 +760,7 @@ floatformat_from_doublest (const struct convert_doublest_to_floatformat (fmt, in, out); } - + /* Return a floating-point format for a floating-point variable of length LEN. If no suitable floating-point format is found, an error is thrown. Index: dwarf2-frame.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2-frame.c,v retrieving revision 1.119 diff -u -p -u -p -r1.119 dwarf2-frame.c --- dwarf2-frame.c 7 Jan 2011 19:36:16 -0000 1.119 +++ dwarf2-frame.c 14 Jan 2011 21:37:30 -0000 @@ -163,7 +163,7 @@ static CORE_ADDR read_encoded_value (str int ptr_len, const gdb_byte *buf, unsigned int *bytes_read_ptr, CORE_ADDR func_base); - + /* Structure describing a frame state. */ @@ -278,7 +278,7 @@ dwarf2_frame_state_free (void *p) xfree (fs->regs.reg); xfree (fs); } - + /* Helper functions for execute_stack_op. */ @@ -424,7 +424,7 @@ Not implemented: computing unwound regis return result; } - + static void execute_cfa_program (struct dwarf2_fde *fde, const gdb_byte *insn_ptr, @@ -715,7 +715,7 @@ bad CFI data; mismatched DW_CFA_restore_ dwarf2_frame_state_free_regs (fs->regs.prev); fs->regs.prev = NULL; } - + /* Architecture-specific operations. */ @@ -900,7 +900,7 @@ dwarf2_frame_find_quirks (struct dwarf2_ return; } } - + struct dwarf2_frame_cache { @@ -1264,7 +1264,7 @@ dwarf2_append_unwinders (struct gdbarch frame_unwind_append_unwinder (gdbarch, &dwarf2_frame_unwind); frame_unwind_append_unwinder (gdbarch, &dwarf2_signal_frame_unwind); } - + /* There is no explicitly defined relationship between the CFA and the location of frame's local variables and arguments/parameters. @@ -1316,7 +1316,7 @@ dwarf2_frame_cfa (struct frame_info *thi error (_("can't compute CFA for this frame")); return get_frame_base (this_frame); } - + const struct objfile_data *dwarf2_frame_objfile_data; static unsigned int @@ -1410,7 +1410,7 @@ read_initial_length (bfd *abfd, gdb_byte return result; } - + /* Pointer encoding helper functions. */ @@ -1541,7 +1541,7 @@ read_encoded_value (struct comp_unit *un _("Invalid or unsupported encoding")); } } - + static int bsearch_cie_cmp (const void *key, const void *element) @@ -2053,7 +2053,7 @@ Corrupt data in %s:%s; align 8 workaroun return ret; } - + /* Imported from dwarf2read.c. */ extern void dwarf2_get_section_info (struct objfile *, const char *, Index: dwarf2expr.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2expr.c,v retrieving revision 1.54 diff -u -p -u -p -r1.54 dwarf2expr.c --- dwarf2expr.c 7 Jan 2011 19:36:16 -0000 1.54 +++ dwarf2expr.c 14 Jan 2011 21:37:30 -0000 @@ -316,7 +316,7 @@ read_sleb128 (const gdb_byte *buf, const *r = result; return buf; } - + /* Check that the current operator is either at the end of an expression, or that it is followed by a composition operator. */ Index: dwarf2loc.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2loc.c,v retrieving revision 1.103 diff -u -p -u -p -r1.103 dwarf2loc.c --- dwarf2loc.c 12 Jan 2011 16:10:04 -0000 1.103 +++ dwarf2loc.c 14 Jan 2011 21:37:30 -0000 @@ -1206,7 +1206,7 @@ dwarf2_evaluate_loc_desc (struct type *t return dwarf2_evaluate_loc_desc_full (type, frame, data, size, per_cu, 0); } - + /* Helper functions and baton for dwarf2_loc_desc_needs_frame. */ struct needs_frame_baton @@ -2086,7 +2086,7 @@ compile_dwarf_to_ax (struct agent_expr * do_cleanups (cleanups); } - + /* Return the value of SYMBOL in FRAME using the DWARF-2 expression evaluator to calculate the location. */ static struct value * Index: dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.495 diff -u -p -u -p -r1.495 dwarf2read.c --- dwarf2read.c 12 Jan 2011 16:16:20 -0000 1.495 +++ dwarf2read.c 14 Jan 2011 21:37:30 -0000 @@ -1629,7 +1629,7 @@ dwarf2_get_section_info (struct objfile *sizep = info->size; } - + /* DWARF quick_symbols_functions support. */ /* TUs can share .debug_line entries, and there can be a lot more TUs than @@ -2749,7 +2749,7 @@ dwarf2_initialize_objfile (struct objfil return 0; } - + /* Build a partial symbol table. */ @@ -13750,7 +13750,7 @@ dwarf_alloc_die (struct dwarf2_cu *cu, i return (die); } - + /* Macro support. */ /* Return the full name of file number I in *LH's file name table. @@ -15000,7 +15000,7 @@ dwarf2_per_objfile_free (struct objfile munmap_section_buffer (&data->gdb_index); } - + /* The "save gdb-index" command. */ /* The contents of the hash table we create when building the string @@ -15837,7 +15837,7 @@ save_gdb_index_command (char *arg, int f } } - + int dwarf2_always_disassemble; Index: elfread.c =================================================================== RCS file: /cvs/src/src/gdb/elfread.c,v retrieving revision 1.103 diff -u -p -u -p -r1.103 elfread.c --- elfread.c 7 Jan 2011 19:36:16 -0000 1.103 +++ elfread.c 14 Jan 2011 21:37:30 -0000 @@ -1049,7 +1049,7 @@ elfstab_offset_sections (struct objfile complaint (&symfile_complaints, _("elf/stab section information missing for %s"), filename); } - + /* Register that we are able to handle ELF object file formats. */ static const struct sym_fns elf_sym_fns = Index: environ.c =================================================================== RCS file: /cvs/src/src/gdb/environ.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 environ.c --- environ.c 7 Jan 2011 19:36:16 -0000 1.22 +++ environ.c 14 Jan 2011 21:37:30 -0000 @@ -22,7 +22,7 @@ #include "defs.h" #include "environ.h" #include "gdb_string.h" - + /* Return a new environment object. */ @@ -95,7 +95,7 @@ environ_vector (struct gdb_environ *e) { return e->vector; } - + /* Return the value in environment E of variable VAR. */ char * Index: eval.c =================================================================== RCS file: /cvs/src/src/gdb/eval.c,v retrieving revision 1.146 diff -u -p -u -p -r1.146 eval.c --- eval.c 12 Jan 2011 16:16:21 -0000 1.146 +++ eval.c 14 Jan 2011 21:37:30 -0000 @@ -76,7 +76,7 @@ evaluate_subexp (struct type *expect_typ return (*exp->language_defn->la_exp_desc->evaluate_exp) (expect_type, exp, pos, noside); } - + /* Parse the string EXP as a C expression, evaluate it, and return the result as a number. */ @@ -153,7 +153,7 @@ parse_to_comma_and_eval (char **expp) do_cleanups (old_chain); return val; } - + /* Evaluate an expression in internal prefix form such as is constructed by parse.y. @@ -2890,7 +2890,7 @@ evaluate_subexp_standard (struct type *e nosideret: return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1); } - + /* Evaluate a subexpression of EXP, at index *POS, and return the address of that subexpression. Advance *POS over the subexpression. Index: event-loop.c =================================================================== RCS file: /cvs/src/src/gdb/event-loop.c,v retrieving revision 1.48 diff -u -p -u -p -r1.48 event-loop.c --- event-loop.c 5 Jan 2011 22:22:48 -0000 1.48 +++ event-loop.c 14 Jan 2011 21:37:30 -0000 @@ -273,7 +273,7 @@ static void handle_file_event (event_dat static void check_async_event_handlers (void); static int gdb_wait_for_event (int); static void poll_timers (void); - + /* Insert an event object into the gdb event queue at the specified position. @@ -523,7 +523,7 @@ start_event_loop (void) to listen to. So we exit GDB. */ return; } - + /* Wrapper function for create_file_handler, so that the caller doesn't have to know implementation details about the use of poll @@ -983,7 +983,7 @@ gdb_wait_for_event (int block) } return 0; } - + /* Create an asynchronous handler, allocating memory for it. Return a pointer to the newly created handler. Index: event-top.c =================================================================== RCS file: /cvs/src/src/gdb/event-top.c,v retrieving revision 1.75 diff -u -p -u -p -r1.75 event-top.c --- event-top.c 1 Jan 2011 15:33:03 -0000 1.75 +++ event-top.c 14 Jan 2011 21:37:30 -0000 @@ -166,7 +166,7 @@ readline_input_state; /* This hook is called by rl_callback_read_char_wrapper after each character is processed. */ void (*after_char_processing_hook) (); - + /* Wrapper function for calling into the readline library. The event loop expects the callback function to have a paramter, while @@ -465,7 +465,7 @@ async_disable_stdin (void) push_prompt ("", "", ""); } } - + /* Handles a gdb command. This function is called by command_line_handler, which has processed one or more input lines @@ -784,7 +784,7 @@ gdb_readline2 (gdb_client_data client_da result[input_index++] = '\0'; (*input_handler) (result); } - + /* Initialization of signal handlers and tokens. There is a function handle_sig* for each of the signals GDB cares about. Specifically: @@ -1013,7 +1013,7 @@ handle_sigwinch (int sig) signal (sig, handle_sigwinch); } #endif - + /* Called by do_setshow_command. */ void Index: exec.c =================================================================== RCS file: /cvs/src/src/gdb/exec.c,v retrieving revision 1.103 diff -u -p -u -p -r1.103 exec.c --- exec.c 7 Jan 2011 19:36:16 -0000 1.103 +++ exec.c 14 Jan 2011 21:37:30 -0000 @@ -367,7 +367,7 @@ file_command (char *arg, int from_tty) if (deprecated_file_changed_hook) deprecated_file_changed_hook (arg); } - + /* Locate all mappable sections of a BFD file. table_pp_char is a char * to get it through bfd_map_over_sections; @@ -515,7 +515,7 @@ remove_target_sections (bfd *abfd) } } - + static void bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3) { @@ -570,7 +570,7 @@ map_vmap (bfd *abfd, bfd *arch) return vp; } - + int section_table_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf, @@ -655,7 +655,7 @@ exec_xfer_partial (struct target_ops *op else return -1; } - + void print_section_info (struct target_section_table *t, bfd *abfd) Index: f-exp.y =================================================================== RCS file: /cvs/src/src/gdb/f-exp.y,v retrieving revision 1.36 diff -u -p -u -p -r1.36 f-exp.y --- f-exp.y 7 Jan 2011 19:36:16 -0000 1.36 +++ f-exp.y 14 Jan 2011 21:37:30 -0000 @@ -227,7 +227,7 @@ static int parse_number (char *, int, in %right UNARY %right '(' - + %% start : exp Index: f-lang.c =================================================================== RCS file: /cvs/src/src/gdb/f-lang.c,v retrieving revision 1.65 diff -u -p -u -p -r1.65 f-lang.c --- f-lang.c 7 Jan 2011 19:36:16 -0000 1.65 +++ f-lang.c 14 Jan 2011 21:37:30 -0000 @@ -226,7 +226,7 @@ f_printstr (struct ui_file *stream, stru if (force_ellipses || i < length) fputs_filtered ("...", stream); } - + /* Table of operators and their precedences for printing expressions. */ @@ -254,7 +254,7 @@ static const struct op_print f_op_print_ {"@", BINOP_REPEAT, PREC_REPEAT, 0}, {NULL, 0, 0, 0} }; - + enum f_primitive_types { f_primitive_type_character, f_primitive_type_logical, Index: f-typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/f-typeprint.c,v retrieving revision 1.35 diff -u -p -u -p -r1.35 f-typeprint.c --- f-typeprint.c 7 Jan 2011 19:36:16 -0000 1.35 +++ f-typeprint.c 14 Jan 2011 21:37:30 -0000 @@ -47,7 +47,7 @@ void f_type_print_varspec_prefix (struct int, int); void f_type_print_base (struct type *, struct ui_file *, int, int); - + /* LEVEL is the depth to indent lines by. */ Index: f-valprint.c =================================================================== RCS file: /cvs/src/src/gdb/f-valprint.c,v retrieving revision 1.63 diff -u -p -u -p -r1.63 f-valprint.c --- f-valprint.c 7 Jan 2011 19:36:16 -0000 1.63 +++ f-valprint.c 14 Jan 2011 21:37:30 -0000 @@ -237,7 +237,7 @@ Type node corrupt! F77 arrays cannot hav f77_print_array_1 (1, ndimensions, type, valaddr, address, stream, recurse, val, options, &elts); } - + /* Print data of type TYPE located at VALADDR (within GDB), which came from the inferior at address ADDRESS, onto stdio stream STREAM according to Index: findvar.c =================================================================== RCS file: /cvs/src/src/gdb/findvar.c,v retrieving revision 1.132 diff -u -p -u -p -r1.132 findvar.c --- findvar.c 12 Jan 2011 16:10:04 -0000 1.132 +++ findvar.c 14 Jan 2011 21:37:30 -0000 @@ -352,7 +352,7 @@ address_to_signed_pointer (struct gdbarc store_signed_integer (buf, TYPE_LENGTH (type), byte_order, addr); } - + /* Will calling read_var_value or locate_var_value on SYM end up caring what frame it is being evaluated relative to? SYM must be non-NULL. */ Index: frv-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/frv-linux-tdep.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 frv-linux-tdep.c --- frv-linux-tdep.c 7 Jan 2011 19:36:17 -0000 1.22 +++ frv-linux-tdep.c 14 Jan 2011 21:37:30 -0000 @@ -341,7 +341,7 @@ static const struct frame_unwind frv_lin NULL, frv_linux_sigtramp_frame_sniffer }; - + /* The FRV kernel defines ELF_NGREG as 46. We add 2 in order to include the loadmap addresses in the register set. (See below for more info.) */ #define FRV_ELF_NGREG (46 + 2) @@ -491,7 +491,7 @@ frv_linux_regset_from_core_section (stru return NULL; } - + static void frv_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { Index: gdbcore.h =================================================================== RCS file: /cvs/src/src/gdb/gdbcore.h,v retrieving revision 1.42 diff -u -p -u -p -r1.42 gdbcore.h --- gdbcore.h 7 Jan 2011 19:36:19 -0000 1.42 +++ gdbcore.h 14 Jan 2011 21:37:30 -0000 @@ -95,7 +95,7 @@ extern void write_memory_unsigned_intege extern void write_memory_signed_integer (CORE_ADDR addr, int len, enum bfd_endian byte_order, LONGEST value); - + /* Hook for `exec_file_command' command to call. */ extern void (*deprecated_exec_file_display_hook) (char *filename); Index: gdbtypes.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtypes.c,v retrieving revision 1.213 diff -u -p -u -p -r1.213 gdbtypes.c --- gdbtypes.c 11 Jan 2011 19:39:35 -0000 1.213 +++ gdbtypes.c 14 Jan 2011 21:37:30 -0000 @@ -2156,7 +2156,7 @@ is_unique_ancestor (struct type *base, s value_address (val)) == 1; } - + /* Return the sum of the rank of A with the rank of B. */ Index: gnu-nat.c =================================================================== RCS file: /cvs/src/src/gdb/gnu-nat.c,v retrieving revision 1.75 diff -u -p -u -p -r1.75 gnu-nat.c --- gnu-nat.c 7 Jan 2011 19:36:19 -0000 1.75 +++ gnu-nat.c 14 Jan 2011 21:37:31 -0000 @@ -146,7 +146,7 @@ int proc_trace (struct proc *proc, int s __e; }) \ : EIEIO) - + /* The state passed by an exception message. */ struct exc_state { @@ -250,7 +250,7 @@ __proc_pid (struct proc *proc) return proc->inf->pid; } - + /* Update PROC's real suspend count to match it's desired one. Returns true if we think PROC is now in a runnable state. */ int @@ -314,7 +314,7 @@ proc_update_sc (struct proc *proc) return running; } - + /* Thread_abort is called on PROC if needed. PROC must be a thread proc. If PROC is deemed `precious', then nothing is done unless FORCE is true. In particular, a thread is precious if it's running (in which case forcing @@ -391,7 +391,7 @@ proc_get_state (struct proc *proc, int w return 0; } - + /* Set PORT to PROC's exception port. */ error_t proc_get_exception_port (struct proc * proc, mach_port_t * port) @@ -507,7 +507,7 @@ proc_restore_exc_port (struct proc *proc } } - + /* Turns hardware tracing in PROC on or off when SET is true or false, respectively. Returns true on success. */ int @@ -534,7 +534,7 @@ proc_trace (struct proc *proc, int set) return 1; } - + /* A variable from which to assign new TIDs. */ static int next_thread_id = 1; @@ -638,7 +638,7 @@ _proc_free (struct proc *proc) return next; } - + struct inf * make_inf (void) { @@ -692,7 +692,7 @@ inf_clear_wait (struct inf *inf) } } - + void inf_cleanup (struct inf *inf) { @@ -737,7 +737,7 @@ inf_startup (struct inf *inf, int pid) inf_set_pid (inf, pid); } - + /* Close current process, if any, and attach INF to process PORT. */ void inf_set_pid (struct inf *inf, pid_t pid) @@ -787,7 +787,7 @@ inf_set_pid (struct inf *inf, pid_t pid) inf->pid = -1; } - + /* Validates INF's stopped, nomsg and traced field from the actual proc server state. Note that the traced field is only updated from the proc server state if we do not have a message port. If we do @@ -906,7 +906,7 @@ inf_set_traced (struct inf *inf, int on) inf->traced = on; } - + /* Makes all the real suspend count deltas of all the procs in INF match the desired values. Careful to always do thread/task suspend counts in the safe order. Returns true if at least one thread is @@ -960,7 +960,7 @@ inf_update_suspends (struct inf *inf) return 0; } - + /* Converts a GDB pid to a struct proc. */ struct proc * inf_tid_to_thread (struct inf *inf, int tid) @@ -989,7 +989,7 @@ inf_port_to_thread (struct inf *inf, mac return 0; } - + /* Make INF's list of threads be consistent with reality of TASK. */ void inf_validate_procs (struct inf *inf) @@ -1105,7 +1105,7 @@ inf_validate_procs (struct inf *inf) } } - + /* Makes sure that INF's thread list is synced with the actual process. */ int inf_update_procs (struct inf *inf) @@ -1136,7 +1136,7 @@ inf_set_threads_resume_sc (struct inf *i thread->resume_sc = thread->pause_sc; } - + /* Cause INF to continue execution immediately; individual threads may still be suspended (but their suspend counts will be updated). */ void @@ -1180,7 +1180,7 @@ inf_suspend (struct inf *inf) inf_update_suspends (inf); } - + /* INF has one thread PROC that is in single-stepping mode. This function changes it to be PROC, changing any old step_thread to be a normal one. A PROC of 0 clears any existing value. */ @@ -1206,7 +1206,7 @@ inf_set_step_thread (struct inf *inf, st } } - + /* Set up the thread resume_sc's so that only the signal thread is running (plus whatever other thread are set to always run). Returns true if we did so, or false if we can't find a signal thread. */ @@ -1230,7 +1230,7 @@ inf_update_signal_thread (struct inf *in inf->signal_thread = inf->threads ? inf->threads->next : 0; } - + /* Detachs from INF's inferior task, letting it run once again... */ void inf_detach (struct inf *inf) @@ -1285,7 +1285,7 @@ inf_attach (struct inf *inf, int pid) inf_startup (inf, pid); } - + /* Makes sure that we've got our exception ports entrenched in the process. */ void inf_steal_exc_ports (struct inf *inf) @@ -1316,7 +1316,7 @@ inf_restore_exc_ports (struct inf *inf) proc_restore_exc_port (thread); } - + /* Deliver signal SIG to INF. If INF is stopped, delivering a signal, even signal 0, will continue it. INF is assumed to be in a paused state, and the resume_sc's of INF's threads may be affected. */ @@ -1405,7 +1405,7 @@ inf_signal (struct inf *inf, enum target #undef NAME } - + /* Continue INF without delivering a signal. This is meant to be used when INF does not have a message port. */ void @@ -1434,7 +1434,7 @@ inf_continue (struct inf *inf) warning (_("Can't continue process: %s"), safe_strerror (err)); } - + /* The inferior used for all gdb target ops. */ struct inf *gnu_current_inf = 0; @@ -1655,7 +1655,7 @@ rewait: return ptid; } - + /* The rpc handler called by exc_server. */ error_t S_exception_raise_request (mach_port_t port, mach_port_t reply_port, @@ -1741,7 +1741,7 @@ S_exception_raise_request (mach_port_t p return 0; } - + /* Fill in INF's wait field after a task has died without giving us more detailed information. */ void @@ -1795,7 +1795,7 @@ do_mach_notify_dead_name (mach_port_t no return 0; } - + static error_t ill_rpc (char *fun) { @@ -1833,7 +1833,7 @@ do_mach_notify_send_once (mach_port_t no return ill_rpc ("do_mach_notify_send_once"); } - + /* Process_reply server routines. We only use process_wait_reply. */ error_t @@ -1902,7 +1902,7 @@ S_proc_getmsgport_reply (mach_port_t rep return ill_rpc ("S_proc_getmsgport_reply"); } - + /* Msg_reply server routines. We only use msg_sig_post_untraced_reply. */ error_t @@ -1941,7 +1941,7 @@ S_msg_sig_post_reply (mach_port_t reply, return ill_rpc ("S_msg_sig_post_reply"); } - + /* Returns the number of messages queued for the receive right PORT. */ static mach_port_msgcount_t port_msgs_queued (mach_port_t port) @@ -1956,7 +1956,7 @@ port_msgs_queued (mach_port_t port) return status.mps_msgcount; } - + /* Resume execution of the inferior process. If STEP is nonzero, single-step it. @@ -2048,7 +2048,7 @@ gnu_resume (struct target_ops *ops, inf_resume (inf); } - + static void gnu_kill_inferior (struct target_ops *ops) { @@ -2073,7 +2073,7 @@ gnu_mourn_inferior (struct target_ops *o generic_mourn_inferior (); } - + /* Fork an inferior process, and start debugging it. */ /* Set INFERIOR_PID to the first thread available in the child, if any. */ @@ -2149,7 +2149,7 @@ gnu_create_inferior (struct target_ops * inf_restore_exc_ports (inf); } - + /* Attach to process PID, then initialize for debugging it and wait for the trace-trap that results from attaching. */ static void @@ -2208,7 +2208,7 @@ gnu_attach (struct target_ops *ops, char #endif } - + /* Take a program previously attached to and detaches it. The program resumes execution and will no longer stop on signals, etc. We'd better not have left any breakpoints @@ -2242,7 +2242,7 @@ gnu_detach (struct target_ops *ops, char unpush_target (ops); /* Pop out of handling an inferior. */ } - + static void gnu_terminal_init_inferior (void) { @@ -2264,7 +2264,7 @@ gnu_thread_alive (struct target_ops *ops ptid_get_tid (ptid)); } - + /* Read inferior task's LEN bytes from ADDR and copy it to MYADDR in gdb's address space. Return 0 on failure; number of bytes read otherwise. */ @@ -2470,7 +2470,7 @@ out: return length; } - + /* Return 0 on failure, number of bytes handled otherwise. TARGET is ignored. */ static int @@ -2575,7 +2575,7 @@ gnu_find_memory_regions (find_memory_reg return 0; } - + /* Return printable description of proc. */ char * proc_string (struct proc *proc) @@ -2608,7 +2608,7 @@ gnu_pid_to_str (struct target_ops *ops, } } - + /* Create a prototype generic GNU/Hurd target. The client can override it with local methods. */ @@ -2639,7 +2639,7 @@ gnu_target (void) return t; } - + /* User task commands. */ struct cmd_list_element *set_task_cmd_list = 0; @@ -2744,7 +2744,7 @@ active_inf (void) return inf; } - + static void set_task_pause_cmd (char *args, int from_tty) { @@ -2787,7 +2787,7 @@ show_task_detach_sc_cmd (char *args, int cur_inf ()->detach_sc); } - + static void set_thread_default_pause_cmd (char *args, int from_tty) { @@ -2843,7 +2843,7 @@ show_thread_default_detach_sc_cmd (char cur_inf ()->default_thread_detach_sc); } - + /* Steal a send right called NAME in the inferior task, and make it PROC's saved exception port. */ static void @@ -2943,7 +2943,7 @@ show_sig_thread_cmd (char *args, int fro printf_unfiltered ("There is no signal thread.\n"); } - + static void set_signals_cmd (char *args, int from_tty) { @@ -2993,7 +2993,7 @@ show_exceptions_cmd (char *args, int fro : (inf->want_exceptions ? "will be" : "won't be")); } - + static void set_task_cmd (char *args, int from_tty) { @@ -3028,7 +3028,7 @@ show_task_cmd (char *args, int from_tty) show_thread_default_detach_sc_cmd (0, from_tty); } - + static void set_noninvasive_cmd (char *args, int from_tty) { @@ -3040,7 +3040,7 @@ set_noninvasive_cmd (char *args, int fro set_exceptions_cmd (inv_args, from_tty); } - + static void info_port_rights (char *args, mach_port_type_t only) { @@ -3105,7 +3105,7 @@ info_port_rights_cmd (char *args, int fr info_port_rights (args, ~0); } - + static void add_task_commands (void) { @@ -3235,7 +3235,7 @@ This is the same as setting `task pause' add_info_alias ("psets", "port-sets", 1); } - + static void set_thread_pause_cmd (char *args, int from_tty) { @@ -3344,7 +3344,7 @@ thread_takeover_sc_cmd (char *args, int info_len * sizeof (int)); } - + static void add_thread_commands (void) { @@ -3409,7 +3409,7 @@ to the thread's initial suspend-count wh &thread_cmd_list); } - + void _initialize_gnu_nat (void) { @@ -3427,7 +3427,7 @@ _initialize_gnu_nat (void) &setdebuglist, &showdebuglist); } - + #ifdef FLUSH_INFERIOR_CACHE /* When over-writing code on some machines the I-Cache must be flushed Index: gnu-v2-abi.c =================================================================== RCS file: /cvs/src/src/gdb/gnu-v2-abi.c,v retrieving revision 1.40 diff -u -p -u -p -r1.40 gnu-v2-abi.c --- gnu-v2-abi.c 7 Jan 2011 19:36:19 -0000 1.40 +++ gnu-v2-abi.c 14 Jan 2011 21:37:31 -0000 @@ -73,7 +73,7 @@ gnuv2_is_operator_name (const char *name return strncmp (name, "operator", 8) == 0; } - + /* Return a virtual function as a value. ARG1 is the object which provides the virtual function table pointer. *ARG1P is side-effected in calling this function. Index: hppa-hpux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-hpux-nat.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 hppa-hpux-nat.c --- hppa-hpux-nat.c 14 Jan 2011 18:39:31 -0000 1.23 +++ hppa-hpux-nat.c 14 Jan 2011 21:37:31 -0000 @@ -250,7 +250,7 @@ set_hpux_major_release (void) hpux_major_release = atoi (p + 1); } - + /* Prevent warning from -Wmissing-prototypes. */ void _initialize_hppa_hpux_nat (void); Index: hppa-hpux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v retrieving revision 1.79 diff -u -p -u -p -r1.79 hppa-hpux-tdep.c --- hppa-hpux-tdep.c 9 Jan 2011 03:08:54 -0000 1.79 +++ hppa-hpux-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -1271,7 +1271,7 @@ hppa_hpux_push_dummy_code (struct gdbarc return sp; } - + static void hppa_hpux_supply_ss_narrow (struct regcache *regcache, @@ -1396,7 +1396,7 @@ hppa_hpux_regset_from_core_section (stru return NULL; } - + /* Bit in the `ss_flag' member of `struct save_state' that indicates the state was saved from a system call. From @@ -1445,7 +1445,7 @@ hppa_hpux_unwind_pc (struct gdbarch *gdb return hppa_unwind_pc (gdbarch, next_frame); } - + /* Given the current value of the pc, check to see if it is inside a stub, and if so, change the value of the pc to point to the caller of the stub. Index: hppa-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-linux-tdep.c,v retrieving revision 1.40 diff -u -p -u -p -r1.40 hppa-linux-tdep.c --- hppa-linux-tdep.c 9 Jan 2011 03:08:54 -0000 1.40 +++ hppa-linux-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -410,7 +410,7 @@ hppa_linux_find_global_pointer (struct g } return 0; } - + /* * Registers saved in a coredump: * gr0..gr31 @@ -515,7 +515,7 @@ hppa_linux_regset_from_core_section (str return NULL; } - + /* Forward declarations. */ extern initialize_file_ftype _initialize_hppa_linux_tdep; Index: hppa-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-tdep.c,v retrieving revision 1.276 diff -u -p -u -p -r1.276 hppa-tdep.c --- hppa-tdep.c 9 Jan 2011 03:08:54 -0000 1.276 +++ hppa-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -186,7 +186,7 @@ hppa_init_objfile_priv_data (struct objf return priv; } - + /* Compare the start address for two unwind entries returning 1 if the first address is larger than the second, -1 if the second is @@ -1110,7 +1110,7 @@ hppa64_push_dummy_call (struct gdbarch * return sp; } - + /* Handle 32/64-bit struct return conventions. */ @@ -1245,7 +1245,7 @@ hppa64_return_value (struct gdbarch *gdb return RETURN_VALUE_REGISTER_CONVENTION; } - + static CORE_ADDR hppa32_convert_from_func_ptr_addr (struct gdbarch *gdbarch, CORE_ADDR addr, @@ -2715,7 +2715,7 @@ hppa_frame_prev_register_helper (struct return trad_frame_get_prev_register (this_frame, saved_regs, regnum); } - + /* An instruction to match. */ struct insn_pattern @@ -2941,7 +2941,7 @@ hppa_skip_trampoline_code (struct frame_ return pc; } - + /* Here is a table of C type sizes on hppa with various compiles and options. I measured this on PA 9000/800 with HP-UX 11.11 Index: hppabsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/hppabsd-nat.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 hppabsd-nat.c --- hppabsd-nat.c 1 Jan 2011 15:33:07 -0000 1.14 +++ hppabsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -117,7 +117,7 @@ hppabsd_collect_fpregset (struct regcach } } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers (including the floating-point registers). */ Index: hppabsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppabsd-tdep.c,v retrieving revision 1.19 diff -u -p -u -p -r1.19 hppabsd-tdep.c --- hppabsd-tdep.c 1 Jan 2011 15:33:07 -0000 1.19 +++ hppabsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -103,7 +103,7 @@ hppabsd_find_global_pointer (struct gdba return 0; } - + void hppabsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) Index: hppanbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/hppanbsd-nat.c,v retrieving revision 1.6 diff -u -p -u -p -r1.6 hppanbsd-nat.c --- hppanbsd-nat.c 1 Jan 2011 15:33:07 -0000 1.6 +++ hppanbsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -153,7 +153,7 @@ hppanbsd_collect_fpregset (struct regcac } } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers (including the floating-point registers). */ Index: hppanbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppanbsd-tdep.c,v retrieving revision 1.8 diff -u -p -u -p -r1.8 hppanbsd-tdep.c --- hppanbsd-tdep.c 9 Jan 2011 03:08:54 -0000 1.8 +++ hppanbsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -200,7 +200,7 @@ hppanbsd_regset_from_core_section (struc return NULL; } - + static void hppanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -213,7 +213,7 @@ hppanbsd_init_abi (struct gdbarch_info i tramp_frame_prepend_unwinder (gdbarch, &hppanbsd_sigtramp_si4); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern initialize_file_ftype _initialize_hppanbsd_tdep; Index: hppaobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppaobsd-tdep.c,v retrieving revision 1.7 diff -u -p -u -p -r1.7 hppaobsd-tdep.c --- hppaobsd-tdep.c 1 Jan 2011 15:33:07 -0000 1.7 +++ hppaobsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -117,7 +117,7 @@ hppaobsd_regset_from_core_section (struc return NULL; } - + static void hppaobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -129,7 +129,7 @@ hppaobsd_init_abi (struct gdbarch_info i set_gdbarch_regset_from_core_section (gdbarch, hppaobsd_regset_from_core_section); } - + /* OpenBSD uses uses the traditional NetBSD core file format, even for ports that use ELF. */ @@ -143,7 +143,7 @@ hppaobsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_hppabsd_tdep (void); Index: i386-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386-linux-nat.c,v retrieving revision 1.102 diff -u -p -u -p -r1.102 i386-linux-nat.c --- i386-linux-nat.c 9 Jan 2011 03:08:56 -0000 1.102 +++ i386-linux-nat.c 14 Jan 2011 21:37:31 -0000 @@ -85,7 +85,7 @@ /* Does the current host support PTRACE_GETREGSET? */ static int have_ptrace_getregset = -1; - + /* The register sets used in GNU/Linux ELF core-dumps are identical to the register sets in `struct user' that is used for a.out @@ -135,7 +135,7 @@ int have_ptrace_getfpxregs = 0 #endif ; - + /* Accessing registers through the U area, one at a time. */ @@ -196,7 +196,7 @@ store_register (const struct regcache *r gdbarch_register_name (get_regcache_arch (regcache), regno), regno, safe_strerror (errno)); } - + /* Transfering the general-purpose registers between GDB, inferiors and core files. */ @@ -293,7 +293,7 @@ static void fetch_regs (struct regcache static void store_regs (const struct regcache *regcache, int tid, int regno) {} #endif - + /* Transfering floating-point registers between GDB, inferiors and cores. */ @@ -363,7 +363,7 @@ store_fpregs (const struct regcache *reg } #endif - + /* Transfering floating-point and SSE registers to and from GDB. */ @@ -493,7 +493,7 @@ store_fpxregs (const struct regcache *re } #endif /* HAVE_PTRACE_GETFPXREGS */ - + /* Transferring arbitrary registers between GDB and inferior. */ @@ -647,7 +647,7 @@ i386_linux_store_inferior_registers (str internal_error (__FILE__, __LINE__, _("Got request to store bad register number %d."), regno); } - + /* Support for debug registers. */ @@ -773,7 +773,7 @@ i386_linux_new_thread (ptid_t ptid) i386_linux_dr_set (ptid, DR_CONTROL, i386_linux_dr[DR_CONTROL]); } - + /* Called by libthread_db. Returns a pointer to the thread local storage (or its descriptor). */ @@ -813,7 +813,7 @@ ps_get_thread_area (const struct ps_proc *(int *)base = desc[1]; return PS_OK; } - + /* The instruction for a GNU/Linux system call is: int $0x80 Index: i386-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v retrieving revision 1.82 diff -u -p -u -p -r1.82 i386-linux-tdep.c --- i386-linux-tdep.c 9 Jan 2011 03:08:56 -0000 1.82 +++ i386-linux-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -88,7 +88,7 @@ i386_linux_register_reggroup_p (struct g return i386_register_reggroup_p (gdbarch, regnum, group); } - + /* Recognizing signal handler frames. */ /* GNU/Linux has two flavors of signals. Normal signal handlers, and @@ -490,7 +490,7 @@ i386_linux_record_signal (struct gdbarch return 0; } - + static LONGEST i386_linux_get_syscall_number (struct gdbarch *gdbarch, Index: i386-sol2-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-sol2-tdep.c,v retrieving revision 1.31 diff -u -p -u -p -r1.31 i386-sol2-tdep.c --- i386-sol2-tdep.c 1 Jan 2011 15:33:07 -0000 1.31 +++ i386-sol2-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -139,7 +139,7 @@ i386_sol2_init_abi (struct gdbarch_info /* How to print LWP PTIDs from core files. */ set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str); } - + static enum gdb_osabi i386_sol2_osabi_sniffer (bfd *abfd) Index: i386-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-tdep.c,v retrieving revision 1.322 diff -u -p -u -p -r1.322 i386-tdep.c --- i386-tdep.c 9 Jan 2011 03:08:56 -0000 1.322 +++ i386-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -369,7 +369,7 @@ i386_svr4_reg_to_regnum (struct gdbarch return gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch); } - + /* This is the variable that is set with "set disassembly-flavor", and its legitimate values. */ @@ -382,7 +382,7 @@ static const char *valid_flavors[] = NULL }; static const char *disassembly_flavor = att_flavor; - + /* Use the program counter to determine the contents and size of a breakpoint instruction. Return a pointer to a string of bytes that @@ -403,7 +403,7 @@ i386_breakpoint_from_pc (struct gdbarch *len = sizeof (break_insn); return break_insn; } - + /* Displaced instruction handling. */ /* Skip the legacy instruction prefixes in INSN. @@ -780,7 +780,7 @@ i386_relocate_instruction (struct gdbarc append_insns (to, insn_length, buf); } - + #ifdef I386_REGNO_TO_SYMMETRY #error "The Sequent Symmetry is no longer supported." #endif @@ -1573,7 +1573,7 @@ i386_unwind_pc (struct gdbarch *gdbarch, frame_unwind_register (next_frame, gdbarch_pc_regnum (gdbarch), buf); return extract_typed_address (buf, builtin_type (gdbarch)->builtin_func_ptr); } - + /* Normal frames. */ @@ -1828,7 +1828,7 @@ static const struct frame_unwind i386_ep NULL, i386_epilogue_frame_sniffer }; - + /* Signal trampolines. */ @@ -1930,7 +1930,7 @@ static const struct frame_unwind i386_si NULL, i386_sigtramp_frame_sniffer }; - + static CORE_ADDR i386_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -1958,7 +1958,7 @@ i386_dummy_id (struct gdbarch *gdbarch, /* See the end of i386_push_dummy_call. */ return frame_id_build (fp + 8, get_frame_pc (this_frame)); } - + /* Figure out where the longjmp will land. Slurp the args out of the stack. We expect the first arg to be a pointer to the jmp_buf @@ -1992,7 +1992,7 @@ i386_get_longjmp_target (struct frame_in *pc = extract_unsigned_integer (buf, 4, byte_order); return 1; } - + /* Check whether TYPE must be 16-byte-aligned when passed as a function argument. 16-byte vectors, _Decimal128 and structures or @@ -2239,7 +2239,7 @@ i386_store_return_value (struct gdbarch _("Cannot store return value of %d bytes long."), len); } } - + /* This is the variable that is set with "set struct-convention", and its legitimate values. */ @@ -2356,7 +2356,7 @@ i386_return_value (struct gdbarch *gdbar return RETURN_VALUE_REGISTER_CONVENTION; } - + struct type * i387_ext_type (struct gdbarch *gdbarch) @@ -2637,7 +2637,7 @@ i386_pseudo_register_write (struct gdbar internal_error (__FILE__, __LINE__, _("invalid regnum")); } } - + /* Return the register number of the register allocated by GCC after REGNUM, or -1 if there is no such register. */ @@ -2764,7 +2764,7 @@ i386_value_to_register (struct frame_inf from += 4; } } - + /* Supply register REGNUM from the buffer specified by GREGS and LEN in the general-purpose register set REGSET to register cache REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */ @@ -2912,7 +2912,7 @@ i386_regset_from_core_section (struct gd return NULL; } - + /* Stuff for WIN32 PE style DLL's but is pretty generic really. */ @@ -2942,7 +2942,7 @@ i386_pe_skip_trampoline_code (struct fra } return 0; /* Not a trampoline. */ } - + /* Return whether the THIS_FRAME corresponds to a sigtramp routine. */ @@ -2956,7 +2956,7 @@ i386_sigtramp_p (struct frame_info *this find_pc_partial_function (pc, &name, NULL, NULL); return (name && strcmp ("_sigtramp", name) == 0); } - + /* We have two flavours of disassembly. The machinery on this page deals with switching between those. */ @@ -2973,7 +2973,7 @@ i386_print_insn (bfd_vma pc, struct disa return print_insn_i386 (pc, info); } - + /* There are a few i386 architecture variants that differ only slightly from the generic i386 target. For now, we don't give them @@ -3015,7 +3015,7 @@ i386_svr4_sigcontext_addr (struct frame_ return read_memory_unsigned_integer (sp + 8, 4, byte_order); } - + /* Generic ELF. */ @@ -3072,7 +3072,7 @@ i386_go32_init_abi (struct gdbarch_info set_gdbarch_has_dos_based_file_system (gdbarch, 1); } - + /* i386 register groups. In addition to the normal groups, add "mmx" and "sse". */ @@ -3162,7 +3162,7 @@ i386_register_reggroup_p (struct gdbarch return default_register_reggroup_p (gdbarch, regnum, group); } - + /* Get the ARGIth function argument for the current function. */ @@ -6880,7 +6880,7 @@ i386_validate_tdesc_p (struct gdbarch_td return valid_p; } - + static struct gdbarch * i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { @@ -7172,7 +7172,7 @@ i386_coff_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_i386_tdep (void); Index: i386-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/i386-tdep.h,v retrieving revision 1.74 diff -u -p -u -p -r1.74 i386-tdep.h --- i386-tdep.h 9 Jan 2011 03:08:56 -0000 1.74 +++ i386-tdep.h 14 Jan 2011 21:37:31 -0000 @@ -378,7 +378,7 @@ extern void i386_svr4_init_abi (struct g extern int i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR addr); - + /* Functions and variables exported from i386bsd-tdep.c. */ Index: i386bsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386bsd-nat.c,v retrieving revision 1.44 diff -u -p -u -p -r1.44 i386bsd-nat.c --- i386bsd-nat.c 1 Jan 2011 15:33:08 -0000 1.44 +++ i386bsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -34,7 +34,7 @@ #include "i387-tdep.h" #include "i386bsd-nat.h" #include "inf-ptrace.h" - + /* In older BSD versions we cannot get at some of the segment registers. FreeBSD for example didn't support the %fs and %gs @@ -84,7 +84,7 @@ static int i386bsd_r_reg_offset[] = so that we try PT_GETXMMREGS the first time around. */ static int have_ptrace_xmmregs = -1; #endif - + /* Supply the general-purpose registers in GREGS, to REGCACHE. */ @@ -252,7 +252,7 @@ i386bsd_target (void) t->to_store_registers = i386bsd_store_inferior_registers; return t; } - + /* Support for debug registers. */ @@ -329,7 +329,7 @@ i386bsd_dr_get_status (void) } #endif /* PT_GETDBREGS */ - + void _initialize_i386bsd_nat (void) Index: i386bsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386bsd-tdep.c,v retrieving revision 1.35 diff -u -p -u -p -r1.35 i386bsd-tdep.c --- i386bsd-tdep.c 1 Jan 2011 15:33:08 -0000 1.35 +++ i386bsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -47,7 +47,7 @@ i386bsd_sigcontext_addr (struct frame_in return read_memory_unsigned_integer (sp + 8, 4, byte_order); } - + /* Support for shared libraries. */ @@ -88,7 +88,7 @@ i386bsd_init_abi (struct gdbarch_info in tdep->sc_num_regs = ARRAY_SIZE (i386bsd_sc_reg_offset); } - + static enum gdb_osabi i386bsd_aout_osabi_sniffer (bfd *abfd) { @@ -110,7 +110,7 @@ i386bsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_i386bsd_tdep (void); Index: i386fbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386fbsd-nat.c,v retrieving revision 1.21 diff -u -p -u -p -r1.21 i386fbsd-nat.c --- i386fbsd-nat.c 1 Jan 2011 15:33:08 -0000 1.21 +++ i386fbsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -79,7 +79,7 @@ i386fbsd_resume (struct target_ops *ops, target_signal_to_host (signal)) == -1) perror_with_name (("ptrace")); } - + /* Support for debugging kernel virtual memory images. */ @@ -115,7 +115,7 @@ i386fbsd_supply_pcb (struct regcache *re return 1; } - + /* Prevent warning from -Wmissing-prototypes. */ void _initialize_i386fbsd_nat (void); Index: i386fbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386fbsd-tdep.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 i386fbsd-tdep.c --- i386fbsd-tdep.c 1 Jan 2011 15:33:08 -0000 1.14 +++ i386fbsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -221,7 +221,7 @@ i386fbsd4_init_abi (struct gdbarch_info tdep->sc_num_regs = ARRAY_SIZE (i386fbsd4_sc_reg_offset); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_i386fbsd_tdep (void); Index: i386gnu-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386gnu-nat.c,v retrieving revision 1.41 diff -u -p -u -p -r1.41 i386gnu-nat.c --- i386gnu-nat.c 9 Jan 2011 03:08:56 -0000 1.41 +++ i386gnu-nat.c 14 Jan 2011 21:37:31 -0000 @@ -59,7 +59,7 @@ static int reg_offset[] = #define REG_ADDR(state, regnum) ((char *)(state) + reg_offset[regnum]) #define CREG_ADDR(state, regnum) ((const char *)(state) + reg_offset[regnum]) - + /* Get the whole floating-point state of THREAD and record the values of the corresponding (pseudo) registers. */ @@ -167,7 +167,7 @@ gnu_fetch_registers (struct target_ops * fetch_fpregs (regcache, thread); } } - + /* Store the whole floating-point state into THREAD using information from the corresponding (pseudo) registers. */ Index: i386nbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386nbsd-nat.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 i386nbsd-nat.c --- i386nbsd-nat.c 1 Jan 2011 15:33:08 -0000 1.23 +++ i386nbsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -71,7 +71,7 @@ i386nbsd_supply_pcb (struct regcache *re return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_i386nbsd_nat (void); Index: i386nbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386nbsd-tdep.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 i386nbsd-tdep.c --- i386nbsd-tdep.c 9 Jan 2011 03:08:56 -0000 1.43 +++ i386nbsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -267,7 +267,7 @@ i386nbsd_sigtramp_cache_init (const stru /* Construct the frame ID using the function start. */ trad_frame_set_id (this_cache, frame_id_build (sp, func)); } - + static void i386nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) Index: i386obsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/i386obsd-nat.c,v retrieving revision 1.17 diff -u -p -u -p -r1.17 i386obsd-nat.c --- i386obsd-nat.c 1 Jan 2011 15:33:08 -0000 1.17 +++ i386obsd-nat.c 14 Jan 2011 21:37:31 -0000 @@ -88,7 +88,7 @@ i386obsd_supply_pcb (struct regcache *re return 1; } - + /* Prevent warning from -Wmissing-prototypes. */ void _initialize_i386obsd_nat (void); Index: i386obsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386obsd-tdep.c,v retrieving revision 1.40 diff -u -p -u -p -r1.40 i386obsd-tdep.c --- i386obsd-tdep.c 1 Jan 2011 15:33:08 -0000 1.40 +++ i386obsd-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -113,7 +113,7 @@ i386obsd_sigtramp_p (struct frame_info * return 0; } - + /* Mapping between the general-purpose registers in `struct reg' format and GDB's register cache layout. */ @@ -173,7 +173,7 @@ i386obsd_aout_regset_from_core_section ( return NULL; } - + /* Sigtramp routine location for OpenBSD 3.1 and earlier releases. */ CORE_ADDR i386obsd_sigtramp_start_addr = 0xbfbfdf20; @@ -316,7 +316,7 @@ i386obsd_collect_uthread (const struct r } } } - + /* Kernel debugging support. */ /* From . Note that %esp and %ess are only saved in @@ -439,7 +439,7 @@ static const struct frame_unwind i386obs NULL, i386obsd_trapframe_sniffer }; - + static void i386obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -504,7 +504,7 @@ i386obsd_elf_init_abi (struct gdbarch_in set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_i386obsd_tdep (void); Index: i387-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i387-tdep.c,v retrieving revision 1.66 diff -u -p -u -p -r1.66 i387-tdep.c --- i387-tdep.c 9 Jan 2011 03:08:56 -0000 1.66 +++ i387-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -282,7 +282,7 @@ i387_print_float_info (struct gdbarch *g fprintf_filtered (file, "Opcode: %s\n", hex_string_custom (fop ? (fop | 0xd800) : 0, 4)); } - + /* Return nonzero if a value of type TYPE stored in register REGNUM needs any special handling. */ @@ -353,7 +353,7 @@ i387_value_to_register (struct frame_inf convert_typed_floating (from, type, to, i387_ext_type (gdbarch)); put_frame_register (frame, regnum, to); } - + /* Handle FSAVE and FXSAVE formats. */ @@ -383,7 +383,7 @@ static int fsave_offset[] = #define FSAVE_ADDR(tdep, fsave, regnum) \ (fsave + fsave_offset[regnum - I387_ST0_REGNUM (tdep)]) - + /* Fill register REGNUM in REGCACHE with the appropriate value from *FSAVE. This function masks off any of the reserved bits in @@ -478,7 +478,7 @@ i387_collect_fsave (const struct regcach regcache_raw_collect (regcache, i, FSAVE_ADDR (tdep, regs, i)); } } - + /* At fxsave_offset[REGNUM] you'll find the offset to the location in the data structure used by the "fxsave" instruction where GDB @@ -531,7 +531,7 @@ static int fxsave_offset[] = #define FXSAVE_MXCSR_ADDR(fxsave) (fxsave + 24) static int i387_tag (const gdb_byte *raw); - + /* Fill register REGNUM in REGCACHE with the appropriate floating-point or SSE register value from *FXSAVE. This function Index: i387-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/i387-tdep.h,v retrieving revision 1.26 diff -u -p -u -p -r1.26 i387-tdep.h --- i387-tdep.h 1 Jan 2011 15:33:08 -0000 1.26 +++ i387-tdep.h 14 Jan 2011 21:37:31 -0000 @@ -74,7 +74,7 @@ extern void i387_register_to_value (stru extern void i387_value_to_register (struct frame_info *frame, int regnum, struct type *type, const gdb_byte *from); - + /* Size of the memory area use by the 'fsave' and 'fxsave' instructions. */ Index: ia64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ia64-tdep.c,v retrieving revision 1.211 diff -u -p -u -p -r1.211 ia64-tdep.c --- ia64-tdep.c 13 Jan 2011 16:24:42 -0000 1.211 +++ ia64-tdep.c 14 Jan 2011 21:37:31 -0000 @@ -2336,7 +2336,7 @@ static const struct frame_unwind ia64_si ia64_sigtramp_frame_sniffer }; - + static CORE_ADDR ia64_frame_base_address (struct frame_info *this_frame, void **this_cache) Index: inf-ptrace.c =================================================================== RCS file: /cvs/src/src/gdb/inf-ptrace.c,v retrieving revision 1.74 diff -u -p -u -p -r1.74 inf-ptrace.c --- inf-ptrace.c 1 Jan 2011 15:33:08 -0000 1.74 +++ inf-ptrace.c 14 Jan 2011 21:37:31 -0000 @@ -37,7 +37,7 @@ #include "inf-child.h" #include "gdbthread.h" - + #ifdef PT_GET_PROCESS_STATE @@ -98,7 +98,7 @@ inf_ptrace_follow_fork (struct target_op } #endif /* PT_GET_PROCESS_STATE */ - + /* Prepare to be traced. */ @@ -647,7 +647,7 @@ inf_ptrace_target (void) return t; } - + /* Pointer to a function that returns the offset within the user area where a particular register is stored. */ Index: inf-ttrace.c =================================================================== RCS file: /cvs/src/src/gdb/inf-ttrace.c,v retrieving revision 1.58 diff -u -p -u -p -r1.58 inf-ttrace.c --- inf-ttrace.c 13 Jan 2011 16:23:33 -0000 1.58 +++ inf-ttrace.c 14 Jan 2011 21:37:31 -0000 @@ -40,7 +40,7 @@ #include "inf-child.h" #include "inf-ttrace.h" - + /* HP-UX uses a threading model where each user-space thread corresponds to a kernel thread. These kernel threads are called @@ -53,7 +53,7 @@ /* Number of active lwps. */ static int inf_ttrace_num_lwps; - + /* On HP-UX versions that have the ttrace(2) system call, we can implement "hardware" watchpoints by fiddling with the protection of @@ -400,7 +400,7 @@ inf_ttrace_stopped_by_watchpoint (void) return 0; } - + /* When tracking a vfork(2), we cannot detach from the parent until after the child has called exec(3) or has exited. If we are still @@ -541,7 +541,7 @@ inf_ttrace_follow_fork (struct target_op return 0; } - + /* File descriptors for pipes used as semaphores during initial startup of an inferior. */ @@ -1282,7 +1282,7 @@ inf_ttrace_pid_to_str (struct target_ops (long) pid, (long) lwpid); return buf; } - + /* Implement the get_ada_task_ptid target_ops method. */ @@ -1292,7 +1292,7 @@ inf_ttrace_get_ada_task_ptid (long lwp, return ptid_build (ptid_get_pid (inferior_ptid), lwp, 0); } - + struct target_ops * inf_ttrace_target (void) { @@ -1322,7 +1322,7 @@ inf_ttrace_target (void) return t; } #endif - + /* Prevent warning from -Wmissing-prototypes. */ void _initialize_hppa_hpux_nat (void); Index: infcall.c =================================================================== RCS file: /cvs/src/src/gdb/infcall.c,v retrieving revision 1.138 diff -u -p -u -p -r1.138 infcall.c --- infcall.c 9 Jan 2011 03:08:56 -0000 1.138 +++ infcall.c 14 Jan 2011 21:37:31 -0000 @@ -1043,7 +1043,7 @@ When the function is done executing, GDB return retval; } } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_infcall (void); Index: infcmd.c =================================================================== RCS file: /cvs/src/src/gdb/infcmd.c,v retrieving revision 1.274 diff -u -p -u -p -r1.274 infcmd.c --- infcmd.c 9 Jan 2011 03:08:56 -0000 1.274 +++ infcmd.c 14 Jan 2011 21:37:31 -0000 @@ -164,7 +164,7 @@ enum stop_stack_kind stop_stack_dummy; int stopped_by_random_signal; - + /* Accessor routines. */ /* Set the io terminal for the current inferior. Ownership of @@ -264,7 +264,7 @@ show_args_command (struct ui_file *file, deprecated_show_value_hack (file, from_tty, c, get_inferior_args ()); } - + /* Compute command-line string given argument vector. This does the same shell processing as fork_inferior. */ char * @@ -356,7 +356,7 @@ construct_inferior_arguments (int argc, return result; } - + /* This function detects whether or not a '&' character (indicating background execution) has been added as *the last* of the arguments ARGS @@ -605,7 +605,7 @@ run_no_args_command (char *args, int fro { set_inferior_args (""); } - + /* Start the execution of the program up until the beginning of the main program. */ @@ -782,7 +782,7 @@ continue_command (char *args, int from_t continue_1 (all_threads); } - + /* Record the starting point of a "step" or "next" command. */ static void @@ -1053,7 +1053,7 @@ step_once (int skip_subroutines, int sin } } - + /* Continue program at specified address. */ static void @@ -1146,7 +1146,7 @@ jump_command (char *arg, int from_tty) clear_proceed_status (); proceed (addr, TARGET_SIGNAL_0, 0); } - + /* Go to line or address in current procedure. */ static void @@ -1160,7 +1160,7 @@ go_command (char *line_no, int from_tty) jump_command (line_no, from_tty); } } - + /* Continue program giving it specified signal. */ @@ -1367,7 +1367,7 @@ advance_command (char *arg, int from_tty until_break_command (arg, from_tty, 1); } - + /* Print the result of a function at the end of a 'finish' command. */ static void @@ -1705,7 +1705,7 @@ finish_command (char *arg, int from_tty) else finish_forward (function, frame); } - + static void program_info (char *args, int from_tty) @@ -1773,7 +1773,7 @@ program_info (char *args, int from_tty) "registers\" for more information.\n")); } } - + static void environment_info (char *var, int from_tty) { @@ -1920,7 +1920,7 @@ path_command (char *dirname, int from_tt if (from_tty) path_info ((char *) NULL, from_tty); } - + /* Print out the machine register regnum. If regnum is -1, print all registers (print_all == 1) or all non-float and non-vector @@ -2195,7 +2195,7 @@ vector_info (char *args, int from_tty) print_vector_info (gdb_stdout, get_selected_frame (NULL), args); } - + /* Kill the inferior process. Make us have no inferior. */ static void @@ -2715,7 +2715,7 @@ float_info (char *args, int from_tty) print_float_info (gdb_stdout, get_selected_frame (NULL), args); } - + static void unset_command (char *args, int from_tty) { Index: inferior.c =================================================================== RCS file: /cvs/src/src/gdb/inferior.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 inferior.c --- inferior.c 9 Jan 2011 03:08:56 -0000 1.23 +++ inferior.c 14 Jan 2011 21:37:31 -0000 @@ -934,7 +934,7 @@ show_print_inferior_events (struct ui_fi fprintf_filtered (file, _("Printing of inferior events is %s.\n"), value); } - + /* Keep a registry of per-inferior data-pointers required by other GDB modules. */ Index: inferior.h =================================================================== RCS file: /cvs/src/src/gdb/inferior.h,v retrieving revision 1.149 diff -u -p -u -p -r1.149 inferior.h --- inferior.h 9 Jan 2011 03:08:56 -0000 1.149 +++ inferior.h 14 Jan 2011 21:37:31 -0000 @@ -366,7 +366,7 @@ extern int debug_displaced; void displaced_step_dump_bytes (struct ui_file *file, const gdb_byte *buf, size_t len); - + /* Possible values for gdbarch_call_dummy_location. */ #define ON_STACK 1 #define AT_ENTRY_POINT 4 Index: inflow.c =================================================================== RCS file: /cvs/src/src/gdb/inflow.c,v retrieving revision 1.63 diff -u -p -u -p -r1.63 inflow.c --- inflow.c 10 Jan 2011 17:14:12 -0000 1.63 +++ inflow.c 14 Jan 2011 21:37:31 -0000 @@ -48,7 +48,7 @@ extern void _initialize_inflow (void); static void pass_signal (int); static void terminal_ours_1 (int); - + /* Record terminal status separately for debugger and inferior. */ static struct serial *stdin_serial; @@ -617,7 +617,7 @@ child_terminal_info (char *args, int fro serial_print_tty_state (stdin_serial, tinfo->ttystate, gdb_stdout); } - + /* NEW_TTY_PREFORK is called before forking a new child process, so we can record the state of ttys in the child to be formed. TTYNAME is null if we are to share the terminal with gdb; @@ -730,7 +730,7 @@ new_tty_postfork (void) inferior_thisrun_terminal = NULL; } - + /* Call set_sigint_trap when you need to pass a signal on to an attached process when handling SIGINT. */ @@ -769,7 +769,7 @@ clear_sigint_trap (void) osig_set = 0; } } - + /* Create a new session if the inferior will run in a different tty. A session is UNIX's way of grouping processes that share a controlling Index: infrun.c =================================================================== RCS file: /cvs/src/src/gdb/infrun.c,v retrieving revision 1.467 diff -u -p -u -p -r1.467 infrun.c --- infrun.c 9 Jan 2011 03:08:56 -0000 1.467 +++ infrun.c 14 Jan 2011 21:37:32 -0000 @@ -362,7 +362,7 @@ show_follow_fork_mode_string (struct ui_ "call of fork or vfork is \"%s\".\n"), value); } - + /* Tell the target to follow the fork we're stopped at. Returns true if the inferior should be resumed; false, if the target for some @@ -907,7 +907,7 @@ static int stepping_past_singlestep_brea breakpoint in the thread which hit the breakpoint, but then continue stepping the thread user has selected. */ static ptid_t deferred_step_ptid; - + /* Displaced stepping. */ /* In non-stop debugging mode, we must take special care to manage @@ -1498,7 +1498,7 @@ infrun_thread_ptid_changed (ptid_t old_p } } - + /* Resuming. */ /* Things to clean up if we QUIT out of resume (). */ @@ -1774,7 +1774,7 @@ a command like `return' or `jump' to con discard_cleanups (old_cleanups); } - + /* Proceeding. */ /* Clear out all variables saying what to do when inferior is continued. @@ -2129,7 +2129,7 @@ proceed (CORE_ADDR addr, enum target_sig normal_stop (); } } - + /* Start remote-debugging of a machine over a serial link. */ @@ -2189,7 +2189,7 @@ init_wait_for_inferior (void) clear_inline_frame_state (minus_one_ptid); } - + /* This enum encodes possible reasons for doing a target_wait, so that wfi can call target_wait in one place. (Ultimately the call will be moved out of the infinite loop entirely.) */ @@ -5806,7 +5806,7 @@ hook_stop_stub (void *cmd) execute_cmd_pre_hook ((struct cmd_list_element *) cmd); return (0); } - + int signal_stop_state (int signo) { @@ -6239,7 +6239,7 @@ siginfo_make_value (struct gdbarch *gdba return allocate_value (builtin_type (gdbarch)->builtin_void); } - + /* infcall_suspend_state contains state about the program itself like its registers and any signal it received when it last stopped. This state must be restored regardless of how the inferior function call @@ -6520,7 +6520,7 @@ discard_infcall_control_state (struct in xfree (inf_status); } - + int inferior_has_forked (ptid_t pid, ptid_t *child_pid) { @@ -6710,7 +6710,7 @@ save_inferior_ptid (void) *saved_ptid_ptr = inferior_ptid; return make_cleanup (restore_inferior_ptid, saved_ptid_ptr); } - + /* User interface for reverse debugging: Set exec-direction / show exec-direction commands Index: jv-exp.y =================================================================== RCS file: /cvs/src/src/gdb/jv-exp.y,v retrieving revision 1.42 diff -u -p -u -p -r1.42 jv-exp.y --- jv-exp.y 9 Jan 2011 03:08:57 -0000 1.42 +++ jv-exp.y 14 Jan 2011 21:37:32 -0000 @@ -200,7 +200,7 @@ static int parse_number (char *, int, in %right INCREMENT DECREMENT %right '.' '[' '(' - + %% start : exp1 Index: language.c =================================================================== RCS file: /cvs/src/src/gdb/language.c,v retrieving revision 1.101 diff -u -p -u -p -r1.101 language.c --- language.c 9 Jan 2011 03:08:57 -0000 1.101 +++ language.c 14 Jan 2011 21:37:32 -0000 @@ -115,7 +115,7 @@ static const char *case_sensitive; frame do not match. */ char lang_frame_mismatch_warn[] = "Warning: the current language does not match this frame."; - + /* This page contains the functions corresponding to GDB commands and their helpers. */ @@ -445,7 +445,7 @@ set_language (enum language lang) return prev_language; } - + /* Print out the current language settings: language, range and type checking. If QUIETLY, print only what has changed. */ @@ -470,7 +470,7 @@ language_info (int quietly) show_case_command (NULL, 1, NULL, NULL); } } - + /* Return the result of a binary operation. */ #if 0 /* Currently unused */ @@ -746,7 +746,7 @@ structured_type (struct type *type) } } #endif - + /* This page contains functions that return info about (struct value) values used in GDB. */ @@ -762,7 +762,7 @@ value_true (struct value *val) should be an error, probably). */ return !value_logical_not (val); } - + /* This page contains functions for the printing out of error messages that occur during type- and range- checking. */ @@ -825,7 +825,7 @@ range_error (const char *string,...) } va_end (args); } - + /* This page contains miscellaneous functions. */ @@ -889,7 +889,7 @@ show_check (char *ignore, int from_tty) { cmd_show_list (showchecklist, from_tty, ""); } - + /* Add a language to the set of known languages. */ void @@ -1283,7 +1283,7 @@ const struct language_defn local_languag default_get_string, LANG_MAGIC }; - + /* Per-architecture language information. */ static struct gdbarch_data *language_gdbarch_data; Index: language.h =================================================================== RCS file: /cvs/src/src/gdb/language.h,v retrieving revision 1.72 diff -u -p -u -p -r1.72 language.h --- language.h 9 Jan 2011 03:08:57 -0000 1.72 +++ language.h 14 Jan 2011 21:37:32 -0000 @@ -117,7 +117,7 @@ enum macro_expansion macro_expansion_no, macro_expansion_c }; - + /* Per architecture (OS/ABI) language information. */ struct language_arch_info @@ -371,7 +371,7 @@ struct type *language_lookup_primitive_t struct gdbarch *gdbarch, const char *name); - + /* These macros define the behaviour of the expression evaluator. */ @@ -390,7 +390,7 @@ struct type *language_lookup_primitive_t extern void language_info (int); extern enum language set_language (enum language); - + /* This page contains functions that return things that are specific to languages. Each of these functions is based on Index: linespec.c =================================================================== RCS file: /cvs/src/src/gdb/linespec.c,v retrieving revision 1.109 diff -u -p -u -p -r1.109 linespec.c --- linespec.c 9 Jan 2011 03:08:57 -0000 1.109 +++ linespec.c 14 Jan 2011 21:37:32 -0000 @@ -663,7 +663,7 @@ find_method_overload_end (char *p) return p; } - + /* The parser of linespec itself. */ /* Parse a string that specifies a line number. @@ -925,7 +925,7 @@ decode_line_1 (char **argptr, int funfir file_symtab, not_found_ptr); } - + /* Now, more helper functions for decode_line_1. Some conventions that these functions follow: @@ -969,7 +969,7 @@ initialize_defaults (struct symtab **def } } - + /* Decode arg of the form *PC. */ @@ -994,7 +994,7 @@ decode_indirect (char **argptr) return values; } - + /* Locate the first half of the linespec, ending in a colon, period, or whitespace. (More or less.) Also, check to see if *ARGPTR is @@ -1106,7 +1106,7 @@ locate_first_half (char **argptr, int *i return p; } - + /* Here's where we recognise an Objective-C Selector. An Objective C selector may be implemented by more than one class, therefore it @@ -1647,7 +1647,7 @@ find_method (int funfirstline, char ***c } } - + /* Return the symtab associated to the filename given by the substring of *ARGPTR ending at P, and advance ARGPTR past that filename. If @@ -1699,7 +1699,7 @@ symtab_from_filename (char **argptr, cha return file_symtab; } - + /* This decodes a line where the argument is all digits (possibly preceded by a sign). Q should point to the end of those digits; @@ -1790,7 +1790,7 @@ decode_all_digits (char **argptr, struct return values; } - + /* Decode a linespec starting with a dollar sign. */ @@ -1865,7 +1865,7 @@ decode_dollar (char *copy, int funfirstl return values; } - + /* A helper for decode_line_1 that tries to find a label. The label is searched for in the current block. @@ -1927,7 +1927,7 @@ decode_variable (char *copy, int funfirs } - + /* Now come some functions that are called from multiple places within decode_line_1. */ Index: linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/linux-nat.c,v retrieving revision 1.192 diff -u -p -u -p -r1.192 linux-nat.c --- linux-nat.c 11 Jan 2011 19:16:20 -0000 1.192 +++ linux-nat.c 14 Jan 2011 21:37:32 -0000 @@ -366,7 +366,7 @@ static struct lwp_info *add_lwp (ptid_t static void purge_lwp_list (int pid); static struct lwp_info *find_lwp_pid (ptid_t ptid); - + /* Trivial list manipulation functions to keep track of a list of new stopped processes. */ static void @@ -404,7 +404,7 @@ linux_record_stopped_pid (int pid, int s add_to_pid_list (&stopped_pids, pid, status); } - + /* A helper function for linux_test_for_tracefork, called after fork (). */ static void @@ -617,7 +617,7 @@ linux_enable_tracesysgood (ptid_t ptid) ptrace (PTRACE_SETOPTIONS, pid, 0, current_ptrace_options); } - + void linux_enable_event_reporting (ptid_t ptid) { @@ -973,7 +973,7 @@ holding the child stopped. Try \"set de return 0; } - + static int linux_child_insert_fork_catchpoint (int pid) { @@ -1042,7 +1042,7 @@ linux_child_set_syscall_catchpoint (int /* List of known LWPs. */ struct lwp_info *lwp_list; - + /* Original signal mask. */ static sigset_t normal_mask; @@ -1078,14 +1078,14 @@ restore_child_signals_mask (sigset_t *pr { sigprocmask (SIG_SETMASK, prev_mask, NULL); } - + /* Prototypes for local functions. */ static int stop_wait_callback (struct lwp_info *lp, void *data); static int linux_thread_alive (ptid_t ptid); static char *linux_child_pid_to_exec_file (int pid); - + /* Convert wait status STATUS to a string. Used for printing debug messages only. */ @@ -5808,7 +5808,7 @@ enabled by default on some platforms."), &show_disable_randomization, &setlist, &showlist); } - + /* FIXME: kettenis/2000-08-26: The stuff on this page is specific to the GNU/Linux Threads library and therefore doesn't really belong Index: linux-thread-db.c =================================================================== RCS file: /cvs/src/src/gdb/linux-thread-db.c,v retrieving revision 1.80 diff -u -p -u -p -r1.80 linux-thread-db.c --- linux-thread-db.c 9 Jan 2011 03:08:57 -0000 1.80 +++ linux-thread-db.c 14 Jan 2011 21:37:32 -0000 @@ -250,7 +250,7 @@ delete_thread_db_info (int pid) static int attach_thread (ptid_t ptid, const td_thrhandle_t *th_p, const td_thrinfo_t *ti_p); static void detach_thread (ptid_t ptid); - + /* Use "struct private_thread_info" to cache thread state. This is a substantial optimization. */ @@ -264,7 +264,7 @@ struct private_thread_info td_thrhandle_t th; thread_t tid; }; - + static char * thread_db_err_str (td_err_e err) @@ -332,7 +332,7 @@ thread_db_err_str (td_err_e err) return buf; } } - + /* Return 1 if any threads have been registered. There may be none if the threading library is not fully initialized yet. */ @@ -410,7 +410,7 @@ thread_get_info_callback (const td_thrha return 0; } - + /* Convert between user-level thread ids and LWP ids. */ static ptid_t @@ -451,7 +451,7 @@ thread_from_lwp (ptid_t ptid) gdb_assert (ptid_get_tid (ptid) == 0); return ptid; } - + /* Attach to lwp PTID, doing whatever else is required to have this LWP under the debugger's control --- e.g., enabling event Index: m2-exp.y =================================================================== RCS file: /cvs/src/src/gdb/m2-exp.y,v retrieving revision 1.33 diff -u -p -u -p -r1.33 m2-exp.y --- m2-exp.y 9 Jan 2011 03:20:33 -0000 1.33 +++ m2-exp.y 14 Jan 2011 21:37:32 -0000 @@ -201,7 +201,7 @@ static struct block *modblock=0; %right QID */ - + %% start : exp Index: m2-lang.c =================================================================== RCS file: /cvs/src/src/gdb/m2-lang.c,v retrieving revision 1.59 diff -u -p -u -p -r1.59 m2-lang.c --- m2-lang.c 9 Jan 2011 03:20:33 -0000 1.59 +++ m2-lang.c 14 Jan 2011 21:37:32 -0000 @@ -280,7 +280,7 @@ evaluate_subexp_modula2 (struct type *ex nosideret: return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1); } - + /* Table of operators and their precedences for printing expressions. */ @@ -317,7 +317,7 @@ static const struct op_print m2_op_print {"TRUNC", UNOP_TRUNC, PREC_BUILTIN_FUNCTION, 0}, {NULL, 0, 0, 0} }; - + /* The built-in types of Modula-2. */ enum m2_primitive_types { Index: m32c-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m32c-tdep.c,v retrieving revision 1.41 diff -u -p -u -p -r1.41 m32c-tdep.c --- m32c-tdep.c 10 Jan 2011 17:14:12 -0000 1.41 +++ m32c-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -45,7 +45,7 @@ #include "prologue-value.h" #include "target.h" - + /* The m32c tdep structure. */ static struct reggroup *m32c_dma_reggroup; @@ -144,7 +144,7 @@ struct gdbarch_tdep int push_addr_bytes; }; - + /* Types. */ static void @@ -226,7 +226,7 @@ make_types (struct gdbarch *arch) } - + /* Register set. */ static const char * @@ -974,7 +974,7 @@ make_regs (struct gdbarch *arch) } - + /* Breakpoints. */ static const unsigned char * @@ -987,7 +987,7 @@ m32c_breakpoint_from_pc (struct gdbarch } - + /* Prologue analysis. */ struct m32c_prologue @@ -1827,7 +1827,7 @@ m32c_skip_prologue (struct gdbarch *gdba } - + /* Stack unwinding. */ static struct m32c_prologue * @@ -1954,7 +1954,7 @@ m32c_unwind_sp (struct gdbarch *arch, st return frame_unwind_register_unsigned (next_frame, tdep->sp->num); } - + /* Inferior calls. */ /* The calling conventions, according to GCC: @@ -2140,7 +2140,7 @@ m32c_dummy_id (struct gdbarch *gdbarch, } - + /* Return values. */ /* Return value conventions, according to GCC: @@ -2263,7 +2263,7 @@ m32c_return_value (struct gdbarch *gdbar } - + /* Trampolines. */ /* The m16c and m32c use a trampoline function for indirect function @@ -2591,7 +2591,7 @@ m32c_virtual_frame_pointer (struct gdbar _("No virtual frame pointer available")); } - + /* Initialization. */ static struct gdbarch * Index: m32r-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/m32r-linux-nat.c,v retrieving revision 1.16 diff -u -p -u -p -r1.16 m32r-linux-nat.c --- m32r-linux-nat.c 9 Jan 2011 03:20:33 -0000 1.16 +++ m32r-linux-nat.c 14 Jan 2011 21:37:32 -0000 @@ -35,7 +35,7 @@ #include "gregset.h" #include "m32r-tdep.h" - + @@ -59,7 +59,7 @@ static int regmap[] = { /* Doee (??) apply to the corresponding SET requests as well. */ #define GETREGS_SUPPLIES(regno) (0 <= (regno) \ && (regno) <= M32R_LINUX_NUM_REGS) - + /* Transfering the general-purpose registers between GDB, inferiors @@ -169,7 +169,7 @@ store_regs (const struct regcache *regca if (ptrace (PTRACE_SETREGS, tid, 0, (int) ®s) < 0) perror_with_name (_("Couldn't write registers")); } - + /* Transfering floating-point registers between GDB, inferiors and cores. @@ -185,7 +185,7 @@ fill_fpregset (const struct regcache *re gdb_fpregset_t *fpregs, int regno) { } - + /* Transferring arbitrary registers between GDB and inferior. */ Index: m32r-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m32r-linux-tdep.c,v retrieving revision 1.16 diff -u -p -u -p -r1.16 m32r-linux-tdep.c --- m32r-linux-tdep.c 1 Jan 2011 15:33:10 -0000 1.16 +++ m32r-linux-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -40,7 +40,7 @@ #include "m32r-tdep.h" #include "linux-tdep.h" - + /* Recognizing signal handler frames. */ Index: m68hc11-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68hc11-tdep.c,v retrieving revision 1.134 diff -u -p -u -p -r1.134 m68hc11-tdep.c --- m68hc11-tdep.c 9 Jan 2011 03:20:33 -0000 1.134 +++ m68hc11-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -397,7 +397,7 @@ m68hc11_breakpoint_from_pc (struct gdbar return breakpoint; } - + /* 68HC11 & 68HC12 prologue analysis. */ #define MAX_CODES 12 @@ -1005,7 +1005,7 @@ m68hc11_dummy_id (struct gdbarch *gdbarc return frame_id_build (tos, pc); } - + /* Get and print the register from the given frame. */ static void m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, @@ -1361,7 +1361,7 @@ gdb_print_insn_m68hc11 (bfd_vma memaddr, return print_insn_m68hc12 (memaddr, info); } - + /* 68HC11/68HC12 register groups. Identify real hard registers and soft registers used by gcc. */ Index: m68k-stub.c =================================================================== RCS file: /cvs/src/src/gdb/m68k-stub.c,v retrieving revision 1.4 diff -u -p -u -p -r1.4 m68k-stub.c --- m68k-stub.c 30 Mar 2006 16:44:12 -0000 1.4 +++ m68k-stub.c 14 Jan 2011 21:37:32 -0000 @@ -150,7 +150,7 @@ enum regnames {D0,D1,D2,D3,D4,D5,D6,D7, FPCONTROL,FPSTATUS,FPIADDR }; - + /* We keep a whole frame cache here. "Why?", I hear you cry, "doesn't GDB handle that sort of thing?" Well, yes, I believe the only reason for this cache is to save and restore floating point state Index: m68k-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68k-tdep.c,v retrieving revision 1.152 diff -u -p -u -p -r1.152 m68k-tdep.c --- m68k-tdep.c 9 Jan 2011 03:20:33 -0000 1.152 +++ m68k-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -38,7 +38,7 @@ #include "target-descriptions.h" #include "m68k-tdep.h" - + #define P_LINKL_FP 0x480e #define P_LINKW_FP 0x4e56 @@ -69,7 +69,7 @@ m68k_local_breakpoint_from_pc (struct gd *lenptr = sizeof (break_insn); return break_insn; } - + /* Construct types for ISA-specific registers. */ static struct type * @@ -186,7 +186,7 @@ m68k_register_name (struct gdbarch *gdba else return m68k_register_names[regnum]; } - + /* Return nonzero if a value of type TYPE stored in register REGNUM needs any special handling. */ @@ -248,7 +248,7 @@ m68k_value_to_register (struct frame_inf put_frame_register (frame, regnum, to); } - + /* There is a fair number of calling conventions that are in somewhat wide use. The 68000/08/10 don't support an FPU, not even as a coprocessor. All function return values are stored in %d0/%d1. @@ -481,7 +481,7 @@ m68k_svr4_return_value (struct gdbarch * return RETURN_VALUE_REGISTER_CONVENTION; } - + /* Always align the frame to a 4-byte boundary. This is required on coldfire and harmless on the rest. */ @@ -570,7 +570,7 @@ m68k_dwarf_reg_to_regnum (struct gdbarch return gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch); } - + struct m68k_frame_cache { /* Base address. */ @@ -864,7 +864,7 @@ m68k_unwind_pc (struct gdbarch *gdbarch, frame_unwind_register (next_frame, gdbarch_pc_regnum (gdbarch), buf); return extract_typed_address (buf, builtin_type (gdbarch)->builtin_func_ptr); } - + /* Normal frames. */ static struct m68k_frame_cache * @@ -972,7 +972,7 @@ static const struct frame_unwind m68k_fr NULL, default_frame_sniffer }; - + static CORE_ADDR m68k_frame_base_address (struct frame_info *this_frame, void **this_cache) { @@ -999,7 +999,7 @@ m68k_dummy_id (struct gdbarch *gdbarch, /* See the end of m68k_push_dummy_call. */ return frame_id_build (fp + 8, get_frame_pc (this_frame)); } - + /* Figure out where the longjmp will land. Slurp the args out of the stack. We expect the first arg to be a pointer to the jmp_buf structure from which @@ -1041,7 +1041,7 @@ m68k_get_longjmp_target (struct frame_in / TARGET_CHAR_BIT, byte_order); return 1; } - + /* System V Release 4 (SVR4). */ @@ -1056,7 +1056,7 @@ m68k_svr4_init_abi (struct gdbarch_info /* SVR4 uses %a0 instead of %a1. */ tdep->struct_value_regnum = M68K_A0_REGNUM; } - + /* Function: m68k_gdbarch_init Initializer function for the m68k gdbarch vector. Index: m68k-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/m68k-tdep.h,v retrieving revision 1.20 diff -u -p -u -p -r1.20 m68k-tdep.h --- m68k-tdep.h 1 Jan 2011 15:33:10 -0000 1.20 +++ m68k-tdep.h 14 Jan 2011 21:37:32 -0000 @@ -100,7 +100,7 @@ struct gdbarch_tdep /* Initialize a SVR4 architecture variant. */ extern void m68k_svr4_init_abi (struct gdbarch_info, struct gdbarch *); - + /* Functions exported from m68kbsd-tdep.c. */ Index: m68kbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/m68kbsd-nat.c,v retrieving revision 1.17 diff -u -p -u -p -r1.17 m68kbsd-nat.c --- m68kbsd-nat.c 1 Jan 2011 15:33:10 -0000 1.17 +++ m68kbsd-nat.c 14 Jan 2011 21:37:32 -0000 @@ -104,7 +104,7 @@ m68kbsd_collect_fpregset (struct regcach regs + m68kbsd_fpreg_offset (gdbarch, i)); } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers (including the floating-point registers). */ @@ -173,7 +173,7 @@ m68kbsd_store_inferior_registers (struct perror_with_name (_("Couldn't write floating point status")); } } - + /* Support for debugging kernel virtual memory images. */ @@ -220,7 +220,7 @@ m68kbsd_supply_pcb (struct regcache *reg return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_m68kbsd_nat (void); Index: m68kbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68kbsd-tdep.c,v retrieving revision 1.18 diff -u -p -u -p -r1.18 m68kbsd-tdep.c --- m68kbsd-tdep.c 1 Jan 2011 15:33:10 -0000 1.18 +++ m68kbsd-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -133,7 +133,7 @@ m68kbsd_regset_from_core_section (struct return NULL; } - + /* Signal trampolines. */ @@ -187,7 +187,7 @@ static const struct tramp_frame m68kobsd }, m68kobsd_sigtramp_cache_init }; - + static void m68kbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -234,7 +234,7 @@ m68kbsd_elf_init_abi (struct gdbarch_inf set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); } - + static enum gdb_osabi m68kbsd_aout_osabi_sniffer (bfd *abfd) @@ -254,7 +254,7 @@ m68kbsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_m68kbsd_tdep (void); Index: m68klinux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/m68klinux-nat.c,v retrieving revision 1.53 diff -u -p -u -p -r1.53 m68klinux-nat.c --- m68klinux-nat.c 9 Jan 2011 03:20:33 -0000 1.53 +++ m68klinux-nat.c 14 Jan 2011 21:37:32 -0000 @@ -52,7 +52,7 @@ /* Prototypes for supply_gregset etc. */ #include "gregset.h" - + /* This table must line up with gdbarch_register_name in "m68k-tdep.c". */ static const int regmap[] = { @@ -91,7 +91,7 @@ int have_ptrace_getregs = #endif ; - + /* Fetching registers directly from the U area, one at a time. */ @@ -204,7 +204,7 @@ old_store_inferior_registers (const stru } } } - + /* Given a pointer to a general register set in /proc format (elf_gregset_t *), unpack the register contents and supply them as gdb's idea of the current register values. */ @@ -296,7 +296,7 @@ static void store_regs (const struct reg #endif - + /* Transfering floating-point registers between GDB, inferiors and cores. */ /* What is the address of fpN within the floating-point register set F? */ @@ -391,7 +391,7 @@ static void store_fpregs (const struct r } #endif - + /* Transferring arbitrary registers between GDB and inferior. */ /* Fetch register REGNO from the child process. If REGNO is -1, do @@ -499,7 +499,7 @@ m68k_linux_store_inferior_registers (str internal_error (__FILE__, __LINE__, _("Got request to store bad register number %d."), regno); } - + /* Interpreting register set info found in core files. */ /* Provide registers to GDB from a core file. @@ -555,7 +555,7 @@ fetch_core_registers (struct regcache *r break; } } - + /* Register that we are able to handle GNU/Linux ELF core file formats. */ Index: m68klinux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68klinux-tdep.c,v retrieving revision 1.36 diff -u -p -u -p -r1.36 m68klinux-tdep.c --- m68klinux-tdep.c 1 Jan 2011 15:33:10 -0000 1.36 +++ m68klinux-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -39,7 +39,7 @@ #include "observer.h" #include "elf/common.h" #include "linux-tdep.h" - + /* Offsets (in target ints) into jmp_buf. */ #define M68K_LINUX_JB_ELEMENT_SIZE 4 Index: m88k-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m88k-tdep.c,v retrieving revision 1.39 diff -u -p -u -p -r1.39 m88k-tdep.c --- m88k-tdep.c 9 Jan 2011 03:20:33 -0000 1.39 +++ m88k-tdep.c 14 Jan 2011 21:37:32 -0000 @@ -84,7 +84,7 @@ m88k_register_type (struct gdbarch *gdba return builtin_type (gdbarch)->builtin_int32; } - + static CORE_ADDR m88k_addr_bits_remove (struct gdbarch *gdbarch, CORE_ADDR addr) @@ -143,7 +143,7 @@ m88k_write_pc (struct regcache *regcache regcache_cooked_write_unsigned (regcache, M88K_SNIP_REGNUM, pc | 2); regcache_cooked_write_unsigned (regcache, M88K_SFIP_REGNUM, (pc + 4) | 2); } - + /* The functions on this page are intended to be used to classify function arguments. */ @@ -375,7 +375,7 @@ m88k_dummy_id (struct gdbarch *arch, str sp = get_frame_register_unsigned (this_frame, M88K_R31_REGNUM); return frame_id_build (sp, get_frame_pc (this_frame)); } - + /* Determine, for architecture GDBARCH, how a return value of TYPE should be returned. If it is supposed to be returned in registers, @@ -431,7 +431,7 @@ m88k_return_value (struct gdbarch *gdbar return RETURN_VALUE_REGISTER_CONVENTION; } - + /* Default frame unwinder. */ struct m88k_frame_cache @@ -754,7 +754,7 @@ static const struct frame_unwind m88k_fr NULL, default_frame_sniffer }; - + static CORE_ADDR m88k_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -774,7 +774,7 @@ static const struct frame_base m88k_fram m88k_frame_base_address, m88k_frame_base_address }; - + /* Core file support. */ @@ -817,7 +817,7 @@ m88k_regset_from_core_section (struct gd return NULL; } - + static struct gdbarch * m88k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) @@ -872,7 +872,7 @@ m88k_gdbarch_init (struct gdbarch_info i return gdbarch; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_m88k_tdep (void); Index: m88kbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/m88kbsd-nat.c,v retrieving revision 1.13 diff -u -p -u -p -r1.13 m88kbsd-nat.c --- m88kbsd-nat.c 1 Jan 2011 15:33:10 -0000 1.13 +++ m88kbsd-nat.c 14 Jan 2011 21:37:32 -0000 @@ -58,7 +58,7 @@ m88kbsd_collect_gregset (const struct re regcache_raw_collect (regcache, i, regs + i * 4); } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers. */ @@ -95,7 +95,7 @@ m88kbsd_store_inferior_registers (struct (PTRACE_TYPE_ARG3) ®s, 0) == -1) perror_with_name (_("Couldn't write registers")); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_m88kbsd_nat (void); Index: macrocmd.c =================================================================== RCS file: /cvs/src/src/gdb/macrocmd.c,v retrieving revision 1.25 diff -u -p -u -p -r1.25 macrocmd.c --- macrocmd.c 9 Jan 2011 03:20:33 -0000 1.25 +++ macrocmd.c 14 Jan 2011 21:37:32 -0000 @@ -27,7 +27,7 @@ #include "gdbcmd.h" #include "gdb_string.h" - + /* The `macro' prefix command. */ static struct cmd_list_element *macrolist; @@ -41,7 +41,7 @@ macro_command (char *arg, int from_tty) } - + /* Macro expansion commands. */ @@ -195,7 +195,7 @@ info_macro_command (char *name, int from } - + /* User-defined macros. */ static void @@ -383,7 +383,7 @@ macro_list_command (char *exp, int from_ } - + /* Initializing the `macrocmd' module. */ extern initialize_file_ftype _initialize_macrocmd; /* -Wmissing-prototypes */ Index: macroexp.c =================================================================== RCS file: /cvs/src/src/gdb/macroexp.c,v retrieving revision 1.26 diff -u -p -u -p -r1.26 macroexp.c --- macroexp.c 9 Jan 2011 03:20:33 -0000 1.26 +++ macroexp.c 14 Jan 2011 21:37:32 -0000 @@ -27,7 +27,7 @@ #include "c-lang.h" - + /* A resizeable, substringable string type. */ @@ -169,7 +169,7 @@ appendmem (struct macro_buffer *b, char } - + /* Recognizing preprocessor tokens. */ @@ -548,7 +548,7 @@ get_token (struct macro_buffer *tok, } - + /* Appending token strings, with and without splicing */ @@ -683,7 +683,7 @@ stringify (struct macro_buffer *dest, ch dest->last_token = dest->len; } - + /* Expanding macros! */ Index: macrotab.c =================================================================== RCS file: /cvs/src/src/gdb/macrotab.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 macrotab.c --- macrotab.c 9 Jan 2011 03:20:33 -0000 1.23 +++ macrotab.c 14 Jan 2011 21:37:32 -0000 @@ -29,7 +29,7 @@ #include "bcache.h" #include "complaints.h" - + /* The macro table structure. */ struct macro_table @@ -73,7 +73,7 @@ struct macro_table }; - + /* Allocation and freeing functions. */ /* Allocate SIZE bytes of memory appropriately for the macro table T. @@ -147,7 +147,7 @@ macro_bcache_free (struct macro_table *t } - + /* Macro tree keys, w/their comparison, allocation, and freeing functions. */ /* A key in the splay tree. */ @@ -372,7 +372,7 @@ macro_tree_delete_key (void *untyped_key } - + /* Building and querying the tree of #included files. */ @@ -546,7 +546,7 @@ macro_lookup_inclusion (struct macro_sou } - + /* Registering and looking up macro definitions. */ @@ -963,7 +963,7 @@ macro_for_each_in_scope (struct macro_so } - + /* Creating and freeing macro tables. */ Index: mdebugread.c =================================================================== RCS file: /cvs/src/src/gdb/mdebugread.c,v retrieving revision 1.118 diff -u -p -u -p -r1.118 mdebugread.c --- mdebugread.c 9 Jan 2011 03:20:33 -0000 1.118 +++ mdebugread.c 14 Jan 2011 21:37:33 -0000 @@ -77,7 +77,7 @@ extern void _initialize_mdebugread (void case the symbol's ELF section could not be represented in ECOFF. */ #define ECOFF_IN_ELF(bfd) (bfd_get_flavour (bfd) == bfd_target_elf_flavour \ && bfd_get_section_by_name (bfd, ".mdebug") != NULL) - + /* We put a pointer to this structure in the read_symtab_private field of the psymtab. */ @@ -118,7 +118,7 @@ struct symloc #define SC_IS_BSS(sc) ((sc) == scBss) #define SC_IS_SBSS(sc) ((sc) == scSBss) #define SC_IS_UNDEF(sc) ((sc) == scUndefined || (sc) == scSUndefined) - + /* Various complaints about symbol reading that don't abort the process. */ static void index_complaint (const char *arg1) @@ -167,7 +167,7 @@ unexpected_type_code_complaint (const ch #define compare_glevel(a,b) \ (((a) == GLEVEL_3) ? ((b) < GLEVEL_3) : \ ((b) == GLEVEL_3) ? -1 : (int)((b) - (a))) - + /* Things that really are local to this module. */ /* Remember what we deduced to be the source language of this psymtab. */ @@ -263,7 +263,7 @@ static void handle_psymbol_enumerators ( CORE_ADDR); static char *mdebug_next_symbol_text (struct objfile *); - + /* Exported procedure: Builds a symtab from the PST partial one. Restores the environment in effect when PST was created, delegates most of the work to an ancillary procedure, and sorts @@ -292,7 +292,7 @@ mdebug_psymtab_to_symtab (struct partial if (info_verbose) printf_filtered (_("done.\n")); } - + /* File-level interface functions. */ /* Find a file descriptor given its index RF relative to a file CF. */ @@ -382,7 +382,7 @@ mdebug_build_psymtabs (struct objfile *o } #endif } - + /* Local utilities */ /* Map of FDR indexes to partial symtabs. */ @@ -517,7 +517,7 @@ add_pending (FDR *fh, char *sh, struct t pending_list[f_idx] = p; } } - + /* Parsing Routines proper. */ @@ -2236,7 +2236,7 @@ parse_lines (FDR *fh, PDR *pr, struct li } } } - + static void function_outside_compilation_unit_complaint (const char *arg1) { @@ -4352,7 +4352,7 @@ psymtab_to_symtab_1 (struct partial_symt current_objfile = NULL; } - + /* Ancillary parsing procedures. */ /* Return 1 if the symbol pointed to by SH has a cross reference @@ -4674,7 +4674,7 @@ add_line (struct linetable *lt, int line lt->item[lt->nitems++].pc = adr << 2; return lineno; } - + /* Sorting and reordering procedures. */ /* Blocks with a smaller low bound should come first. */ @@ -4740,7 +4740,7 @@ sort_blocks (struct symtab *s) BLOCK_END (BLOCKVECTOR_BLOCK (bv, STATIC_BLOCK)) = BLOCK_END (BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK)); } - + /* Constructor/restructor/destructor procedures. */ @@ -4888,7 +4888,7 @@ new_type (char *name) INIT_CPLUS_SPECIFIC (t); return t; } - + /* Read ECOFF debugging information from a BFD section. This is called from elfread.c. It parses the section into a ecoff_debug_info struct, and then lets the rest of the file handle Index: memattr.c =================================================================== RCS file: /cvs/src/src/gdb/memattr.c,v retrieving revision 1.42 diff -u -p -u -p -r1.42 memattr.c --- memattr.c 9 Jan 2011 03:20:33 -0000 1.42 +++ memattr.c 14 Jan 2011 21:37:33 -0000 @@ -309,7 +309,7 @@ mem_clear (void) { VEC_free (mem_region_s, mem_region_list); } - + static void mem_command (char *args, int from_tty) @@ -405,7 +405,7 @@ mem_command (char *args, int from_tty) create_mem_region (lo, hi, &attrib); } - + static void mem_info_command (char *args, int from_tty) @@ -540,7 +540,7 @@ mem_info_command (char *args, int from_t gdb_flush (gdb_stdout); } } - + /* Enable the memory region number NUM. */ @@ -594,7 +594,7 @@ mem_enable_command (char *args, int from p++; } } - + /* Disable the memory region number NUM. */ @@ -718,7 +718,7 @@ static void dummy_cmd (char *args, int from_tty) { } - + extern initialize_file_ftype _initialize_mem; /* -Wmissing-prototype */ static struct cmd_list_element *mem_set_cmdlist; Index: mep-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mep-tdep.c,v retrieving revision 1.29 diff -u -p -u -p -r1.29 mep-tdep.c --- mep-tdep.c 10 Jan 2011 17:14:12 -0000 1.29 +++ mep-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -56,7 +56,7 @@ #include "opcodes/mep-desc.h" #include "opcodes/mep-opc.h" - + /* The gdbarch_tdep structure. */ /* A quick recap for GDB hackers not familiar with the whole Toshiba @@ -149,7 +149,7 @@ struct gdbarch_tdep }; - + /* Getting me_module information from the CGEN tables. */ @@ -432,7 +432,7 @@ me_module_name (CONFIG_ATTR me_module) else return mep_config_map[me_module].name; } - + /* Register set. */ @@ -1267,7 +1267,7 @@ mep_pseudo_register_write (struct gdbarc } - + /* Disassembly. */ /* The mep disassembler needs to know about the section in order to @@ -1292,7 +1292,7 @@ mep_gdb_print_insn (bfd_vma pc, disassem return 0; } - + /* Prologue analysis. */ @@ -1920,7 +1920,7 @@ mep_skip_prologue (struct gdbarch *gdbar } - + /* Breakpoints. */ static const unsigned char * @@ -1932,7 +1932,7 @@ mep_breakpoint_from_pc (struct gdbarch * } - + /* Frames and frame unwinding. */ @@ -2112,7 +2112,7 @@ mep_unwind_sp (struct gdbarch *gdbarch, } - + /* Return values. */ @@ -2225,7 +2225,7 @@ Try using the 'return' command with no a return RETURN_VALUE_REGISTER_CONVENTION; } - + /* Inferior calls. */ @@ -2381,7 +2381,7 @@ mep_dummy_id (struct gdbarch *gdbarch, s } - + /* Initialization. */ Index: microblaze-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/microblaze-tdep.c,v retrieving revision 1.5 diff -u -p -u -p -r1.5 microblaze-tdep.c --- microblaze-tdep.c 9 Jan 2011 03:20:33 -0000 1.5 +++ microblaze-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -41,7 +41,7 @@ #include "opcodes/microblaze-opcm.h" #include "opcodes/microblaze-dis.h" #include "microblaze-tdep.h" - + /* Instruction macros used for analyzing the prologue. */ /* This set of instruction macros need to be changed whenever the prologue generated by the compiler could have more instructions or @@ -78,7 +78,7 @@ static const char *microblaze_register_n }; #define MICROBLAZE_NUM_REGS ARRAY_SIZE (microblaze_register_names) - + static int microblaze_debug_flag = 0; void @@ -94,7 +94,7 @@ microblaze_debug (const char *fmt, ...) va_end (args); } } - + /* Return the name of register REGNUM. */ static const char * @@ -117,7 +117,7 @@ microblaze_register_type (struct gdbarch return builtin_type (gdbarch)->builtin_int; } - + /* Fetch the instruction at PC. */ unsigned long @@ -132,7 +132,7 @@ microblaze_fetch_instruction (CORE_ADDR return extract_unsigned_integer (buf, 4, byte_order); } - + static CORE_ADDR microblaze_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp, @@ -166,7 +166,7 @@ microblaze_breakpoint_from_pc (struct gd *len = sizeof (break_insn); return break_insn; } - + /* Allocate and initialize a frame cache. */ static struct microblaze_frame_cache * @@ -526,7 +526,7 @@ static const struct frame_unwind microbl NULL, default_frame_sniffer }; - + static CORE_ADDR microblaze_frame_base_address (struct frame_info *next_frame, void **this_cache) @@ -544,7 +544,7 @@ static const struct frame_base microblaz microblaze_frame_base_address, microblaze_frame_base_address }; - + /* Extract from an array REGBUF containing the (raw) register state, a function return value of TYPE, and copy that into VALBUF. */ static void @@ -633,7 +633,7 @@ microblaze_write_pc (struct regcache *re { regcache_cooked_write_unsigned (regcache, MICROBLAZE_PC_REGNUM, pc); } - + static int dwarf2_to_reg_map[78] = { 0 /* r0 */, 1 /* r1 */, 2 /* r2 */, 3 /* r3 */, /* 0- 3 */ 4 /* r4 */, 5 /* r5 */, 6 /* r6 */, 7 /* r7 */, /* 4- 7 */ Index: minsyms.c =================================================================== RCS file: /cvs/src/src/gdb/minsyms.c,v retrieving revision 1.76 diff -u -p -u -p -r1.76 minsyms.c --- minsyms.c 9 Jan 2011 03:20:33 -0000 1.76 +++ minsyms.c 14 Jan 2011 21:37:33 -0000 @@ -731,7 +731,7 @@ lookup_minimal_symbol_and_objfile (const return 0; } - + /* Return leading symbol character for a BFD. If BFD is NULL, return the leading symbol character from the main objfile. */ Index: mips64obsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/mips64obsd-nat.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 mips64obsd-nat.c --- mips64obsd-nat.c 1 Jan 2011 15:33:11 -0000 1.12 +++ mips64obsd-nat.c 14 Jan 2011 21:37:33 -0000 @@ -72,7 +72,7 @@ mips64obsd_collect_gregset (const struct regcache_raw_collect (regcache, i, regs + (i + 2) * 8); } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers. */ @@ -109,7 +109,7 @@ mips64obsd_store_inferior_registers (str (PTRACE_TYPE_ARG3) ®s, 0) == -1) perror_with_name (_("Couldn't write registers")); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_mips64obsd_nat (void); Index: mips64obsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mips64obsd-tdep.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 mips64obsd-tdep.c --- mips64obsd-tdep.c 1 Jan 2011 15:33:11 -0000 1.14 +++ mips64obsd-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -79,7 +79,7 @@ mips64obsd_regset_from_core_section (str return NULL; } - + /* Signal trampolines. */ @@ -141,7 +141,7 @@ static const struct tramp_frame mips64ob mips64obsd_sigframe_init }; - + static void mips64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -161,7 +161,7 @@ mips64obsd_init_abi (struct gdbarch_info (gdbarch, svr4_lp64_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_mips64obsd_tdep (void); Index: mipsnbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/mipsnbsd-nat.c,v retrieving revision 1.19 diff -u -p -u -p -r1.19 mipsnbsd-nat.c --- mipsnbsd-nat.c 9 Jan 2011 03:20:33 -0000 1.19 +++ mipsnbsd-nat.c 14 Jan 2011 21:37:33 -0000 @@ -109,7 +109,7 @@ mipsnbsd_store_inferior_registers (struc perror_with_name (_("Couldn't write floating point status")); } } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_mipsnbsd_nat (void); Index: mipsnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mipsnbsd-tdep.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 mipsnbsd-tdep.c --- mipsnbsd-tdep.c 9 Jan 2011 03:20:33 -0000 1.43 +++ mipsnbsd-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -135,7 +135,7 @@ mipsnbsd_regset_from_core_section (struc return NULL; } - + /* Conveniently, GDB uses the same register numbering as the ptrace register structure used by NetBSD/mips. */ @@ -352,7 +352,7 @@ mipsnbsd_lp64_fetch_link_map_offsets (vo return lmp; } - + static void mipsnbsd_init_abi (struct gdbarch_info info, @@ -374,7 +374,7 @@ mipsnbsd_init_abi (struct gdbarch_info i mipsnbsd_ilp32_fetch_link_map_offsets : mipsnbsd_lp64_fetch_link_map_offsets)); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern initialize_file_ftype _initialize_mipsnbsd_tdep; Index: mn10300-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mn10300-linux-tdep.c,v retrieving revision 1.18 diff -u -p -u -p -r1.18 mn10300-linux-tdep.c --- mn10300-linux-tdep.c 9 Jan 2011 03:20:33 -0000 1.18 +++ mn10300-linux-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -471,7 +471,7 @@ am33_regset_from_core_section (struct gd am33_supply_gregset_method, am33_collect_gregset_method); } - + static void am33_linux_sigframe_cache_init (const struct tramp_frame *self, struct frame_info *this_frame, @@ -707,7 +707,7 @@ am33_linux_sigframe_cache_init (const st trad_frame_set_id (this_cache, frame_id_build (sc_base, func)); } - + /* AM33 GNU/Linux osabi has been recognized. Now's our chance to register our corefile handling. */ Index: objc-exp.y =================================================================== RCS file: /cvs/src/src/gdb/objc-exp.y,v retrieving revision 1.41 diff -u -p -u -p -r1.41 objc-exp.y --- objc-exp.y 10 Jan 2011 20:38:49 -0000 1.41 +++ objc-exp.y 14 Jan 2011 21:37:33 -0000 @@ -225,7 +225,7 @@ parse_number (char *, int, int, YYSTYPE %type block %left COLONCOLON - + %% start : exp1 Index: objfiles.c =================================================================== RCS file: /cvs/src/src/gdb/objfiles.c,v retrieving revision 1.126 diff -u -p -u -p -r1.126 objfiles.c --- objfiles.c 10 Jan 2011 20:38:49 -0000 1.126 +++ objfiles.c 14 Jan 2011 21:37:33 -0000 @@ -696,7 +696,7 @@ free_all_objfiles (void) } clear_symtab_users (0); } - + /* A helper function for objfile_relocate1 that relocates a single symbol. */ @@ -901,7 +901,7 @@ objfile_relocate (struct objfile *objfil if (changed) breakpoint_re_set (); } - + /* Return non-zero if OBJFILE has partial symbols. */ int @@ -1368,7 +1368,7 @@ in_plt_section (CORE_ADDR pc, char *name && strcmp (s->the_bfd_section->name, ".plt") == 0); return (retval); } - + /* Keep a registry of per-objfile data-pointers required by other GDB modules. */ Index: objfiles.h =================================================================== RCS file: /cvs/src/src/gdb/objfiles.h,v retrieving revision 1.80 diff -u -p -u -p -r1.80 objfiles.h --- objfiles.h 10 Jan 2011 20:38:49 -0000 1.80 +++ objfiles.h 14 Jan 2011 21:37:33 -0000 @@ -542,7 +542,7 @@ extern void *objfile_data (struct objfil extern struct bfd *gdb_bfd_ref (struct bfd *abfd); extern void gdb_bfd_unref (struct bfd *abfd); extern int gdb_bfd_close_or_warn (struct bfd *abfd); - + /* Traverse all object files in the current program space. ALL_OBJFILES_SAFE works even if you delete the objfile during the Index: osabi.c =================================================================== RCS file: /cvs/src/src/gdb/osabi.c,v retrieving revision 1.54 diff -u -p -u -p -r1.54 osabi.c --- osabi.c 10 Jan 2011 20:38:49 -0000 1.54 +++ osabi.c 14 Jan 2011 21:37:33 -0000 @@ -182,7 +182,7 @@ gdbarch_register_osabi (enum bfd_archite *name_ptr++ = gdbarch_osabi_name (osabi); *name_ptr = NULL; } - + /* Sniffer to find the OS ABI for a given file's architecture and flavour. It is legal to have multiple sniffers for each arch/flavour pair, to @@ -215,7 +215,7 @@ gdbarch_register_osabi_sniffer (enum bfd sniffer->next = gdb_osabi_sniffer_list; gdb_osabi_sniffer_list = sniffer; } - + enum gdb_osabi gdbarch_lookup_osabi (bfd *abfd) @@ -366,7 +366,7 @@ gdbarch_init_osabi (struct gdbarch_info gdbarch_osabi_name (info.osabi), info.bfd_arch_info->printable_name); } - + /* Limit on the amount of data to be read. */ #define MAX_NOTESZ 128 @@ -568,7 +568,7 @@ generic_elf_osabi_sniffer (bfd *abfd) return osabi; } - + static void set_osabi (char *args, int from_tty, struct cmd_list_element *c) { @@ -627,7 +627,7 @@ show_osabi (struct ui_file *file, int fr fprintf_filtered (file, _("The default OS ABI is \"%s\".\n"), gdbarch_osabi_name (GDB_OSABI_DEFAULT)); } - + extern initialize_file_ftype _initialize_gdb_osabi; /* -Wmissing-prototype */ void Index: p-exp.y =================================================================== RCS file: /cvs/src/src/gdb/p-exp.y,v retrieving revision 1.53 diff -u -p -u -p -r1.53 p-exp.y --- p-exp.y 10 Jan 2011 20:38:49 -0000 1.53 +++ p-exp.y 14 Jan 2011 21:37:33 -0000 @@ -229,7 +229,7 @@ static int search_field; %type block %left COLONCOLON - + %% start : { current_type = NULL; Index: p-lang.c =================================================================== RCS file: /cvs/src/src/gdb/p-lang.c,v retrieving revision 1.59 diff -u -p -u -p -r1.59 p-lang.c --- p-lang.c 10 Jan 2011 20:38:49 -0000 1.59 +++ p-lang.c 14 Jan 2011 21:37:33 -0000 @@ -319,7 +319,7 @@ pascal_printstr (struct ui_file *stream, if (force_ellipses || i < length) fputs_filtered ("...", stream); } - + /* Table mapping opcodes into strings for printing operators and precedences of the operators. */ @@ -353,7 +353,7 @@ const struct op_print pascal_op_print_ta {"sizeof", UNOP_SIZEOF, PREC_PREFIX, 0}, {NULL, 0, 0, 0} }; - + enum pascal_primitive_types { pascal_primitive_type_int, pascal_primitive_type_long, Index: p-typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/p-typeprint.c,v retrieving revision 1.38 diff -u -p -u -p -r1.38 p-typeprint.c --- p-typeprint.c 10 Jan 2011 20:38:50 -0000 1.38 +++ p-typeprint.c 14 Jan 2011 21:37:33 -0000 @@ -44,7 +44,7 @@ static void pascal_type_print_derivation void pascal_type_print_varspec_prefix (struct type *, struct ui_file *, int, int); - + /* LEVEL is the depth to indent lines by. */ Index: p-valprint.c =================================================================== RCS file: /cvs/src/src/gdb/p-valprint.c,v retrieving revision 1.81 diff -u -p -u -p -r1.81 p-valprint.c --- p-valprint.c 10 Jan 2011 20:38:50 -0000 1.81 +++ p-valprint.c 14 Jan 2011 21:37:33 -0000 @@ -38,7 +38,7 @@ #include "p-lang.h" #include "cp-abi.h" #include "cp-support.h" - + @@ -574,7 +574,7 @@ pascal_val_print (struct type *type, con gdb_flush (stream); return (0); } - + int pascal_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) Index: parse.c =================================================================== RCS file: /cvs/src/src/gdb/parse.c,v retrieving revision 1.107 diff -u -p -u -p -r1.107 parse.c --- parse.c 10 Jan 2011 20:38:49 -0000 1.107 +++ parse.c 14 Jan 2011 21:37:33 -0000 @@ -67,7 +67,7 @@ const struct exp_descriptor exp_descript dump_subexp_body_standard, evaluate_subexp_standard }; - + /* Global variables declared in parser-defs.h (and commented there). */ struct expression *expout; int expout_size; @@ -101,7 +101,7 @@ static int expout_last_struct = -1; practical way to know beforehand how large that might be. */ char *namecopy; size_t namecopy_size; - + static int expressiondebug = 0; static void show_expressiondebug (struct ui_file *file, int from_tty, @@ -189,7 +189,7 @@ free_funcalls (void *ignore) xfree (call); } } - + /* This page contains the functions for adding data to the struct expression being constructed. */ @@ -544,7 +544,7 @@ mark_struct_expression (void) expout_last_struct = expout_ptr; } - + /* Recognize tokens that start with '$'. These include: $regname A native register name or a "standard @@ -721,7 +721,7 @@ find_template_name_end (char *p) } return 0; } - + /* Return a null-terminated temporary copy of the name @@ -742,7 +742,7 @@ copy_name (struct stoken token) return namecopy; } - + /* Reverse an expression from suffix form (in which it is constructed) to prefix form (in which we can conveniently print or execute it). Ordinarily this always returns -1. However, if EXPOUT_LAST_STRUCT @@ -1036,7 +1036,7 @@ prefixify_subexp (struct expression *ine return result; } - + /* Read an expression from the string *STRINGPTR points to, parse it, and return a pointer to a struct expression that we malloc. Use block BLOCK as the lexical context for variable names; @@ -1316,7 +1316,7 @@ parse_c_float (struct gdbarch *gdbarch, return 1; } - + /* Stuff for maintaining a stack of types. Currently just used by C, but probably useful for any language which declares its types "backwards". */ @@ -1457,7 +1457,7 @@ follow_types (struct type *follow_type) } return follow_type; } - + /* This function avoids direct calls to fprintf in the parser generated debug code. */ void Index: parser-defs.h =================================================================== RCS file: /cvs/src/src/gdb/parser-defs.h,v retrieving revision 1.39 diff -u -p -u -p -r1.39 parser-defs.h --- parser-defs.h 10 Jan 2011 20:38:49 -0000 1.39 +++ parser-defs.h 14 Jan 2011 21:37:33 -0000 @@ -237,7 +237,7 @@ extern int paren_depth; /* Nonzero means stop parsing on first comma (if not within parentheses). */ extern int comma_terminates; - + /* These codes indicate operator precedences for expression printing, least tightly binding first. */ /* Adding 1 to a precedence value is done for binary operators, Index: ppcnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v retrieving revision 1.42 diff -u -p -u -p -r1.42 ppcnbsd-tdep.c --- ppcnbsd-tdep.c 10 Jan 2011 20:38:50 -0000 1.42 +++ ppcnbsd-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -37,7 +37,7 @@ /* Register offsets from . */ struct ppc_reg_offsets ppcnbsd_reg_offsets; - + /* Core file support. */ @@ -70,7 +70,7 @@ ppcnbsd_regset_from_core_section (struct return NULL; } - + /* NetBSD is confused. It appears that 1.5 was using the correct SVR4 convention but, 1.6 switched to the below broken convention. For @@ -96,7 +96,7 @@ ppcnbsd_return_value (struct gdbarch *gd return ppc_sysv_abi_broken_return_value (gdbarch, func_type, valtype, regcache, readbuf, writebuf); } - + /* Signal trampolines. */ @@ -175,7 +175,7 @@ static const struct tramp_frame ppcnbsd2 }, ppcnbsd_sigtramp_cache_init }; - + static void ppcnbsd_init_abi (struct gdbarch_info info, @@ -195,7 +195,7 @@ ppcnbsd_init_abi (struct gdbarch_info in tramp_frame_prepend_unwinder (gdbarch, &ppcnbsd_sigtramp); tramp_frame_prepend_unwinder (gdbarch, &ppcnbsd2_sigtramp); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_ppcnbsd_tdep (void); Index: ppcobsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/ppcobsd-nat.c,v retrieving revision 1.20 diff -u -p -u -p -r1.20 ppcobsd-nat.c --- ppcobsd-nat.c 1 Jan 2011 15:33:12 -0000 1.20 +++ ppcobsd-nat.c 14 Jan 2011 21:37:33 -0000 @@ -148,7 +148,7 @@ ppcobsd_store_registers (struct target_o } #endif } - + static int ppcobsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) @@ -186,7 +186,7 @@ ppcobsd_supply_pcb (struct regcache *reg return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_ppcobsd_nat (void); Index: ppcobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppcobsd-tdep.c,v retrieving revision 1.26 diff -u -p -u -p -r1.26 ppcobsd-tdep.c --- ppcobsd-tdep.c 10 Jan 2011 20:38:50 -0000 1.26 +++ ppcobsd-tdep.c 14 Jan 2011 21:37:33 -0000 @@ -39,7 +39,7 @@ /* Register offsets from . */ struct ppc_reg_offsets ppcobsd_reg_offsets; struct ppc_reg_offsets ppcobsd_fpreg_offsets; - + /* Core file support. */ @@ -96,7 +96,7 @@ ppcobsd_regset_from_core_section (struct return NULL; } - + /* Signal trampolines. */ @@ -244,7 +244,7 @@ static const struct frame_unwind ppcobsd NULL, ppcobsd_sigtramp_frame_sniffer }; - + static void ppcobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -265,7 +265,7 @@ ppcobsd_init_abi (struct gdbarch_info in frame_unwind_append_unwinder (gdbarch, &ppcobsd_sigtramp_frame_unwind); } - + /* OpenBSD uses uses the traditional NetBSD core file format, even for ports that use ELF. */ @@ -279,7 +279,7 @@ ppcobsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_ppcobsd_tdep (void); Index: ppcobsd-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/ppcobsd-tdep.h,v retrieving revision 1.10 diff -u -p -u -p -r1.10 ppcobsd-tdep.h --- ppcobsd-tdep.h 10 Jan 2011 20:38:50 -0000 1.10 +++ ppcobsd-tdep.h 14 Jan 2011 21:37:33 -0000 @@ -33,7 +33,7 @@ extern struct ppc_reg_offsets ppcobsd_fp /* Register sets for OpenBSD/powerpc. */ extern struct regset ppcobsd_gregset; extern struct regset ppcobsd_fpregset; - + /* Supply register REGNUM in the general-purpose register set REGSET from the buffer specified by GREGS and LEN to register cache Index: printcmd.c =================================================================== RCS file: /cvs/src/src/gdb/printcmd.c,v retrieving revision 1.186 diff -u -p -u -p -r1.186 printcmd.c --- printcmd.c 10 Jan 2011 20:38:50 -0000 1.186 +++ printcmd.c 14 Jan 2011 21:37:33 -0000 @@ -176,7 +176,7 @@ void _initialize_printcmd (void); /* Prototypes for local functions. */ static void do_one_display (struct display *); - + /* Decode a format specification. *STRING_PTR should point to it. OFORMAT and OSIZE are used as defaults for the format and size @@ -274,7 +274,7 @@ decode_format (char **string_ptr, int of return val; } - + /* Print value VAL on stream according to OPTIONS. Do not end with a newline. SIZE is the letter for the size of datum being printed. @@ -790,7 +790,7 @@ print_address_demangle (struct gdbarch * print_address_symbolic (gdbarch, addr, stream, do_demangle, ""); } } - + /* Examine data at address ADDR in format FMT. Fetch it from memory and print on gdb_stdout. */ @@ -921,7 +921,7 @@ do_examine (struct format_data fmt, stru gdb_flush (gdb_stdout); } } - + static void validate_format (struct format_data fmt, char *cmdname) { @@ -1393,7 +1393,7 @@ address_info (char *exp, int from_tty) } printf_filtered (".\n"); } - + static void x_command (char *exp, int from_tty) @@ -1475,7 +1475,7 @@ x_command (char *exp, int from_tty) set_internalvar (lookup_internalvar ("__"), last_examine_value); } } - + /* Add an expression to the auto-display chain. Specify the expression. */ @@ -1934,7 +1934,7 @@ clear_dangling_display_expressions (stru } } } - + /* Print the value in stack frame FRAME of a variable specified by a struct symbol. NAME is the name to print; if NULL then VAR's print Index: proc-events.c =================================================================== RCS file: /cvs/src/src/gdb/proc-events.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 proc-events.c --- proc-events.c 5 Jan 2011 22:22:49 -0000 1.14 +++ proc-events.c 14 Jan 2011 21:37:33 -0000 @@ -57,7 +57,7 @@ struct trans char *name; /* The equivalent symbolic value. */ char *desc; /* Short description of value. */ }; - + /* Pretty print syscalls. */ @@ -1431,7 +1431,7 @@ proc_prettyprint_syscalls (sysset_t *sys { proc_prettyfprint_syscalls (stdout, sysset, verbose); } - + /* Prettyprint signals. */ /* Signal translation table. */ @@ -1632,7 +1632,7 @@ proc_prettyprint_signalset (sigset_t *si { proc_prettyfprint_signalset (stdout, sigset, verbose); } - + /* Prettyprint faults. */ @@ -1755,7 +1755,7 @@ void proc_prettyprint_actionset (struct sigaction *actions, int verbose) { } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_proc_events (void); Index: proc-service.c =================================================================== RCS file: /cvs/src/src/gdb/proc-service.c,v retrieving revision 1.23 diff -u -p -u -p -r1.23 proc-service.c --- proc-service.c 1 Jan 2011 15:33:13 -0000 1.23 +++ proc-service.c 14 Jan 2011 21:37:33 -0000 @@ -32,7 +32,7 @@ /* Prototypes for supply_gregset etc. */ #include "gregset.h" - + /* Fix-up some broken systems. */ @@ -50,12 +50,12 @@ typedef void *gdb_ps_read_buf_t; typedef const void *gdb_ps_write_buf_t; typedef size_t gdb_ps_size_t; #endif - + /* Building process ids. */ #define BUILD_LWP(lwp, pid) ptid_build (pid, lwp, 0) - + /* Helper functions. */ @@ -108,7 +108,7 @@ ps_xfer_memory (const struct ps_prochand return (ret == 0 ? PS_OK : PS_ERR); } - + /* Stop the target process PH. */ Index: progspace.c =================================================================== RCS file: /cvs/src/src/gdb/progspace.c,v retrieving revision 1.9 diff -u -p -u -p -r1.9 progspace.c --- progspace.c 5 Jan 2011 22:22:50 -0000 1.9 +++ progspace.c 14 Jan 2011 21:37:33 -0000 @@ -41,7 +41,7 @@ static int highest_address_space_num; static void program_space_alloc_data (struct program_space *); static void program_space_free_data (struct program_space *); - + /* An address space. Currently this is not used for much other than for comparing if pspaces/inferior/threads see the same address @@ -103,7 +103,7 @@ init_address_spaces (void) highest_address_space_num = 0; } - + /* Adds a new empty program space to the program space list, and binds it to ASPACE. Returns the pointer to the new object. */ @@ -501,7 +501,7 @@ switch_to_program_space_and_thread (stru set_current_program_space (pspace); } - + /* Keep a registry of per-program_space data-pointers required by other GDB modules. */ @@ -603,7 +603,7 @@ program_space_data (struct program_space return pspace->data[data->index]; } - + void initialize_progspace (void) Index: prologue-value.c =================================================================== RCS file: /cvs/src/src/gdb/prologue-value.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 prologue-value.c --- prologue-value.c 10 Jan 2011 20:38:50 -0000 1.14 +++ prologue-value.c 14 Jan 2011 21:37:33 -0000 @@ -23,7 +23,7 @@ #include "prologue-value.h" #include "regcache.h" - + /* Constructors. */ pv_t @@ -61,7 +61,7 @@ pv_register (int reg, CORE_ADDR k) } - + /* Arithmetic operations. */ /* If one of *A and *B is a constant, and the other isn't, swap the @@ -185,7 +185,7 @@ pv_logical_and (pv_t a, pv_t b) } - + /* Examining prologue values. */ int @@ -268,7 +268,7 @@ pv_is_array_ref (pv_t addr, CORE_ADDR si } - + /* Areas. */ Index: psymtab.c =================================================================== RCS file: /cvs/src/src/gdb/psymtab.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 psymtab.c --- psymtab.c 10 Jan 2011 20:38:50 -0000 1.22 +++ psymtab.c 14 Jan 2011 21:37:33 -0000 @@ -1214,7 +1214,7 @@ const struct quick_symbol_functions psym map_symbol_filenames_psymtab }; - + /* This compares two partial symbols by names, using strcmp_iw_ordered for the comparison. */ @@ -1573,7 +1573,7 @@ discard_psymtab (struct partial_symtab * pst->objfile->free_psymtabs = pst; } - + void maintenance_print_psymbols (char *args, int from_tty) @@ -1810,7 +1810,7 @@ maintenance_check_symtabs (char *ignore, } } - + void map_partial_symbol_names (void (*fun) (const char *, void *), void *data) Index: remote-mips.c =================================================================== RCS file: /cvs/src/src/gdb/remote-mips.c,v retrieving revision 1.118 diff -u -p -u -p -r1.118 remote-mips.c --- remote-mips.c 11 Jan 2011 15:10:01 -0000 1.118 +++ remote-mips.c 14 Jan 2011 21:37:33 -0000 @@ -37,7 +37,7 @@ #include #include "mips-tdep.h" #include "gdbthread.h" - + /* Breakpoint types. Values 0, 1, and 2 must agree with the watch types passed by breakpoint.c to target_insert_watchpoint. @@ -147,7 +147,7 @@ extern struct target_ops mips_ops; extern struct target_ops pmon_ops; extern struct target_ops ddb_ops; extern struct target_ops rockhopper_ops; - /* *INDENT-OFF* */ +/* *INDENT-OFF* */ /* The MIPS remote debugging interface is built on top of a simple packet protocol. Each packet is organized as follows: @@ -1206,7 +1206,7 @@ mips_receive_packet (char *buff, int thr return len; } - + /* Optionally send a request to the remote system and optionally wait for the reply. This implements the remote debugging protocol, which is built on top of the packet protocol defined above. Each @@ -2344,7 +2344,7 @@ mips_mourn_inferior (struct target_ops * if (current_ops != NULL) unpush_target (current_ops); } - + /* We can write a breakpoint and read the shadow contents in one operation. */ @@ -2737,7 +2737,7 @@ mips_common_breakpoint (%s): Got error: } return 0; } - + /* Send one S record as specified by SREC of length LEN, starting at ADDR. Note, however, that ADDR is not used except to provide a useful message to the user in the event that a NACK is received @@ -3578,7 +3578,7 @@ pmon_command (char *args, int from_tty) buf[rlen] = '\0'; printf_filtered ("Received packet: %s\n", buf); } - + /* -Wmissing-prototypes */ extern initialize_file_ftype _initialize_remote_mips; Index: remote.c =================================================================== RCS file: /cvs/src/src/gdb/remote.c,v retrieving revision 1.429 diff -u -p -u -p -r1.429 remote.c --- remote.c 11 Jan 2011 15:10:01 -0000 1.429 +++ remote.c 14 Jan 2011 21:37:34 -0000 @@ -788,7 +788,7 @@ static int remote_async_terminal_ours_p; static char *remote_exec_file = ""; - + /* User configurable variables for the number of characters in a memory read/write packet. MIN (rsa->remote_packet_size, rsa->sizeof_g_packet) is the default. Some targets need smaller @@ -975,7 +975,7 @@ get_memory_read_packet_size (void) return size; } - + /* Generic configuration support for packets the stub optionally supports. Allows the user to specify the use of the packet as well as allowing GDB to auto-detect support in the remote stub. */ @@ -1328,7 +1328,7 @@ static int use_threadextra_query; static struct async_signal_handler *sigint_remote_twice_token; static struct async_signal_handler *sigint_remote_token; - + /* Asynchronous signal handle registered as event loop source for when we have pending events ready to be passed to the core. */ @@ -1340,7 +1340,7 @@ static struct async_event_handler *remot the remote side into our event queue. */ static struct async_event_handler *remote_async_get_pending_events_token; - + static ptid_t magic_null_ptid; static ptid_t not_sent_ptid; @@ -1684,7 +1684,7 @@ set_general_process (void) set_general_thread (inferior_ptid); } - + /* Return nonzero if the thread PTID is still alive on the remote system. */ @@ -2779,7 +2779,7 @@ remote_threads_extra_info (struct thread } return NULL; } - + static int remote_static_tracepoint_marker_at (CORE_ADDR addr, @@ -2872,7 +2872,7 @@ remote_static_tracepoint_markers_by_stri return markers; } - + /* Implement the to_get_ada_task_ptid function for the remote targets. */ static ptid_t @@ -2880,7 +2880,7 @@ remote_get_ada_task_ptid (long lwp, long { return ptid_build (ptid_get_pid (inferior_ptid), 0, lwp); } - + /* Restart the remote side; this is an extended protocol operation. */ @@ -2896,7 +2896,7 @@ extended_remote_restart (void) remote_fileio_reset (); } - + /* Clean up connection to a remote debugger. */ static void @@ -4331,7 +4331,7 @@ bin2hex (const gdb_byte *bin, char *hex, *hex = 0; return i; } - + /* Check for the availability of vCont. This function should also check the response. */ @@ -4585,7 +4585,7 @@ remote_resume (struct target_ops *ops, if (!non_stop) rs->waiting_for_stop_reply = 1; } - + /* Set up the signal handler for SIGINT, while the target is executing, ovewriting the 'regular' SIGINT signal handler. */ @@ -5975,7 +5975,7 @@ remote_store_registers (struct target_op /* See above for why we do not issue an error here. */ continue; } - + /* Return the number of hex digits in num. */ @@ -6474,7 +6474,7 @@ remote_read_bytes (CORE_ADDR memaddr, gd } return origlen; } - + /* Remote notification handler. */ @@ -6520,7 +6520,7 @@ handle_notification (char *buf, size_t l ; } - + /* Read or write LEN bytes from inferior memory at MEMADDR, transferring to or from debugger address BUFFER. Write to inferior if SHOULD_WRITE is nonzero. Returns length of data written or @@ -6655,7 +6655,7 @@ remote_files_info (struct target_ops *ig { puts_filtered ("Debugging a target over a serial line.\n"); } - + /* Stuff for dealing with the packets which are part of this protocol. See comment at top of file for details. */ @@ -7289,7 +7289,7 @@ getpkt_or_notif_sane (char **buf, long * return getpkt_or_notif_sane_1 (buf, sizeof_buf, forever, 1); } - + static void remote_kill (struct target_ops *ops) { @@ -7558,7 +7558,7 @@ extended_remote_create_inferior (struct { extended_remote_create_inferior_1 (exec_file, args, env, from_tty); } - + /* Insert a breakpoint. On targets that have software breakpoint support, we ask the remote target to do the work; on targets Index: rs6000-nat.c =================================================================== RCS file: /cvs/src/src/gdb/rs6000-nat.c,v retrieving revision 1.104 diff -u -p -u -p -r1.104 rs6000-nat.c --- rs6000-nat.c 11 Jan 2011 15:10:01 -0000 1.104 +++ rs6000-nat.c 14 Jan 2011 21:37:34 -0000 @@ -621,7 +621,7 @@ exec_one_dummy_insn (struct regcache *re regcache_write_pc (regcache, prev_pc); deprecated_remove_raw_breakpoint (gdbarch, bp); } - + /* Copy information about text and data sections from LDI to VP for a 64-bit process if ARCH64 and for a 32-bit process otherwise. */ @@ -689,7 +689,7 @@ vmap_symtab (struct vmap *vp) objfile_relocate (objfile, new_offsets); } - + /* Add symbols for an objfile. */ static int @@ -805,7 +805,7 @@ add_vmap (LdInfo *ldi) vmap_add_symbols (vp); return vp; } - + /* update VMAP info with ldinfo() information Input is ptr to ldinfo() results. */ @@ -925,7 +925,7 @@ symbols to the proper address)."), } breakpoint_re_set (); } - + /* As well as symbol tables, exec_sections need relocation. After the inferior process' termination, there will be a relocated symbol table exist with no corresponding inferior process. At that time, we @@ -1026,7 +1026,7 @@ rs6000_create_inferior (struct target_op "to select architecture")); } - + /* xcoff_relocate_symtab - hook for symbol table relocation. This is only applicable to live processes, and is a no-op when @@ -1080,7 +1080,7 @@ xcoff_relocate_symtab (unsigned int pid) if (ldi) xfree (ldi); } - + /* Core file stuff. */ /* Relocate symtabs and read in shared library info, based on symbols @@ -1190,7 +1190,7 @@ xcoff_relocate_core (struct target_ops * breakpoint_re_set (); do_cleanups (old); } - + /* Under AIX, we have to pass the correct TOC pointer to a function when calling functions in the inferior. We try to find the relative toc offset of the objfile containing PC @@ -1213,7 +1213,7 @@ find_toc_address (CORE_ADDR pc) } error (_("Unable to find TOC entry for pc %s."), hex_string (pc)); } - + void _initialize_rs6000_nat (void) Index: rs6000-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v retrieving revision 1.347 diff -u -p -u -p -r1.347 rs6000-tdep.c --- rs6000-tdep.c 11 Jan 2011 19:23:02 -0000 1.347 +++ rs6000-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -370,7 +370,7 @@ rs6000_register_sim_regno (struct gdbarc return LEGACY_SIM_REGNO_IGNORE; } - + /* Register set support functions. */ @@ -817,7 +817,7 @@ ppc_collect_vrregset (const struct regse ppc_collect_reg (regcache, regnum, vrregs, offset, 4); } - + static int insn_changes_sp_or_jumps (unsigned long insn) @@ -2932,7 +2932,7 @@ rs6000_adjust_frame_regnum (struct gdbar return num; } } - + /* Handling the various POWER/PowerPC variants. */ @@ -3050,7 +3050,7 @@ gdb_print_insn_powerpc (bfd_vma memaddr, else return print_insn_little_powerpc (memaddr, info); } - + static CORE_ADDR rs6000_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame) { @@ -3277,7 +3277,7 @@ static const struct frame_unwind rs6000_ NULL, default_frame_sniffer }; - + static CORE_ADDR rs6000_frame_base_address (struct frame_info *this_frame, void **this_cache) Index: ser-go32.c =================================================================== RCS file: /cvs/src/src/gdb/ser-go32.c,v retrieving revision 1.27 diff -u -p -u -p -r1.27 ser-go32.c --- ser-go32.c 11 Jan 2011 21:53:23 -0000 1.27 +++ ser-go32.c 14 Jan 2011 21:37:34 -0000 @@ -269,7 +269,7 @@ dos_putc (int c, struct dos_ttystate *po port->count++; return 0; } - + static void @@ -365,7 +365,7 @@ static isr_t isrs[NINTR] = ISRNAME (0), ISRNAME (1), ISRNAME (2), ISRNAME (3), ISRNAME (4), ISRNAME (5), ISRNAME (6), ISRNAME (7) }; - + static struct intrupt * @@ -448,7 +448,7 @@ dos_unhookirq (struct intrupt *intr) _go32_dpmi_free_iret_wrapper (&intr->new_pmhandler); intr->inuse = 0; } - + static int @@ -595,7 +595,7 @@ dos_close (struct serial *scb) port->baudrate); } } - + static int Index: ser-unix.c =================================================================== RCS file: /cvs/src/src/gdb/ser-unix.c,v retrieving revision 1.38 diff -u -p -u -p -r1.38 ser-unix.c --- ser-unix.c 11 Jan 2011 21:53:23 -0000 1.38 +++ ser-unix.c 14 Jan 2011 21:37:34 -0000 @@ -889,8 +889,8 @@ hardwire_close (struct serial *scb) close (scb->fd); scb->fd = -1; } - - + + void _initialize_ser_hardwire (void) { Index: serial.c =================================================================== RCS file: /cvs/src/src/gdb/serial.c,v retrieving revision 1.42 diff -u -p -u -p -r1.42 serial.c --- serial.c 11 Jan 2011 21:53:23 -0000 1.42 +++ serial.c 14 Jan 2011 21:37:34 -0000 @@ -58,7 +58,7 @@ static const char logbase_ascii[] = "asc static const char *logbase_enums[] = {logbase_hex, logbase_octal, logbase_ascii, NULL}; static const char *serial_logbase = logbase_ascii; - + static int serial_current_type = 0; @@ -147,7 +147,7 @@ serial_log_command (const char *cmd) gdb_flush (serial_logfp); } - + static struct serial_ops * serial_interface_lookup (const char *name) { Index: sh-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sh-tdep.c,v retrieving revision 1.232 diff -u -p -u -p -r1.232 sh-tdep.c --- sh-tdep.c 11 Jan 2011 21:53:23 -0000 1.232 +++ sh-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -2824,7 +2824,7 @@ sh_regset_from_core_section (struct gdba return NULL; } - + static struct gdbarch * sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) Index: shnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/shnbsd-tdep.c,v retrieving revision 1.29 diff -u -p -u -p -r1.29 shnbsd-tdep.c --- shnbsd-tdep.c 1 Jan 2011 15:33:14 -0000 1.29 +++ shnbsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -58,7 +58,7 @@ static const struct sh_corefile_regmap r {MACL_REGNUM, 4 * 4}, {-1 /* Terminator. */, 0} }; - + static void shnbsd_init_abi (struct gdbarch_info info, @@ -71,7 +71,7 @@ shnbsd_init_abi (struct gdbarch_info inf set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); } - + /* OpenBSD uses uses the traditional NetBSD core file format, even for ports that use ELF. */ Index: sol-thread.c =================================================================== RCS file: /cvs/src/src/gdb/sol-thread.c,v retrieving revision 1.81 diff -u -p -u -p -r1.81 sol-thread.c --- sol-thread.c 11 Jan 2011 21:53:24 -0000 1.81 +++ sol-thread.c 14 Jan 2011 21:37:34 -0000 @@ -159,7 +159,7 @@ static td_err_e (*p_td_thr_getgregs)(con prgregset_t regset); static td_err_e (*p_td_thr_setgregs)(const td_thrhandle_t *th_p, const prgregset_t regset); - + /* Return the libthread_db error string associated with ERRCODE. If ERRCODE is unknown, return an appropriate message. */ @@ -234,7 +234,7 @@ td_state_string (td_thr_state_e statecod return buf; } - + /* Convert a POSIX or Solaris thread ID into a LWP ID. If THREAD_ID doesn't exist, that's an error. If it's an inactive thread, return @@ -317,7 +317,7 @@ lwp_to_thread (ptid_t lwp) return BUILD_THREAD (ti.ti_tid, PIDGET (lwp)); } - + /* Most target vector functions from here on actually just pass through to the layer beneath, as they don't need to do anything @@ -748,7 +748,7 @@ sol_thread_alive (struct target_ops *ops } } - + /* These routines implement the lower half of the thread_db interface, i.e. the ps_* routines. */ @@ -1131,7 +1131,7 @@ ps_lgetLDT (gdb_ps_prochandle_t ph, lwpi return PS_ERR; } #endif - + /* Convert PTID to printable form. */ @@ -1161,7 +1161,7 @@ solaris_pid_to_str (struct target_ops *o return buf; } - + /* Worker bee for find_new_threads. Callback function that gets called once per user-level thread (i.e. not for LWP's). */ Index: solib-darwin.c =================================================================== RCS file: /cvs/src/src/gdb/solib-darwin.c,v retrieving revision 1.16 diff -u -p -u -p -r1.16 solib-darwin.c --- solib-darwin.c 11 Jan 2011 21:53:24 -0000 1.16 +++ solib-darwin.c 14 Jan 2011 21:37:34 -0000 @@ -402,7 +402,7 @@ darwin_relocate_section_addresses (struc if (sec->addr < so->addr_low) so->addr_low = sec->addr; } - + static struct symbol * darwin_lookup_lib_symbol (const struct objfile *objfile, const char *name, Index: solib-svr4.c =================================================================== RCS file: /cvs/src/src/gdb/solib-svr4.c,v retrieving revision 1.144 diff -u -p -u -p -r1.144 solib-svr4.c --- solib-svr4.c 11 Jan 2011 21:53:24 -0000 1.144 +++ solib-svr4.c 14 Jan 2011 21:37:34 -0000 @@ -2263,7 +2263,7 @@ svr4_relocate_section_addresses (struct sec->endaddr = svr4_truncate_ptr (sec->endaddr + LM_ADDR_CHECK (so, sec->bfd)); } - + /* Architecture-specific operations. */ @@ -2323,7 +2323,7 @@ svr4_have_link_map_offsets (void) return (ops->fetch_link_map_offsets != NULL); } - + /* Most OS'es that have SVR4-style ELF dynamic libraries define a `struct r_debug' and a `struct link_map' that are binary compatible @@ -2390,7 +2390,7 @@ svr4_lp64_fetch_link_map_offsets (void) return lmp; } - + struct target_so_ops svr4_so_ops; Index: solib.c =================================================================== RCS file: /cvs/src/src/gdb/solib.c,v retrieving revision 1.144 diff -u -p -u -p -r1.144 solib.c --- solib.c 11 Jan 2011 21:53:24 -0000 1.144 +++ solib.c 14 Jan 2011 21:37:34 -0000 @@ -81,7 +81,7 @@ set_solib_ops (struct gdbarch *gdbarch, *ops = new_ops; } - + /* external data declarations */ Index: somread.c =================================================================== RCS file: /cvs/src/src/gdb/somread.c,v retrieving revision 1.50 diff -u -p -u -p -r1.50 somread.c --- somread.c 11 Jan 2011 21:53:24 -0000 1.50 +++ somread.c 14 Jan 2011 21:37:34 -0000 @@ -422,7 +422,7 @@ som_symfile_offsets (struct objfile *obj (objfile->section_offsets)->offsets[i] = text_addr; } } - + /* Register that we are able to handle SOM object file formats. */ Index: source.c =================================================================== RCS file: /cvs/src/src/gdb/source.c,v retrieving revision 1.118 diff -u -p -u -p -r1.118 source.c --- source.c 11 Jan 2011 21:53:24 -0000 1.118 +++ source.c 14 Jan 2011 21:37:34 -0000 @@ -125,7 +125,7 @@ static int first_line_listed; static struct symtab *last_source_visited = NULL; static int last_source_error = 0; - + /* Return the first line listed by print_source_lines. Used by command interpreters to request listing from a previous point. */ @@ -291,7 +291,7 @@ select_source_symtab (struct symtab *s) error (_("Can't find a default source file")); } - + /* Handler for "set directories path-list" command. "set dir mumble" doesn't prepend paths, it resets the entire path list. The theory is that set(show(dir)) should be a no-op. */ @@ -655,7 +655,7 @@ source_info (char *ignore, int from_tty) printf_filtered (_("%s preprocessor macro info.\n"), s->macro_table ? "Includes" : "Does not include"); } - + /* Return True if the file NAME exists and is a regular file. */ static int @@ -1119,7 +1119,7 @@ symtab_to_fullname (struct symtab *s) return NULL; } - + /* Create and initialize the table S->line_charpos that records the positions of the lines in the source file, which is assumed to be open on descriptor DESC. @@ -1258,7 +1258,7 @@ source_charpos_line (struct symtab *s, i } #endif /* 0 */ - + /* Get full pathname and line number positions for a symtab. Return nonzero if line numbers may have changed. @@ -1318,7 +1318,7 @@ identify_source_line (struct symtab *s, current_source_symtab = s; return 1; } - + /* Print source lines from the file of symtab S, starting with line number LINE and stopping before line number STOPLINE. */ @@ -1444,7 +1444,7 @@ print_source_lines_base (struct symtab * do_cleanups (cleanup); } - + /* Show source lines from the file of symtab S, starting with line number LINE and stopping before line number STOPLINE. If this is not the command line version, then the source is shown in the source @@ -1455,7 +1455,7 @@ print_source_lines (struct symtab *s, in { print_source_lines_base (s, line, stopline, noerror); } - + /* Print info on range of pc's in a specified line. */ static void @@ -1556,7 +1556,7 @@ line_info (char *arg, int from_tty) } xfree (sals.sals); } - + /* Commands to search the source file for a regexp. */ static void @@ -1948,7 +1948,7 @@ set_substitute_path_command (char *args, forget_cached_source_info (); } - + void _initialize_source (void) { Index: sparc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v retrieving revision 1.35 diff -u -p -u -p -r1.35 sparc-linux-tdep.c --- sparc-linux-tdep.c 11 Jan 2011 21:53:24 -0000 1.35 +++ sparc-linux-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -130,7 +130,7 @@ sparc32_linux_sigframe_init (const struc } trad_frame_set_id (this_cache, frame_id_build (base, func)); } - + /* Return the address of a system call's alternative return address. */ @@ -172,7 +172,7 @@ sparc32_linux_step_trap (struct frame_in return 0; } - + const struct sparc_gregset sparc32_linux_core_gregset = { @@ -186,7 +186,7 @@ const struct sparc_gregset sparc32_linux 16 * 4, /* %l0 */ 4, /* y size */ }; - + static void sparc32_linux_supply_core_gregset (const struct regset *regset, @@ -269,7 +269,7 @@ sparc32_linux_get_syscall_number (struct return ret; } - + static void sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) Index: sparc-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-nat.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 sparc-nat.c --- sparc-nat.c 1 Jan 2011 15:33:15 -0000 1.43 +++ sparc-nat.c 14 Jan 2011 21:37:34 -0000 @@ -251,7 +251,7 @@ sparc_store_inferior_registers (struct t } } - + /* Fetch StackGhost Per-Process XOR cookie. */ LONGEST @@ -325,7 +325,7 @@ sparc_xfer_partial (struct target_ops *o return inf_ptrace_xfer_partial (ops, object, annex, readbuf, writebuf, offset, len); } - + /* Create a prototype generic SPARC target. The client can override it with local methods. */ @@ -342,7 +342,7 @@ sparc_target (void) return t; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc_nat (void); Index: sparc-sol2-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-sol2-tdep.c,v retrieving revision 1.24 diff -u -p -u -p -r1.24 sparc-sol2-tdep.c --- sparc-sol2-tdep.c 11 Jan 2011 21:53:24 -0000 1.24 +++ sparc-sol2-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -48,7 +48,7 @@ const struct sparc_gregset sparc32_sol2_ 1 * 4, /* %g1 */ 16 * 4, /* %l0 */ }; - + /* The Solaris signal trampolines reside in libc. For normal signals, the function `sigacthandler' is used. This signal trampoline will @@ -200,7 +200,7 @@ sparc_sol2_static_transform_name (char * return name; } - + void sparc32_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -235,7 +235,7 @@ sparc32_sol2_init_abi (struct gdbarch_in /* How to print LWP PTIDs from core files. */ set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc_sol2_tdep (void); Index: sparc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-tdep.c,v retrieving revision 1.217 diff -u -p -u -p -r1.217 sparc-tdep.c --- sparc-tdep.c 11 Jan 2011 21:53:24 -0000 1.217 +++ sparc-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -107,7 +107,7 @@ sparc_fetch_instruction (CORE_ADDR pc) insn = (insn << 8) | buf[i]; return insn; } - + /* Return non-zero if the instruction corresponding to PC is an "unimp" instruction. */ @@ -168,7 +168,7 @@ sparc_fetch_wcookie (struct gdbarch *gdb return extract_unsigned_integer (buf, len, byte_order); } - + /* The functions on this page are intended to be used to classify function arguments. */ @@ -288,7 +288,7 @@ sparc32_register_name (struct gdbarch *g return NULL; } - + /* Construct types for ISA-specific registers. */ static struct type * @@ -396,7 +396,7 @@ sparc32_pseudo_register_write (struct gd regcache_raw_write (regcache, regnum, buf); regcache_raw_write (regcache, regnum + 1, buf + 4); } - + static CORE_ADDR sparc32_frame_align (struct gdbarch *gdbarch, CORE_ADDR address) @@ -554,7 +554,7 @@ sparc32_push_dummy_call (struct gdbarch return sp; } - + /* Use the program counter to determine the contents and size of a breakpoint instruction. Return a pointer to a string of bytes that @@ -570,7 +570,7 @@ sparc_breakpoint_from_pc (struct gdbarch *len = sizeof (break_insn); return break_insn; } - + /* Allocate and initialize a frame cache. */ @@ -1032,7 +1032,7 @@ static const struct frame_unwind sparc32 NULL, default_frame_sniffer }; - + static CORE_ADDR sparc32_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -1061,7 +1061,7 @@ sparc_dummy_id (struct gdbarch *gdbarch, sp += BIAS; return frame_id_build (sp, get_frame_pc (this_frame)); } - + /* Extract a function return value of TYPE from REGCACHE, and copy that into VALBUF. */ @@ -1234,7 +1234,7 @@ sparc32_dwarf2_frame_init_reg (struct gd } } - + /* The SPARC Architecture doesn't have hardware single-step support, and most operating systems don't implement it either, so we provide software single-step mechanism. */ @@ -1358,7 +1358,7 @@ sparc_write_pc (struct regcache *regcach regcache_cooked_write_unsigned (regcache, tdep->pc_regnum, pc); regcache_cooked_write_unsigned (regcache, tdep->npc_regnum, pc + 4); } - + /* Return the appropriate register set for the core section identified by SECT_NAME and SECT_SIZE. */ @@ -1377,7 +1377,7 @@ sparc_regset_from_core_section (struct g return NULL; } - + static struct gdbarch * sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) @@ -1460,7 +1460,7 @@ sparc32_gdbarch_init (struct gdbarch_inf return gdbarch; } - + /* Helper functions for dealing with register windows. */ void @@ -1759,7 +1759,7 @@ sparc32_collect_fpregset (const struct r if (regnum == SPARC32_FSR_REGNUM || regnum == -1) regcache_raw_collect (regcache, SPARC32_FSR_REGNUM, regs + (32 * 4) + 4); } - + /* SunOS 4. */ @@ -1775,7 +1775,7 @@ const struct sparc_gregset sparc32_sunos 4 * 4, /* %g1 */ -1 /* %l0 */ }; - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc_tdep (void); Index: sparc-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/sparc-tdep.h,v retrieving revision 1.26 diff -u -p -u -p -r1.26 sparc-tdep.h --- sparc-tdep.h 11 Jan 2011 21:53:24 -0000 1.26 +++ sparc-tdep.h 14 Jan 2011 21:37:34 -0000 @@ -135,7 +135,7 @@ enum sparc32_regnum SPARC32_D30_REGNUM /* %d30 */ = SPARC32_D0_REGNUM + 15 }; - + struct sparc_frame_cache { @@ -169,7 +169,7 @@ extern struct sparc_frame_cache * extern struct sparc_frame_cache * sparc32_frame_cache (struct frame_info *this_frame, void **this_cache); - + extern int sparc_software_single_step (struct frame_info *frame); Index: sparc64-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-linux-nat.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 sparc64-linux-nat.c --- sparc64-linux-nat.c 1 Jan 2011 15:33:15 -0000 1.14 +++ sparc64-linux-nat.c 14 Jan 2011 21:37:34 -0000 @@ -43,7 +43,7 @@ static const struct sparc_gregset sparc6 -1, /* %l0 */ 4 /* sizeof (%y) */ }; - + void supply_gregset (struct regcache *regcache, const prgregset_t *gregs) Index: sparc64-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-linux-tdep.c,v retrieving revision 1.28 diff -u -p -u -p -r1.28 sparc64-linux-tdep.c --- sparc64-linux-tdep.c 11 Jan 2011 21:53:24 -0000 1.28 +++ sparc64-linux-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -105,7 +105,7 @@ sparc64_linux_sigframe_init (const struc } trad_frame_set_id (this_cache, frame_id_build (base, func)); } - + /* Return the address of a system call's alternative return address. */ @@ -136,7 +136,7 @@ sparc64_linux_step_trap (struct frame_in return 0; } - + const struct sparc_gregset sparc64_linux_core_gregset = { @@ -150,7 +150,7 @@ const struct sparc_gregset sparc64_linux 16 * 8, /* %l0 */ 8, /* y size */ }; - + static void sparc64_linux_supply_core_gregset (const struct regset *regset, @@ -233,7 +233,7 @@ sparc64_linux_get_syscall_number (struct return ret; } - + static void sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -280,7 +280,7 @@ sparc64_linux_init_abi (struct gdbarch_i set_gdbarch_get_syscall_number (gdbarch, sparc64_linux_get_syscall_number); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern void _initialize_sparc64_linux_tdep (void); Index: sparc64-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-nat.c,v retrieving revision 1.10 diff -u -p -u -p -r1.10 sparc64-nat.c --- sparc64-nat.c 1 Jan 2011 15:33:15 -0000 1.10 +++ sparc64-nat.c 14 Jan 2011 21:37:34 -0000 @@ -69,7 +69,7 @@ sparc64_fpregset_supplies_p (struct gdba return 0; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64_nat (void); Index: sparc64-sol2-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-sol2-tdep.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 sparc64-sol2-tdep.c --- sparc64-sol2-tdep.c 1 Jan 2011 15:33:15 -0000 1.22 +++ sparc64-sol2-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -46,7 +46,7 @@ const struct sparc_gregset sparc64_sol2_ 16 * 8, /* %l0 */ 8 /* sizeof (%y) */ }; - + static struct sparc_frame_cache * sparc64_sol2_sigtramp_frame_cache (struct frame_info *this_frame, @@ -147,7 +147,7 @@ static const struct frame_unwind sparc64 sparc64_sol2_sigtramp_frame_sniffer }; - + void sparc64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -184,7 +184,7 @@ sparc64_sol2_init_abi (struct gdbarch_in /* How to print LWP PTIDs from core files. */ set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64_sol2_tdep (void); Index: sparc64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-tdep.c,v retrieving revision 1.50 diff -u -p -u -p -r1.50 sparc64-tdep.c --- sparc64-tdep.c 11 Jan 2011 21:53:24 -0000 1.50 +++ sparc64-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -48,7 +48,7 @@ /* Please use the sparc32_-prefix for 32-bit specific code, the sparc64_-prefix for 64-bit specific code and the sparc_-prefix for code can handle both. */ - + /* The functions on this page are intended to be used to classify function arguments. */ @@ -124,7 +124,7 @@ sparc64_structure_or_union_p (const stru return 0; } - + /* Construct types for ISA-specific registers. */ @@ -440,7 +440,7 @@ sparc64_pseudo_register_write (struct gd regcache_raw_write_unsigned (regcache, SPARC64_STATE_REGNUM, state); } } - + /* Return PC of first real instruction of the function starting at START_PC. */ @@ -548,7 +548,7 @@ static const struct frame_unwind sparc64 NULL, default_frame_sniffer }; - + static CORE_ADDR sparc64_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -566,7 +566,7 @@ static const struct frame_base sparc64_f sparc64_frame_base_address, sparc64_frame_base_address }; - + /* Check whether TYPE must be 16-byte aligned. */ static int @@ -968,7 +968,7 @@ sparc64_push_dummy_call (struct gdbarch return sp + BIAS; } - + /* Extract from an array REGBUF containing the (raw) register state, a function return value of TYPE, and copy that into VALBUF. */ @@ -1090,7 +1090,7 @@ sparc64_return_value (struct gdbarch *gd return RETURN_VALUE_REGISTER_CONVENTION; } - + static void sparc64_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum, @@ -1162,7 +1162,7 @@ sparc64_init_abi (struct gdbarch_info in frame_unwind_append_unwinder (gdbarch, &sparc64_frame_unwind); frame_base_set_default (gdbarch, &sparc64_frame_base); } - + /* Helper functions for dealing with register sets. */ Index: sparc64fbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64fbsd-nat.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 sparc64fbsd-nat.c --- sparc64fbsd-nat.c 1 Jan 2011 15:33:15 -0000 1.14 +++ sparc64fbsd-nat.c 14 Jan 2011 21:37:34 -0000 @@ -25,7 +25,7 @@ #include "fbsd-nat.h" #include "sparc64-tdep.h" #include "sparc-nat.h" - + /* Support for debugging kernel virtual memory images. */ @@ -59,7 +59,7 @@ sparc64fbsd_kvm_supply_pcb (struct regca return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64fbsd_nat (void); Index: sparc64fbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64fbsd-tdep.c,v retrieving revision 1.21 diff -u -p -u -p -r1.21 sparc64fbsd-tdep.c --- sparc64fbsd-tdep.c 1 Jan 2011 15:33:15 -0000 1.21 +++ sparc64fbsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -47,7 +47,7 @@ const struct sparc_gregset sparc64fbsd_g -1, /* %l0 */ 8 /* sizeof (%y) */ }; - + static void sparc64fbsd_supply_gregset (const struct regset *regset, @@ -80,7 +80,7 @@ sparc64fbsd_collect_fpregset (const stru { sparc64_collect_fpregset (regcache, regnum, fpregs); } - + /* Signal trampolines. */ @@ -207,7 +207,7 @@ static const struct frame_unwind sparc64 NULL, sparc64fbsd_sigtramp_frame_sniffer }; - + static void sparc64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) Index: sparc64nbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64nbsd-nat.c,v retrieving revision 1.17 diff -u -p -u -p -r1.17 sparc64nbsd-nat.c --- sparc64nbsd-nat.c 1 Jan 2011 15:33:15 -0000 1.17 +++ sparc64nbsd-nat.c 14 Jan 2011 21:37:34 -0000 @@ -124,7 +124,7 @@ sparc64nbsd_fpregset_supplies_p (struct return 0; } - + /* Support for debugging kernel virtual memory images. */ @@ -166,7 +166,7 @@ sparc64nbsd_supply_pcb (struct regcache return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64nbsd_nat (void); Index: sparc64nbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64nbsd-tdep.c,v retrieving revision 1.26 diff -u -p -u -p -r1.26 sparc64nbsd-tdep.c --- sparc64nbsd-tdep.c 1 Jan 2011 15:33:15 -0000 1.26 +++ sparc64nbsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -50,7 +50,7 @@ const struct sparc_gregset sparc64nbsd_g -1, /* %l0 */ 4 /* sizeof (%y) */ }; - + static void sparc64nbsd_supply_gregset (const struct regset *regset, @@ -67,7 +67,7 @@ sparc64nbsd_supply_fpregset (const struc { sparc64_supply_fpregset (regcache, regnum, fpregs); } - + /* Signal trampolines. */ @@ -235,7 +235,7 @@ static const struct frame_unwind sparc64 NULL, sparc64nbsd_sigtramp_frame_sniffer }; - + static void sparc64nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -260,7 +260,7 @@ sparc64nbsd_init_abi (struct gdbarch_inf set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64nbsd_tdep (void); Index: sparc64obsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64obsd-tdep.c,v retrieving revision 1.29 diff -u -p -u -p -r1.29 sparc64obsd-tdep.c --- sparc64obsd-tdep.c 1 Jan 2011 15:33:15 -0000 1.29 +++ sparc64obsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -67,7 +67,7 @@ sparc64obsd_supply_gregset (const struct sparc64_supply_gregset (&sparc64obsd_core_gregset, regcache, regnum, regs); sparc64_supply_fpregset (regcache, regnum, regs + 288); } - + /* Signal trampolines. */ @@ -200,7 +200,7 @@ static const struct frame_unwind sparc64 NULL, sparc64obsd_sigtramp_frame_sniffer }; - + /* Kernel debugging support. */ static struct sparc_frame_cache * @@ -282,7 +282,7 @@ static const struct frame_unwind sparc64 NULL, sparc64obsd_trapframe_sniffer }; - + /* Threads support. */ @@ -370,7 +370,7 @@ sparc64obsd_collect_uthread(const struct sp = extract_unsigned_integer (buf, 8, byte_order); sparc_collect_rwindow (regcache, sp, regnum); } - + static void sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -397,7 +397,7 @@ sparc64obsd_init_abi (struct gdbarch_inf bsd_uthread_set_supply_uthread (gdbarch, sparc64obsd_supply_uthread); bsd_uthread_set_collect_uthread (gdbarch, sparc64obsd_collect_uthread); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc64obsd_tdep (void); Index: sparcnbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/sparcnbsd-nat.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 sparcnbsd-nat.c --- sparcnbsd-nat.c 1 Jan 2011 15:33:15 -0000 1.14 +++ sparcnbsd-nat.c 14 Jan 2011 21:37:34 -0000 @@ -55,7 +55,7 @@ sparc32nbsd_supply_pcb (struct regcache return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparcnbsd_nat (void); Index: sparcnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparcnbsd-tdep.c,v retrieving revision 1.40 diff -u -p -u -p -r1.40 sparcnbsd-tdep.c --- sparcnbsd-tdep.c 1 Jan 2011 15:33:15 -0000 1.40 +++ sparcnbsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -76,7 +76,7 @@ sparc32nbsd_supply_fpregset (const struc sparc32_supply_fpregset (regcache, regnum, fpregs); } - + /* Signal trampolines. */ /* The following variables describe the location of an on-stack signal @@ -259,7 +259,7 @@ static const struct frame_unwind sparc32 NULL, sparc32nbsd_sigcontext_frame_sniffer }; - + /* Return the address of a system call's alternative return address. */ @@ -280,7 +280,7 @@ sparcnbsd_step_trap (struct frame_info * return 0; } - + static void sparc32nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -349,7 +349,7 @@ sparcnbsd_core_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparcnbsd_tdep (void); Index: sparcobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparcobsd-tdep.c,v retrieving revision 1.19 diff -u -p -u -p -r1.19 sparcobsd-tdep.c --- sparcobsd-tdep.c 1 Jan 2011 15:33:15 -0000 1.19 +++ sparcobsd-tdep.c 14 Jan 2011 21:37:34 -0000 @@ -145,7 +145,7 @@ static const struct frame_unwind sparc32 sparc32obsd_sigtramp_frame_sniffer }; - + /* Offset wthin the thread structure where we can find %fp and %i7. */ #define SPARC32OBSD_UTHREAD_FP_OFFSET 128 @@ -231,7 +231,7 @@ sparc32obsd_collect_uthread(const struct sp = extract_unsigned_integer (buf, 4, byte_order); sparc_collect_rwindow (regcache, sp, regnum); } - + static void sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -250,7 +250,7 @@ sparc32obsd_init_abi (struct gdbarch_inf bsd_uthread_set_collect_uthread (gdbarch, sparc32obsd_collect_uthread); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_sparc32obsd_tdep (void); Index: stabsread.c =================================================================== RCS file: /cvs/src/src/gdb/stabsread.c,v retrieving revision 1.134 diff -u -p -u -p -r1.134 stabsread.c --- stabsread.c 11 Jan 2011 21:53:24 -0000 1.134 +++ stabsread.c 14 Jan 2011 21:37:35 -0000 @@ -208,7 +208,7 @@ static int noname_undefs_length; if (**(pp) == '\\' || (**(pp) == '?' && (*(pp))[1] == '\0')) \ *(pp) = next_symbol_text (objfile); \ } while (0) - + /* Look up a dbx type-number pair. Return the address of the slot where the type for that number-pair is stored. @@ -421,7 +421,7 @@ patch_block_stabs (struct pending *symbo } } } - + /* Read a number by which a type is referred to in dbx data, or perhaps read a pair (FILENUM, TYPENUM) in parentheses. @@ -455,7 +455,7 @@ read_type_number (char **pp, int *typenu } return 0; } - + #define VISIBILITY_PRIVATE '0' /* Stabs character for private field */ #define VISIBILITY_PROTECTED '1' /* Stabs character for protected fld */ @@ -1489,7 +1489,7 @@ error_type (char **pp, struct objfile *o } return objfile_type (objfile)->builtin_error; } - + /* Read type information or a type definition; return the type. Even though this routine accepts either type information or a type @@ -2046,7 +2046,7 @@ again: return type; } - + /* RS/6000 xlc/dbx combination uses a set of builtin types, starting from -1. Return the proper type node for a given builtin type number. */ @@ -2223,7 +2223,7 @@ rs6000_builtin_type (int typenum, struct negative_types[-typenum] = rettype; return rettype; } - + /* This page contains subroutines of read_type. */ /* Replace *OLD_NAME with the method name portion of PHYSNAME. */ @@ -4294,7 +4294,7 @@ read_args (char **pp, int end, struct ob *nargsp = n; return rval; } - + /* Common block handling. */ /* List of symbols declared since the last BCOMM. This list is a tail @@ -4404,7 +4404,7 @@ fix_common_block (struct symbol *sym, in SYMBOL_VALUE_ADDRESS (next->symbol[j]) += valu; } } - + /* Add {TYPE, TYPENUMS} to the NONAME_UNDEFS vector. Index: stabsread.h =================================================================== RCS file: /cvs/src/src/gdb/stabsread.h,v retrieving revision 1.27 diff -u -p -u -p -r1.27 stabsread.h --- stabsread.h 11 Jan 2011 21:53:24 -0000 1.27 +++ stabsread.h 14 Jan 2011 21:37:35 -0000 @@ -60,7 +60,7 @@ EXTERN struct pending_stabs *global_stab Used to detect pairs of N_SO symbols. */ EXTERN int previous_stab_code; - + /* Support for Sun changes to dbx symbol format. */ /* For each identified header file, we have a table of types defined @@ -146,7 +146,7 @@ extern void start_stabs (void); extern void end_stabs (void); extern void finish_global_stabs (struct objfile *objfile); - + /* COFF files can have multiple .stab sections, if they are linked using --split-by-reloc. This linked list is used to pass the information into the functions in dbxread.c. */ @@ -158,7 +158,7 @@ struct stab_section_list /* Stab section. */ asection *section; }; - + /* Functions exported by dbxread.c. These are not in stabsread.c because they are only used by some stabs readers. */ Index: stack.c =================================================================== RCS file: /cvs/src/src/gdb/stack.c,v retrieving revision 1.222 diff -u -p -u -p -r1.222 stack.c --- stack.c 11 Jan 2011 21:53:24 -0000 1.222 +++ stack.c 14 Jan 2011 21:37:35 -0000 @@ -80,7 +80,7 @@ static void print_frame (struct frame_in cases and in a slightly different syntax. */ int annotation_level = 0; - + struct print_stack_frame_args { @@ -858,7 +858,7 @@ print_frame (struct frame_info *frame, i ui_out_text (uiout, "\n"); do_cleanups (old_chain); } - + /* Read a frame specification in whatever the appropriate format is from FRAME_EXP. Call error(), printing MESSAGE, if the @@ -1468,7 +1468,7 @@ backtrace_full_command (char *arg, int f btargs.from_tty = from_tty; catch_errors (backtrace_command_stub, &btargs, "", RETURN_MASK_ERROR); } - + /* Iterate over the local variables of a block B, calling CB with CB_DATA. */ @@ -1788,7 +1788,7 @@ args_plus_locals_info (char *ignore, int args_info (ignore, from_tty); locals_info (ignore, from_tty); } - + /* Select frame FRAME. Also print the stack frame and show the source if this is the tui version. */ @@ -1799,7 +1799,7 @@ select_and_print_frame (struct frame_inf if (frame) print_stack_frame (frame, 1, SRC_AND_LOC); } - + /* Return the symbol-block in which the selected frame is executing. Can return zero under various legitimate circumstances. @@ -1955,7 +1955,7 @@ down_command (char *count_exp, int from_ down_silently_base (count_exp); print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC); } - + void return_command (char *retval_exp, int from_tty) @@ -2158,7 +2158,7 @@ get_frame_language (void) return language_unknown; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_stack (void); Index: symfile-mem.c =================================================================== RCS file: /cvs/src/src/gdb/symfile-mem.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 symfile-mem.c --- symfile-mem.c 5 Jan 2011 22:22:50 -0000 1.22 +++ symfile-mem.c 14 Jan 2011 21:37:35 -0000 @@ -208,7 +208,7 @@ add_vsyscall_page (struct target_ops *ta } } - + /* Provide a prototype to silence -Wmissing-prototypes. */ extern initialize_file_ftype _initialize_symfile_mem; Index: symfile.c =================================================================== RCS file: /cvs/src/src/gdb/symfile.c,v retrieving revision 1.305 diff -u -p -u -p -r1.305 symfile.c --- symfile.c 11 Jan 2011 21:53:24 -0000 1.305 +++ symfile.c 14 Jan 2011 21:37:35 -0000 @@ -186,7 +186,7 @@ int auto_solib_add = 1; command. */ int auto_solib_limit; - + /* Make a null terminated copy of the string at PTR with SIZE characters in the obstack pointed to by OBSTACKP . Returns the address of the copy. @@ -1740,7 +1740,7 @@ find_sym_fns (bfd *abfd) error (_("I'm sorry, Dave, I can't do that. Symbol format `%s' unknown."), bfd_get_target (abfd)); } - + /* This function runs the load command of our current target. */ @@ -2310,7 +2310,7 @@ add_symbol_file_command (char *args, int reinit_frame_cache (); do_cleanups (my_cleanups); } - + /* Re-read symbols if a symbol-file has changed. */ void @@ -2546,7 +2546,7 @@ reread_symbols (void) observer_notify_executable_changed (); } } - + typedef struct @@ -2722,7 +2722,7 @@ deduce_language_from_filename (const cha return language_unknown; } - + /* allocate_symtab: Allocate and partly initialize a new symbol table. Return a pointer @@ -2758,7 +2758,7 @@ allocate_symtab (const char *filename, s return (symtab); } - + /* Reset all data structures in gdb which may contain references to symbol table data. ADD_FLAGS is a bitmask of enum symfile_add_flags. */ @@ -2796,7 +2796,7 @@ clear_symtab_users_cleanup (void *ignore { clear_symtab_users (0); } - + /* OVERLAYS: The following code implements an abstraction for debugging overlay sections. Index: symmisc.c =================================================================== RCS file: /cvs/src/src/gdb/symmisc.c,v retrieving revision 1.75 diff -u -p -u -p -r1.75 symmisc.c --- symmisc.c 11 Jan 2011 21:53:24 -0000 1.75 +++ symmisc.c 14 Jan 2011 21:37:35 -0000 @@ -77,7 +77,7 @@ struct print_symbol_args }; static int print_symbol (void *); - + /* Free all the storage associated with the struct symtab <- S. Note that some symtabs have contents that all live inside one big block of memory, and some share the contents of another symbol table and so you @@ -783,7 +783,7 @@ maintenance_info_symtabs (char *regexp, printf_filtered ("}\n"); } } - + /* Return the nexting depth of a block within other blocks in its symtab. */ @@ -798,7 +798,7 @@ block_depth (struct block *block) } return i; } - + /* Do early runtime initializations. */ void Index: symtab.c =================================================================== RCS file: /cvs/src/src/gdb/symtab.c,v retrieving revision 1.257 diff -u -p -u -p -r1.257 symtab.c --- symtab.c 11 Jan 2011 21:53:24 -0000 1.257 +++ symtab.c 14 Jan 2011 21:37:35 -0000 @@ -254,7 +254,7 @@ got_symtab: symbol parsing routines. */ goto got_symtab; } - + /* Mangle a GDB method stub type. This actually reassembles the pieces of the full method name, which consist of the class name (from T), the unadorned method name from METHOD_ID, and the signature for the specific overload, @@ -391,7 +391,7 @@ symbol_get_demangled_name (const struct return gsymbol->language_specific.mangled_lang.demangled_name; } - + /* Initialize the language dependent portion of a symbol depending upon the language for the symbol. */ void @@ -771,7 +771,7 @@ init_sal (struct symtab_and_line *sal) sal->explicit_pc = 0; sal->explicit_line = 0; } - + /* Return 1 if the two sections are the same, or if they could plausibly be copies of each other, one in an original object @@ -869,7 +869,7 @@ find_pc_sect_symtab_via_partial (CORE_AD return NULL; } - + /* Debug symbols usually don't have section information. We need to dig that out of the minimal symbols and stash that in the debug symbol. */ @@ -1873,7 +1873,7 @@ find_pc_symtab (CORE_ADDR pc) { return find_pc_sect_symtab (pc, find_pc_mapped_section (pc)); } - + /* Find the source file and line number for a given PC value and SECTION. Return a structure containing a symtab pointer, a line number, @@ -2144,7 +2144,7 @@ find_pc_line (CORE_ADDR pc, int notcurre pc = overlay_mapped_address (pc, section); return find_pc_sect_line (pc, section, notcurrent); } - + /* Find line number LINE in any symtab whose name is the same as SYMTAB. @@ -2247,7 +2247,7 @@ done: return best_symtab; } - + /* Set the PC value for a given source file and line number and return true. Returns zero for invalid line number (and sets the PC to 0). The source file is specified with a struct symtab. */ @@ -2728,7 +2728,7 @@ operator_chars (char *p, char **end) *end = ""; return *end; } - + /* If FILE is not already in the table of files, return zero; otherwise return non-zero. Optionally add FILE to the table if ADD @@ -3474,7 +3474,7 @@ rbreak_command (char *regexp, int from_t do_cleanups (old_chain); } - + /* Helper routine for make_symbol_completion_list. */ @@ -4381,7 +4381,7 @@ skip_prologue_using_sal (struct gdbarch /* Don't return END_PC, which is past the end of the function. */ return prologue_sal.pc; } - + struct symtabs_and_lines decode_line_spec (char *string, int funfirstline) { Index: symtab.h =================================================================== RCS file: /cvs/src/src/gdb/symtab.h,v retrieving revision 1.168 diff -u -p -u -p -r1.168 symtab.h --- symtab.h 11 Jan 2011 21:53:25 -0000 1.168 +++ symtab.h 14 Jan 2011 21:37:35 -0000 @@ -364,7 +364,7 @@ struct minimal_symbol #define MSYMBOL_SIZE(msymbol) (msymbol)->size #define MSYMBOL_TYPE(msymbol) (msymbol)->type - + /* Represent one symbol name; a variable, constant, function or typedef. */ @@ -668,7 +668,7 @@ struct template_symbol struct symbol **template_arguments; }; - + /* Each item represents a line-->pc (or the reverse) mapping. This is somewhat more wasteful of space than one might wish, but since only the files which are actually debugged are read in to core, we don't @@ -834,7 +834,7 @@ struct symtab #define BLOCKVECTOR(symtab) (symtab)->blockvector #define LINETABLE(symtab) (symtab)->linetable #define SYMTAB_PSPACE(symtab) (symtab)->objfile->pspace - + /* The virtual function table is now an array of structures which have the form { int16 offset, delta; void *pfn; }. @@ -1082,7 +1082,7 @@ struct symtabs_and_lines struct symtab_and_line *sals; int nelts; }; - + /* Some types and macros needed for exception catchpoints. @@ -1097,7 +1097,7 @@ enum exception_event_kind EX_EVENT_CATCH }; - + /* Given a pc value, return line number it is in. Second arg nonzero means if pc is on the boundary use the previous statement's line number. */ Index: target-descriptions.c =================================================================== RCS file: /cvs/src/src/gdb/target-descriptions.c,v retrieving revision 1.38 diff -u -p -u -p -r1.38 target-descriptions.c --- target-descriptions.c 11 Jan 2011 21:53:25 -0000 1.38 +++ target-descriptions.c 14 Jan 2011 21:37:35 -0000 @@ -376,7 +376,7 @@ tdesc_compatible_p (const struct target_ return 0; } - + /* Direct accessors for target descriptions. */ @@ -415,7 +415,7 @@ tdesc_osabi (const struct target_desc *t return target_desc->osabi; } - + /* Return 1 if this target description includes any registers. */ @@ -725,7 +725,7 @@ tdesc_gdb_type (struct gdbarch *gdbarch, "Type \"%s\" has an unknown kind %d", tdesc_type->name, tdesc_type->kind); } - + /* Support for registers from target descriptions. */ @@ -1166,7 +1166,7 @@ tdesc_use_registers (struct gdbarch *gdb tdesc_remote_register_number); set_gdbarch_register_reggroup_p (gdbarch, tdesc_register_reggroup_p); } - + /* Methods for constructing a target description. */ @@ -1482,7 +1482,7 @@ set_tdesc_osabi (struct target_desc *tar { target_desc->osabi = osabi; } - + static struct cmd_list_element *tdesc_set_cmdlist, *tdesc_show_cmdlist; static struct cmd_list_element *tdesc_unset_cmdlist; Index: target.c =================================================================== RCS file: /cvs/src/src/gdb/target.c,v retrieving revision 1.270 diff -u -p -u -p -r1.270 target.c --- target.c 14 Jan 2011 13:47:15 -0000 1.270 +++ target.c 14 Jan 2011 21:37:35 -0000 @@ -2938,7 +2938,7 @@ find_target_beneath (struct target_ops * return t->beneath; } - + /* The inferior process has died. Long live the inferior! */ void @@ -2964,7 +2964,7 @@ generic_mourn_inferior (void) if (deprecated_detach_hook) deprecated_detach_hook (); } - + /* Helper function for child_wait and the derivatives of child_wait. HOSTSTATUS is the waitstatus from wait() or the equivalent; store our translation of that in OURSTATUS. */ @@ -2987,7 +2987,7 @@ store_waitstatus (struct target_waitstat ourstatus->value.sig = target_signal_from_host (WSTOPSIG (hoststatus)); } } - + /* Convert a normal process ID to a string. Returns the string in a static buffer. */ @@ -3070,7 +3070,7 @@ init_dummy_target (void) (int (*) (struct target_ops *, CORE_ADDR *)) return_zero; dummy_target.to_magic = OPS_MAGIC; } - + static void debug_to_open (char *args, int from_tty) { @@ -3861,7 +3861,7 @@ setup_target_debug (void) current_target.to_pid_to_exec_file = debug_to_pid_to_exec_file; current_target.to_thread_architecture = debug_to_thread_architecture; } - + static char targ_desc[] = "Names of targets and files being debugged.\nShows the entire \ Index: target.h =================================================================== RCS file: /cvs/src/src/gdb/target.h,v retrieving revision 1.198 diff -u -p -u -p -r1.198 target.h --- target.h 14 Jan 2011 13:47:15 -0000 1.198 +++ target.h 14 Jan 2011 21:37:35 -0000 @@ -217,7 +217,7 @@ enum inferior_event_type 'step n' like commands. */ INF_EXEC_CONTINUE }; - + /* Target objects which can be transfered using target_read, target_write, et cetera. */ @@ -384,7 +384,7 @@ extern void get_target_memory (struct ta extern ULONGEST get_target_memory_unsigned (struct target_ops *ops, CORE_ADDR addr, int len, enum bfd_endian byte_order); - + struct thread_info; /* fwd decl for parameter list below: */ struct target_ops @@ -1586,7 +1586,7 @@ extern struct target_ops *find_target_be extern char *target_get_osdata (const char *type); - + /* Stuff that should be shared among the various remote targets. */ /* Debugging level. 0 is off, and non-zero values mean to print some debug @@ -1598,7 +1598,7 @@ extern int baud_rate; /* Timeout limit for response from target. */ extern int remote_timeout; - + /* Functions for helping to write a native target. */ /* This is for native targets which use a unix/POSIX-style waitstatus. */ @@ -1627,7 +1627,7 @@ extern int may_stop; extern void update_target_permissions (void); - + /* Imported from machine dependent code. */ /* Blank target vector entries are initialized to target_ignore. */ Index: top.c =================================================================== RCS file: /cvs/src/src/gdb/top.c,v retrieving revision 1.191 diff -u -p -u -p -r1.191 top.c --- top.c 13 Jan 2011 23:01:07 -0000 1.191 +++ top.c 14 Jan 2011 21:37:35 -0000 @@ -293,7 +293,7 @@ quit_cover (void *s) return 0; } #endif /* defined SIGHUP */ - + /* Line number we are currently in in a file which is being sourced. */ /* NOTE 1999-04-29: This variable will be static again, once we modify gdb to use the event loop as the default command loop and we merge @@ -327,7 +327,7 @@ read_command_file (FILE *stream) command_loop (); do_cleanups (cleanups); } - + void (*pre_init_ui_hook) (void); #ifdef __MSDOS__ @@ -545,7 +545,7 @@ command_loop (void) do_cleanups (old_chain); } } - + /* Commands call this if they do not want to be repeated by null lines. */ void @@ -560,7 +560,7 @@ dont_repeat (void) if (instream == stdin) *line = 0; } - + /* Read a line from the stream "instream" without command line editing. It prints PROMPT_ARG once at the start. @@ -770,7 +770,7 @@ gdb_readline_wrapper (char *prompt) return retval; } - + /* The current saved history number from operate-and-get-next. This is -1 if not valid. */ static int operate_saved_history = -1; @@ -822,7 +822,7 @@ gdb_rl_operate_and_get_next (int count, return rl_newline (1, key); } - + /* Read one line from the command input stream `instream' into the local static buffer `linebuffer' (whose current length is `linelength'). @@ -1042,7 +1042,7 @@ command_line_input (char *prompt_arg, in return linebuffer; } - + /* Print the GDB banner. */ void print_gdb_version (struct ui_file *stream) @@ -1090,7 +1090,7 @@ and \"show warranty\" for details.\n"); fprintf_filtered (stream, "%s.", REPORT_BUGS_TO); } } - + /* get_prompt: access method for the GDB prompt string. */ char * @@ -1109,7 +1109,7 @@ set_prompt (char *s) */ PROMPT (0) = xstrdup (s); } - + struct qt_args { @@ -1309,14 +1309,14 @@ input_from_terminal_p (void) return 0; } - + static void dont_repeat_command (char *ignored, int from_tty) { *line = 0; /* Can't call dont_repeat here because we're not necessarily reading from stdin. */ } - + /* Functions to manipulate command line editing control variables. */ /* Number of commands to print in each call to show_commands. */ Index: typeprint.c =================================================================== RCS file: /cvs/src/src/gdb/typeprint.c,v retrieving revision 1.41 diff -u -p -u -p -r1.41 typeprint.c --- typeprint.c 11 Jan 2011 21:53:25 -0000 1.41 +++ typeprint.c 14 Jan 2011 21:37:35 -0000 @@ -307,7 +307,7 @@ maintenance_print_type (char *typename, do_cleanups (old_chain); } } - + void _initialize_typeprint (void) Index: ui-file.c =================================================================== RCS file: /cvs/src/src/gdb/ui-file.c,v retrieving revision 1.26 diff -u -p -u -p -r1.26 ui-file.c --- ui-file.c 12 Jan 2011 01:23:28 -0000 1.26 +++ ui-file.c 14 Jan 2011 21:37:35 -0000 @@ -321,7 +321,7 @@ ui_file_obsavestring (struct ui_file *fi obstack_1grow (obstack, '\0'); return obstack_finish (obstack); } - + /* A pure memory based ``struct ui_file'' that can be used an output buffer. The buffers accumulated contents are available via ui_file_put(). */ @@ -432,7 +432,7 @@ mem_file_write (struct ui_file *file, stream->length_buffer = new_length; } } - + /* ``struct ui_file'' implementation that maps directly onto 's FILE. */ Index: utils.c =================================================================== RCS file: /cvs/src/src/gdb/utils.c,v retrieving revision 1.244 diff -u -p -u -p -r1.244 utils.c --- utils.c 12 Jan 2011 01:23:28 -0000 1.244 +++ utils.c 14 Jan 2011 21:37:35 -0000 @@ -197,7 +197,7 @@ show_pagination_enabled (struct ui_file fprintf_filtered (file, _("State of pagination is %s.\n"), value); } - + /* Add a new cleanup to the cleanup_chain, and return the previous chain pointer @@ -946,7 +946,7 @@ discard_all_intermediate_continuations ( iterate_over_threads (discard_all_intermediate_continuations_thread_callback, NULL); } - + /* Print a warning message. The first argument STRING is the warning @@ -1433,7 +1433,7 @@ quit (void) #endif } - + /* Called when a memory allocation fails, with the number of bytes of memory requested in SIZE. */ @@ -1530,7 +1530,7 @@ xfree (void *ptr) if (ptr != NULL) free (ptr); /* ARI: free */ } - + /* Like asprintf/vasprintf but get an internal_error if the call fails. */ @@ -1613,7 +1613,7 @@ myread (int desc, char *addr, int len) } return orglen; } - + /* Make a copy of the string at PTR with SIZE characters (and add a null character at the end in the copy). Uses malloc to get the space. Returns the address of the copy. */ @@ -1641,7 +1641,7 @@ gdb_print_host_address (const void *addr { fprintf_filtered (stream, "%s", host_address_to_string (addr)); } - + /* This function supports the query, nquery, and yquery functions. Ask user a y-or-n question and return 0 if answer is no, 1 if @@ -1801,7 +1801,7 @@ defaulted_query (const char *ctlstr, con printf_filtered (("\n\032\032post-query\n")); return retval; } - + /* Ask user a y-or-n question and return 0 if answer is no, 1 if answer is yes, or 0 if answer is defaulted. @@ -1969,7 +1969,7 @@ parse_escape (struct gdbarch *gdbarch, c target_charset (gdbarch)); return target_char; } - + /* Print the character C on STREAM as part of the contents of a literal string whose delimiter is QUOTER. Note that this routine should only be call for printing things which are independent of the language @@ -2060,7 +2060,7 @@ fputstrn_unfiltered (const char *str, in for (i = 0; i < n; i++) printchar (str[i], fputs_unfiltered, fprintf_unfiltered, stream, quoter); } - + /* Number of lines per page or UINT_MAX if paging is disabled. */ static unsigned int lines_per_page; @@ -2111,7 +2111,7 @@ static char *wrap_indent; /* Column number on the screen where wrap_buffer begins, or 0 if wrapping is not in effect. */ static int wrap_column; - + /* Inialize the number of lines per page and chars per line. */ @@ -2882,7 +2882,7 @@ print_spaces_filtered (int n, struct ui_ { fputs_filtered (n_spaces (n), stream); } - + /* C++/ObjC demangler stuff. */ /* fprintf_symbol_filtered attempts to demangle NAME, a symbol in language @@ -3037,7 +3037,7 @@ streq (const char *lhs, const char *rhs) { return !strcmp (lhs, rhs); } - + /* ** subset_compare() @@ -3079,7 +3079,7 @@ show_debug_timestamp (struct ui_file *fi fprintf_filtered (file, _("Timestamping debugging messages is %s.\n"), value); } - + void initialize_utils (void) Index: valarith.c =================================================================== RCS file: /cvs/src/src/gdb/valarith.c,v retrieving revision 1.97 diff -u -p -u -p -r1.97 valarith.c --- valarith.c 12 Jan 2011 16:10:05 -0000 1.97 +++ valarith.c 14 Jan 2011 21:37:35 -0000 @@ -41,7 +41,7 @@ #endif void _initialize_valarith (void); - + /* Given a pointer, return the size of its target. If the pointer type is void *, then return 1. @@ -261,7 +261,7 @@ value_bitstring_subscript (struct type * return v; } - + /* Check to see if either argument is a structure, or a reference to one. This is called so we know whether to go ahead with the normal binop or look for a user defined function instead. @@ -656,7 +656,7 @@ value_x_unop (struct value *arg1, enum e return 0; /* For lint -- never reached */ } - + /* Concatenate two values with the following conditions: @@ -812,7 +812,7 @@ value_concat (struct value *arg1, struct } return (outval); } - + /* Integer exponentiation: V1**V2, where both arguments are integers. Requires V1 != 0 if V2 < 0. Returns 1 for 0 ** 0. */ @@ -1481,7 +1481,7 @@ value_binop (struct value *arg1, struct return val; } - + /* Simulate the C operator ! -- return 1 if ARG1 contains zero. */ int @@ -1704,7 +1704,7 @@ value_less (struct value *arg1, struct v return 0; } } - + /* The unary operators +, - and ~. They free the argument ARG1. */ struct value * @@ -1827,7 +1827,7 @@ value_complement (struct value *arg1) return val; } - + /* The INDEX'th bit of SET value whose value_type is TYPE, and whose value_contents is valaddr. Return -1 if out of range, -2 other error. */ Index: valops.c =================================================================== RCS file: /cvs/src/src/gdb/valops.c,v retrieving revision 1.265 diff -u -p -u -p -r1.265 valops.c --- valops.c 12 Jan 2011 16:10:05 -0000 1.265 +++ valops.c 14 Jan 2011 21:37:35 -0000 @@ -1687,7 +1687,7 @@ value_ind (struct value *arg1) error (_("Attempt to take contents of a non-pointer value.")); return 0; /* For lint -- never reached. */ } - + /* Create a value for an array by allocating space in GDB, copying copying the data into that space, and then setting up an array value. @@ -1801,7 +1801,7 @@ value_bitstring (char *ptr, int len, str memcpy (value_contents_raw (val), ptr, TYPE_LENGTH (type)); return val; } - + /* See if we can pass arguments in T2 to a function which takes arguments of types T1. T1 is a list of NARGS arguments, and T2 is a NULL-terminated vector. If some arguments need coercion of some Index: valprint.c =================================================================== RCS file: /cvs/src/src/gdb/valprint.c,v retrieving revision 1.103 diff -u -p -u -p -r1.103 valprint.c --- valprint.c 12 Jan 2011 01:23:29 -0000 1.103 +++ valprint.c 14 Jan 2011 21:37:35 -0000 @@ -218,7 +218,7 @@ show_addressprint (struct ui_file *file, { fprintf_filtered (file, _("Printing of addresses is %s.\n"), value); } - + /* A helper function for val_print. When printing in "summary" mode, we want to print scalar arguments, but not aggregate arguments. @@ -1483,7 +1483,7 @@ val_print_string (struct type *elttype, return (bytes_read / width); } - + /* The 'set input-radix' command writes to this auxiliary variable. If the requested radix is valid, INPUT_RADIX is updated; otherwise, @@ -1617,7 +1617,7 @@ show_radix (char *arg, int from_tty) } } } - + static void set_print (char *arg, int from_tty) @@ -1632,7 +1632,7 @@ show_print (char *args, int from_tty) { cmd_show_list (showprintlist, from_tty, ""); } - + void _initialize_valprint (void) { Index: value.c =================================================================== RCS file: /cvs/src/src/gdb/value.c,v retrieving revision 1.124 diff -u -p -u -p -r1.124 value.c --- value.c 12 Jan 2011 16:10:05 -0000 1.124 +++ value.c 14 Jan 2011 21:37:36 -0000 @@ -241,7 +241,7 @@ static struct value_history_chunk *value static int value_history_count; /* Abs number of last entry stored. */ - + /* List of all value objects currently allocated (except for those released by calls to release_value) This is so they can be freed after each command. */ @@ -649,7 +649,7 @@ deprecated_set_value_modifiable (struct { value->modifiable = modifiable; } - + /* Return a mark in the value chain. All values allocated after the mark is obtained (except for those released) are subject to being freed if a subsequent value_free_to_mark is passed the mark. */ @@ -878,7 +878,7 @@ set_value_component_location (struct val } } - + /* Access to the value history. */ /* Record a new value in the value history. @@ -1009,7 +1009,7 @@ show_values (char *num_exp, int from_tty num_exp[1] = '\0'; } } - + /* Internal variables. These are variables within the debugger that hold values assigned by debugger commands. The user refers to them with a '$' prefix @@ -1643,7 +1643,7 @@ show_convenience (char *ignore, int from "use \"set\" as in \"set " "$foo = 5\" to define them.\n")); } - + /* Extract a value as a C number (either long or double). Knows how to convert fixed values to double, or floating values to long. @@ -1777,7 +1777,7 @@ value_as_address (struct value *val) return unpack_long (value_type (val), value_contents (val)); #endif } - + /* Unpack raw data (copied from debugee, target byte order) at VALADDR as a long, or as a double, assuming the raw data is described by type TYPE. Knows how to convert different sizes of values @@ -1917,7 +1917,7 @@ unpack_pointer (struct type *type, const return unpack_long (type, valaddr); } - + /* Get the value of the FIELDNO'th field (which must be static) of TYPE. Return NULL if the field doesn't exist or has been optimized out. */ @@ -2153,7 +2153,7 @@ value_fn_field (struct value **arg1p, st return v; } - + /* Unpack a bitfield of the specified FIELD_TYPE, from the anonymous object at VALADDR. The bitfield starts at BITPOS bits and contains BITSIZE bits. @@ -2280,7 +2280,7 @@ modify_field (struct type *type, gdb_byt store_unsigned_integer (addr, bytesize, byte_order, oword); } - + /* Pack NUM into BUF using a target format of TYPE. */ void @@ -2471,7 +2471,7 @@ coerce_array (struct value *arg) } return arg; } - + /* Return true if the function returning the specified type is using the convention of returning structures in memory (passing in the Index: value.h =================================================================== RCS file: /cvs/src/src/gdb/value.h,v retrieving revision 1.167 diff -u -p -u -p -r1.167 value.h --- value.h 12 Jan 2011 01:23:29 -0000 1.167 +++ value.h 14 Jan 2011 21:37:36 -0000 @@ -354,7 +354,7 @@ extern int value_bits_valid (const struc extern int value_bits_synthetic_pointer (const struct value *value, int offset, int length); - + #include "symtab.h" #include "gdbtypes.h" Index: varobj.c =================================================================== RCS file: /cvs/src/src/gdb/varobj.c,v retrieving revision 1.170 diff -u -p -u -p -r1.170 varobj.c --- varobj.c 12 Jan 2011 01:23:29 -0000 1.170 +++ varobj.c 14 Jan 2011 21:37:36 -0000 @@ -470,7 +470,7 @@ static struct vlist **varobj_table; /* Is the variable X one of our "fake" children? */ #define CPLUS_FAKE_CHILD(x) \ ((x) != NULL && (x)->type == NULL && (x)->value == NULL) - + /* API Implementation */ static int @@ -1884,7 +1884,7 @@ VEC(varobj_update_result) *varobj_update return result; } - + /* Helper functions */ @@ -2116,7 +2116,7 @@ create_child_with_value (struct varobj * return child; } - + /* * Miscellaneous utility functions. @@ -2320,7 +2320,7 @@ cppop (struct cpstack **pstack) return v; } - + /* * Language-dependencies */ @@ -3106,7 +3106,7 @@ c_value_of_variable (struct varobj *var, } } } - + /* C++ */ @@ -3450,7 +3450,7 @@ cplus_value_of_variable (struct varobj * return c_value_of_variable (var, format); } - + /* Java */ static int @@ -3545,7 +3545,7 @@ all_root_varobjs (void (*func) (struct v (*func) (var_root->rootvar, data); } } - + extern void _initialize_varobj (void); void _initialize_varobj (void) Index: vax-nat.c =================================================================== RCS file: /cvs/src/src/gdb/vax-nat.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 vax-nat.c --- vax-nat.c 1 Jan 2011 15:33:19 -0000 1.12 +++ vax-nat.c 14 Jan 2011 21:37:36 -0000 @@ -82,7 +82,7 @@ vax_register_u_offset (struct gdbarch *g return vax_register_u_addr (u_ar0, regnum) - vax_kernel_u_addr; } - + #include Index: vax-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/vax-tdep.c,v retrieving revision 1.109 diff -u -p -u -p -r1.109 vax-tdep.c --- vax-tdep.c 12 Jan 2011 01:23:29 -0000 1.109 +++ vax-tdep.c 14 Jan 2011 21:37:36 -0000 @@ -64,7 +64,7 @@ vax_register_type (struct gdbarch *gdbar { return builtin_type (gdbarch)->builtin_int; } - + /* Core file support. */ /* Supply register REGNUM from the buffer specified by GREGS and LEN @@ -105,7 +105,7 @@ vax_regset_from_core_section (struct gdb return NULL; } - + /* The VAX UNIX calling convention uses R1 to pass a structure return value address instead of passing it as a first (hidden) argument as the VMS calling convention suggests. */ @@ -202,7 +202,7 @@ vax_dummy_id (struct gdbarch *gdbarch, s fp = get_frame_register_unsigned (this_frame, VAX_FP_REGNUM); return frame_id_build (fp, get_frame_pc (this_frame)); } - + static enum return_value_convention vax_return_value (struct gdbarch *gdbarch, struct type *func_type, @@ -250,7 +250,7 @@ vax_return_value (struct gdbarch *gdbarc return RETURN_VALUE_REGISTER_CONVENTION; } - + /* Use the program counter to determine the contents and size of a breakpoint instruction. Return a pointer to a string of bytes that @@ -266,7 +266,7 @@ vax_breakpoint_from_pc (struct gdbarch * *len = sizeof (break_insn); return break_insn; } - + /* Advance PC across any function entry prologue instructions to reach some "real" code. */ @@ -298,7 +298,7 @@ vax_skip_prologue (struct gdbarch *gdbar return pc; } - + /* Unwinding the stack is relatively easy since the VAX has a dedicated frame pointer, and frames are set up automatically as the @@ -407,7 +407,7 @@ static const struct frame_unwind vax_fra NULL, default_frame_sniffer }; - + static CORE_ADDR vax_frame_base_address (struct frame_info *this_frame, void **this_cache) @@ -452,7 +452,7 @@ vax_unwind_pc (struct gdbarch *gdbarch, { return frame_unwind_register_unsigned (next_frame, VAX_PC_REGNUM); } - + /* Initialize the current architecture based on INFO. If possible, re-use an architecture from ARCHES, which is a list of architectures already created Index: vaxbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/vaxbsd-nat.c,v retrieving revision 1.17 diff -u -p -u -p -r1.17 vaxbsd-nat.c --- vaxbsd-nat.c 1 Jan 2011 15:33:19 -0000 1.17 +++ vaxbsd-nat.c 14 Jan 2011 21:37:36 -0000 @@ -58,7 +58,7 @@ vaxbsd_collect_gregset (const struct reg regcache_raw_collect (regcache, i, regs + i * 4); } } - + /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers. */ @@ -95,7 +95,7 @@ vaxbsd_store_inferior_registers (struct (PTRACE_TYPE_ARG3) ®s, 0) == -1) perror_with_name (_("Couldn't write registers")); } - + /* Support for debugging kernel virtual memory images. */ @@ -128,7 +128,7 @@ vaxbsd_supply_pcb (struct regcache *regc return 1; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_vaxbsd_nat (void); Index: vaxnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/vaxnbsd-tdep.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 vaxnbsd-tdep.c --- vaxnbsd-tdep.c 1 Jan 2011 15:33:19 -0000 1.12 +++ vaxnbsd-tdep.c 14 Jan 2011 21:37:36 -0000 @@ -36,7 +36,7 @@ vaxnbsd_elf_init_abi (struct gdbarch_inf set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_vaxnbsd_tdep (void); Index: vaxobsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/vaxobsd-tdep.c,v retrieving revision 1.9 diff -u -p -u -p -r1.9 vaxobsd-tdep.c --- vaxobsd-tdep.c 1 Jan 2011 15:33:19 -0000 1.9 +++ vaxobsd-tdep.c 14 Jan 2011 21:37:36 -0000 @@ -140,7 +140,7 @@ static const struct frame_unwind vaxobsd NULL, vaxobsd_sigtramp_sniffer }; - + /* OpenBSD a.out. */ @@ -164,7 +164,7 @@ vaxobsd_aout_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } - + /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_vaxobsd_tdep (void); Index: xcoffread.c =================================================================== RCS file: /cvs/src/src/gdb/xcoffread.c,v retrieving revision 1.83 diff -u -p -u -p -r1.83 xcoffread.c --- xcoffread.c 12 Jan 2011 01:23:29 -0000 1.83 +++ xcoffread.c 14 Jan 2011 21:37:36 -0000 @@ -57,7 +57,7 @@ /* For interface with stabsread.c. */ #include "aout/stab_gnu.h" - + /* We put a pointer to this structure in the read_symtab_private field of the psymtab. */ @@ -84,7 +84,7 @@ struct symloc /* Remember what we deduced to be the source language of this psymtab. */ static enum language psymtab_language = language_unknown; - + /* Simplified internal version of coff symbol table information. */ @@ -220,7 +220,7 @@ static struct linetable *arrange_linetab static void record_include_end (struct coff_symbol *); static void process_linenos (CORE_ADDR, CORE_ADDR); - + /* Translate from a COFF section number (target_index) to a SECT_OFF_* code. */ @@ -287,7 +287,7 @@ secnum_to_bfd_section (int secnum, struc bfd_map_over_sections (objfile->obfd, find_targ_sec, &args); return sect; } - + /* add a given stab string into given stab vector. */ #if 0 @@ -314,7 +314,7 @@ add_stab_to_list (char *stabname, struct } #endif - /* *INDENT-OFF* */ +/* *INDENT-OFF* */ /* Linenos are processed on a file-by-file basis. Two reasons: @@ -1757,7 +1757,7 @@ find_linenos (struct bfd *abfd, struct b if (maxoff > info->max_lineno_offset) info->max_lineno_offset = maxoff; } - + static void xcoff_psymtab_to_symtab_1 (struct partial_symtab *); static void @@ -1857,7 +1857,7 @@ xcoff_psymtab_to_symtab (struct partial_ printf_filtered ("done.\n"); } } - + static void xcoff_new_init (struct objfile *objfile) { @@ -1957,7 +1957,7 @@ init_stringtab (bfd *abfd, file_ptr offs return; } - + /* If we have not yet seen a function for this psymtab, this is 0. If we have seen one, it is the offset in the line numbers of the line numbers for the psymtab. */ @@ -3020,7 +3020,7 @@ xcoff_initial_scan (struct objfile *objf do_cleanups (back_to); } - + static void xcoff_symfile_offsets (struct objfile *objfile, struct section_addr_info *addrs) Index: xml-support.c =================================================================== RCS file: /cvs/src/src/gdb/xml-support.c,v retrieving revision 1.22 diff -u -p -u -p -r1.22 xml-support.c --- xml-support.c 12 Jan 2011 01:23:29 -0000 1.22 +++ xml-support.c 14 Jan 2011 21:37:36 -0000 @@ -670,7 +670,7 @@ gdb_xml_parse_attr_enum (struct gdb_xml_ memcpy (ret, &enums->value, sizeof (enums->value)); return ret; } - + /* XInclude processing. This is done as a separate step from actually parsing the document, so that we can produce a single combined XML @@ -882,7 +882,7 @@ xml_process_xincludes (const char *name, return result; } #endif /* HAVE_LIBEXPAT */ - + /* Return an XML document which was compiled into GDB, from the given FILENAME, or NULL if the file was not compiled in. */ @@ -928,7 +928,7 @@ xml_builtin_xfer_partial (const char *fi memcpy (readbuf, buf + offset, len); return len; } - + static void show_debug_xml (struct ui_file *file, int from_tty, Index: xml-tdesc.c =================================================================== RCS file: /cvs/src/src/gdb/xml-tdesc.c,v retrieving revision 1.24 diff -u -p -u -p -r1.24 xml-tdesc.c --- xml-tdesc.c 5 Jan 2011 22:22:53 -0000 1.24 +++ xml-tdesc.c 14 Jan 2011 21:37:36 -0000 @@ -560,7 +560,7 @@ tdesc_parse_xml (const char *document, x } } #endif /* HAVE_LIBEXPAT */ - + /* Read an XML target description from FILENAME. Parse it, and return the parsed description. */ @@ -610,7 +610,7 @@ fetch_available_features_from_target (co TARGET_OBJECT_AVAILABLE_FEATURES, name); } - + /* Read an XML target description using OPS. Parse it, and return the parsed description. */ Index: cli/cli-cmds.c =================================================================== RCS file: /cvs/src/src/gdb/cli/cli-cmds.c,v retrieving revision 1.108 diff -u -p -u -p -r1.108 cli-cmds.c --- cli/cli-cmds.c 6 Jan 2011 00:57:02 -0000 1.108 +++ cli/cli-cmds.c 14 Jan 2011 21:37:36 -0000 @@ -91,7 +91,7 @@ void apropos_command (char *, int); /* Prototypes for local utility functions */ static void ambiguous_line_spec (struct symtabs_and_lines *); - + /* Limit the call depth of user-defined commands */ int max_user_call_depth; @@ -189,7 +189,7 @@ struct cmd_list_element *showchecklist; int source_verbose = 0; int trace_commands = 0; - + /* 'script-extension' option support. */ static const char script_ext_off[] = "off"; @@ -204,7 +204,7 @@ static const char *script_ext_enums[] = }; static const char *script_ext_mode = script_ext_soft; - + /* Utility used everywhere when at least one argument is needed and none is supplied. */ @@ -233,7 +233,7 @@ show_command (char *arg, int from_tty) { cmd_show_list (showlist, from_tty, ""); } - + /* Provide documentation on command or list given by COMMAND. FROM_TTY is ignored. */ @@ -242,7 +242,7 @@ help_command (char *command, int from_tt { help_cmd (command, gdb_stdout); } - + /* String compare function for qsort. */ static int compare_strings (const void *arg1, const void *arg2) @@ -462,7 +462,7 @@ cd_command (char *dir, int from_tty) if (from_tty) pwd_command ((char *) 0, 1); } - + /* Show the current value of the 'script-extension' option. */ static void @@ -1276,7 +1276,7 @@ apropos_command (char *searchstr, int fr } xfree (pattern_fastmap); } - + /* Print a list of files and line numbers which a user may choose from in order to list a function which was specified ambiguously (as with `list classname::overloadedfuncname', for example). The @@ -1390,7 +1390,7 @@ show_max_user_call_depth (struct ui_file value); } - + void init_cli_cmds (void) { Index: cli/cli-decode.c =================================================================== RCS file: /cvs/src/src/gdb/cli/cli-decode.c,v retrieving revision 1.92 diff -u -p -u -p -r1.92 cli-decode.c --- cli/cli-decode.c 6 Jan 2011 00:57:02 -0000 1.92 +++ cli/cli-decode.c 14 Jan 2011 21:37:36 -0000 @@ -56,7 +56,7 @@ static void print_help_for_command (struct cmd_list_element *c, char *prefix, int recurse, struct ui_file *stream); - + /* Set the callback function for the specified command. For each both the commands callback and func() are set. The latter set to a bounce function (unless cfunc / sfunc is NULL that is). */ @@ -720,7 +720,7 @@ delete_cmd (char *name, struct cmd_list_ return aliases; } - + /* Shorthands to the commands above. */ /* Add an element to the list of info subcommands. */ @@ -756,7 +756,7 @@ add_com_alias (char *name, char *oldname { return add_alias_cmd (name, oldname, class, abbrev_flag, &cmdlist); } - + /* Recursively walk the commandlist structures, and print out the documentation of commands that match our regex in either their name, or their documentation. @@ -1079,7 +1079,7 @@ help_cmd_list (struct cmd_list_element * recurse, stream); } } - + /* Search the input clist for 'command'. Return the command if found (or NULL if not), and return the number of commands Index: cli/cli-script.c =================================================================== RCS file: /cvs/src/src/gdb/cli/cli-script.c,v retrieving revision 1.66 diff -u -p -u -p -r1.66 cli-script.c --- cli/cli-script.c 6 Jan 2011 00:57:02 -0000 1.66 +++ cli/cli-script.c 14 Jan 2011 21:37:36 -0000 @@ -78,7 +78,7 @@ struct user_args } *user_args; - + /* Allocate, initialize a new command line structure for one of the control commands (if/while). */ @@ -834,7 +834,7 @@ insert_args (char *line) return save_line; } - + /* Expand the body_list of COMMAND so that it can hold NEW_LENGTH code bodies. This is typically used when we encounter an "else" clause for an "if" command. */ @@ -1353,7 +1353,7 @@ copy_command_lines (struct command_line return result; } - + /* Validate that *COMNAME is a valid name for a command. Return the containing command list, in case it starts with a prefix command. The prefix must already exist. *COMNAME is advanced to point after @@ -1572,7 +1572,7 @@ document_command (char *comname, int fro free_command_lines (&doclines); } - + struct source_cleanup_lines_args { int old_line; Index: cli/cli-setshow.c =================================================================== RCS file: /cvs/src/src/gdb/cli/cli-setshow.c,v retrieving revision 1.43 diff -u -p -u -p -r1.43 cli-setshow.c --- cli/cli-setshow.c 6 Jan 2011 00:57:02 -0000 1.43 +++ cli/cli-setshow.c 14 Jan 2011 21:37:36 -0000 @@ -33,7 +33,7 @@ static int parse_binary_operation (char *); - + static enum auto_boolean parse_auto_binary_operation (const char *arg) { @@ -90,7 +90,7 @@ parse_binary_operation (char *arg) return 0; } } - + void deprecated_show_value_hack (struct ui_file *ignore_file, int ignore_from_tty, Index: common/signals.c =================================================================== RCS file: /cvs/src/src/gdb/common/signals.c,v retrieving revision 1.6 diff -u -p -u -p -r1.6 signals.c --- common/signals.c 6 Jan 2011 00:57:02 -0000 1.6 +++ common/signals.c 14 Jan 2011 21:37:36 -0000 @@ -105,7 +105,7 @@ target_signal_from_name (const char *nam return sig; return TARGET_SIGNAL_UNKNOWN; } - + /* The following functions are to help certain targets deal with the signal/waitstatus stuff. They could just as well be in a file called native-utils.c or unixwaitstatus-utils.c or whatever. */ Index: gdbserver/i386-low.c =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/i386-low.c,v retrieving revision 1.5 diff -u -p -u -p -r1.5 i386-low.c --- gdbserver/i386-low.c 1 Jan 2011 15:33:24 -0000 1.5 +++ gdbserver/i386-low.c 14 Jan 2011 21:37:36 -0000 @@ -144,7 +144,7 @@ enum target_hw_bp_type /* Types of operations supported by i386_handle_nonaligned_watchpoint. */ typedef enum { WP_INSERT, WP_REMOVE, WP_COUNT } i386_wp_op_t; - + /* Implementation. */ /* Clear the reference counts and forget everything we knew about the Index: gdbserver/i386-low.h =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/i386-low.h,v retrieving revision 1.4 diff -u -p -u -p -r1.4 i386-low.h --- gdbserver/i386-low.h 1 Jan 2011 15:33:24 -0000 1.4 +++ gdbserver/i386-low.h 14 Jan 2011 21:37:36 -0000 @@ -84,7 +84,7 @@ extern int i386_low_stopped_data_address /* Return true if the inferior has some watchpoint that triggered. Otherwise return false. */ extern int i386_low_stopped_by_watchpoint (struct i386_debug_reg_state *state); - + /* Each target needs to provide several low-level functions that will be called to insert watchpoints and hardware breakpoints into the inferior, remove them, and check their status. These Index: gdbserver/linux-x86-low.c =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/linux-x86-low.c,v retrieving revision 1.26 diff -u -p -u -p -r1.26 linux-x86-low.c --- gdbserver/linux-x86-low.c 6 Jan 2011 00:14:09 -0000 1.26 +++ gdbserver/linux-x86-low.c 14 Jan 2011 21:37:36 -0000 @@ -154,7 +154,7 @@ static /*const*/ int i386_regmap[] = #define I386_NUM_REGS (sizeof (i386_regmap) / sizeof (i386_regmap[0])) #endif - + /* Called by libthread_db. */ ps_err_e @@ -242,7 +242,7 @@ x86_get_thread_area (int lwpid, CORE_ADD } - + static int i386_cannot_store_register (int regno) { @@ -413,7 +413,7 @@ x86_set_pc (struct regcache *regcache, C supply_register_by_name (regcache, "eip", &newpc); } } - + static const unsigned char x86_breakpoint[] = { 0xCC }; #define x86_breakpoint_len 1 @@ -428,7 +428,7 @@ x86_breakpoint_at (CORE_ADDR pc) return 0; } - + /* Support for debug registers. */ static unsigned long @@ -546,7 +546,7 @@ i386_dr_low_get_status (void) return x86_linux_dr_get (ptid, DR_STATUS); } - + /* Breakpoint/Watchpoint support. */ static int @@ -622,7 +622,7 @@ x86_stopped_data_address (void) return addr; return 0; } - + /* Called when a new process is created. */ static struct arch_process_info * @@ -674,7 +674,7 @@ x86_linux_prepare_to_resume (struct lwp_ if (lwp->stopped_by_watchpoint) x86_linux_dr_set (ptid, DR_STATUS, 0); } - + /* When GDBSERVER is built as a 64-bit application on linux, the PTRACE_GETSIGINFO data is always presented in 64-bit layout. Since debugging a 32-bit inferior with a 64-bit GDBSERVER should look the same @@ -926,7 +926,7 @@ x86_siginfo_fixup (struct siginfo *nativ return 0; } - + static int use_xml; /* Update gdbserver_xmltarget. */ Index: mi/mi-main.c =================================================================== RCS file: /cvs/src/src/gdb/mi/mi-main.c,v retrieving revision 1.190 diff -u -p -u -p -r1.190 mi-main.c --- mi/mi-main.c 12 Jan 2011 21:09:39 -0000 1.190 +++ mi/mi-main.c 14 Jan 2011 21:37:36 -0000 @@ -1808,7 +1808,7 @@ mi_cmd_remove_inferior (char *command, c delete_inferior_1 (inf, 1 /* silent */); } - + /* Execute a command within a safe environment. Return <0 for error; >=0 for ok. Index: osf-share/cma_attr.h =================================================================== RCS file: /cvs/src/src/gdb/osf-share/cma_attr.h,v retrieving revision 1.2 diff -u -p -u -p -r1.2 cma_attr.h --- osf-share/cma_attr.h 6 Jan 2011 00:57:03 -0000 1.2 +++ osf-share/cma_attr.h 14 Jan 2011 21:37:36 -0000 @@ -36,7 +36,7 @@ * CONSTANTS AND MACROS */ - + /* * FUNCTIONAL DESCRIPTION: * @@ -72,7 +72,7 @@ cma__int_unlock ((_int_att_)->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * @@ -107,7 +107,7 @@ cma__int_unlock ((_int_att_)->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * @@ -144,7 +144,7 @@ ? cma_c_sched_inherit : cma_c_sched_use_default); \ cma__int_unlock ((_int_att_)->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * @@ -183,7 +183,7 @@ _int_att_->cache[cma__c_obj_stack].revision++; \ cma__int_unlock (_int_att_->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * @@ -218,7 +218,7 @@ cma__int_unlock ((_int_att_)->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * @@ -255,7 +255,7 @@ _int_att_->cache[cma__c_obj_stack].revision++; \ cma__int_unlock (_int_att_->mutex); \ } - + /* * FUNCTIONAL DESCRIPTION: * Index: osf-share/cma_mutex.h =================================================================== RCS file: /cvs/src/src/gdb/osf-share/cma_mutex.h,v retrieving revision 1.2 diff -u -p -u -p -r1.2 cma_mutex.h --- osf-share/cma_mutex.h 6 Jan 2011 00:57:04 -0000 1.2 +++ osf-share/cma_mutex.h 14 Jan 2011 21:37:36 -0000 @@ -56,7 +56,7 @@ typedef struct CMA__T_INT_MUTEX { cma__t_semaphore semaphore; /* Semaphore for low-level wait */ } cma__t_int_mutex; - + /* * FUNCTIONAL DESCRIPTION: * @@ -102,7 +102,7 @@ typedef struct CMA__T_INT_MUTEX { ((cma__t_int_mutex *)mutex)->owner = __ltcb__; \ } #endif - + /* * FUNCTIONAL DESCRIPTION: * @@ -156,7 +156,7 @@ typedef struct CMA__T_INT_MUTEX { } \ } #endif - + /* * FUNCTIONAL DESCRIPTION: * Index: osf-share/cma_sched.h =================================================================== RCS file: /cvs/src/src/gdb/osf-share/cma_sched.h,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 cma_sched.h --- osf-share/cma_sched.h 16 Apr 1999 01:34:27 -0000 1.1.1.1 +++ osf-share/cma_sched.h 14 Jan 2011 21:37:36 -0000 @@ -17,7 +17,7 @@ * Header file for priority scheduling */ - + #ifndef CMA_SCHED #define CMA_SCHED Index: osf-share/cma_stack_int.h =================================================================== RCS file: /cvs/src/src/gdb/osf-share/cma_stack_int.h,v retrieving revision 1.2 diff -u -p -u -p -r1.2 cma_stack_int.h --- osf-share/cma_stack_int.h 6 Jan 2011 00:57:04 -0000 1.2 +++ osf-share/cma_stack_int.h 14 Jan 2011 21:37:36 -0000 @@ -17,7 +17,7 @@ * Header file for stack management (internal to cma_stack.c, but * separate for convenience, and unit testing). */ - + #ifndef CMA_STACK_INT #define CMA_STACK_INT Index: python/py-auto-load.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-auto-load.c,v retrieving revision 1.8 diff -u -p -u -p -r1.8 py-auto-load.c --- python/py-auto-load.c 6 Jan 2011 00:57:04 -0000 1.8 +++ python/py-auto-load.c 14 Jan 2011 21:37:36 -0000 @@ -415,7 +415,7 @@ load_auto_scripts_for_objfile (struct ob auto_load_section_scripts (objfile, GDBPY_AUTO_SECTION_NAME); } } - + /* Traversal function for htab_traverse. Print the entry if specified in the regex. */ @@ -467,7 +467,7 @@ maintenance_print_section_scripts (char maybe_print_section_script, NULL); immediate_quit--; } - + void gdbpy_initialize_auto_load (void) { Index: python/py-block.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-block.c,v retrieving revision 1.5 diff -u -p -u -p -r1.5 py-block.c --- python/py-block.c 1 Jan 2011 15:33:25 -0000 1.5 +++ python/py-block.c 14 Jan 2011 21:37:36 -0000 @@ -340,7 +340,7 @@ gdbpy_initialize_blocks (void) (PyObject *) &block_syms_iterator_object_type); } - + static PyGetSetDef block_object_getset[] = { { "start", blpy_get_start, NULL, "Start address of the block.", NULL }, Index: python/py-breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-breakpoint.c,v retrieving revision 1.11 diff -u -p -u -p -r1.11 py-breakpoint.c --- python/py-breakpoint.c 6 Jan 2011 00:57:04 -0000 1.11 +++ python/py-breakpoint.c 14 Jan 2011 21:37:36 -0000 @@ -648,7 +648,7 @@ bppy_new (PyTypeObject *subtype, PyObjec return result; } - + static int build_bp_list (struct breakpoint *b, void *arg) @@ -696,7 +696,7 @@ gdbpy_breakpoints (PyObject *self, PyObj return PyList_AsTuple (list); } - + /* Event callback functions. */ @@ -774,7 +774,7 @@ gdbpy_breakpoint_deleted (int num) PyGILState_Release (state); } - + /* Initialize the Python breakpoint code. */ void @@ -815,7 +815,7 @@ gdbpy_initialize_breakpoints (void) } - + static PyGetSetDef breakpoint_object_getset[] = { { "enabled", bppy_get_enabled, bppy_set_enabled, Index: python/py-cmd.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-cmd.c,v retrieving revision 1.11 diff -u -p -u -p -r1.11 py-cmd.c --- python/py-cmd.c 6 Jan 2011 00:57:04 -0000 1.11 +++ python/py-cmd.c 14 Jan 2011 21:37:36 -0000 @@ -75,7 +75,7 @@ static PyTypeObject cmdpy_object_type; static PyObject *invoke_cst; static PyObject *complete_cst; - + /* Python function which wraps dont_repeat. */ static PyObject * @@ -85,7 +85,7 @@ cmdpy_dont_repeat (PyObject *self, PyObj Py_RETURN_NONE; } - + /* Called if the gdb cmd_list_element is destroyed. */ @@ -540,7 +540,7 @@ cmdpy_init (PyObject *self, PyObject *ar return 0; } - + /* Initialize the 'commands' code. */ void @@ -585,7 +585,7 @@ gdbpy_initialize_commands (void) complete_cst = PyString_FromString ("complete"); } - + static PyMethodDef cmdpy_object_methods[] = { @@ -638,7 +638,7 @@ static PyTypeObject cmdpy_object_type = PyType_GenericNew /* tp_new */ }; - + /* Utility to build a buildargv-like result from ARGS. This intentionally parses arguments the way libiberty/argv.c:buildargv Index: python/py-frame.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-frame.c,v retrieving revision 1.14 diff -u -p -u -p -r1.14 py-frame.c --- python/py-frame.c 6 Jan 2011 21:10:53 -0000 1.14 +++ python/py-frame.c 14 Jan 2011 21:37:36 -0000 @@ -622,7 +622,7 @@ gdbpy_initialize_frames (void) PyModule_AddObject (gdb_module, "Frame", (PyObject *) &frame_object_type); } - + static PyMethodDef frame_object_methods[] = { { "is_valid", frapy_is_valid, METH_NOARGS, Index: python/py-function.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-function.c,v retrieving revision 1.7 diff -u -p -u -p -r1.7 py-function.c --- python/py-function.c 1 Jan 2011 15:33:25 -0000 1.7 +++ python/py-function.c 14 Jan 2011 21:37:36 -0000 @@ -31,7 +31,7 @@ static PyTypeObject fnpy_object_type; - + static PyObject * convert_values_to_python (int argc, struct value **argv) @@ -141,7 +141,7 @@ gdbpy_initialize_functions (void) PyModule_AddObject (gdb_module, "Function", (PyObject *) &fnpy_object_type); } - + static PyTypeObject fnpy_object_type = { Index: python/py-lazy-string.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-lazy-string.c,v retrieving revision 1.8 diff -u -p -u -p -r1.8 py-lazy-string.c --- python/py-lazy-string.c 1 Jan 2011 15:33:25 -0000 1.8 +++ python/py-lazy-string.c 14 Jan 2011 21:37:36 -0000 @@ -192,7 +192,7 @@ gdbpy_extract_lazy_string (PyObject *str *encoding = lazy->encoding ? xstrdup (lazy->encoding) : NULL; } - + static PyMethodDef lazy_string_object_methods[] = { { "value", stpy_convert_to_value, METH_NOARGS, Index: python/py-objfile.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-objfile.c,v retrieving revision 1.9 diff -u -p -u -p -r1.9 py-objfile.c --- python/py-objfile.c 6 Jan 2011 00:57:04 -0000 1.9 +++ python/py-objfile.c 14 Jan 2011 21:37:36 -0000 @@ -38,7 +38,7 @@ static PyTypeObject objfile_object_type; static const struct objfile_data *objfpy_objfile_data_key; - + /* An Objfile method which returns the objfile's file name, or None. */ static PyObject * @@ -118,7 +118,7 @@ objfpy_set_printers (PyObject *o, PyObje return 0; } - + /* Clear the OBJFILE pointer in an Objfile object and remove the reference. */ @@ -179,7 +179,7 @@ gdbpy_initialize_objfile (void) (PyObject *) &objfile_object_type); } - + static PyGetSetDef objfile_getset[] = { Index: python/py-param.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-param.c,v retrieving revision 1.7 diff -u -p -u -p -r1.7 py-param.c --- python/py-param.c 6 Jan 2011 00:57:04 -0000 1.7 +++ python/py-param.c 14 Jan 2011 21:37:36 -0000 @@ -93,7 +93,7 @@ static PyTypeObject parmpy_object_type; static PyObject *set_doc_cst; static PyObject *show_doc_cst; - + /* Get an attribute. */ static PyObject * @@ -287,7 +287,7 @@ set_attr (PyObject *obj, PyObject *attr_ return PyObject_GenericSetAttr (obj, attr_name, val); } - + /* A helper function that dispatches to the appropriate add_setshow function. */ @@ -573,7 +573,7 @@ parmpy_init (PyObject *self, PyObject *a return 0; } - + /* Initialize the 'parameters' module. */ void @@ -604,7 +604,7 @@ gdbpy_initialize_parameters (void) (PyObject *) &parmpy_object_type); } - + static PyTypeObject parmpy_object_type = { Index: python/py-progspace.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-progspace.c,v retrieving revision 1.7 diff -u -p -u -p -r1.7 py-progspace.c --- python/py-progspace.c 6 Jan 2011 00:57:04 -0000 1.7 +++ python/py-progspace.c 14 Jan 2011 21:37:36 -0000 @@ -40,7 +40,7 @@ static PyTypeObject pspace_object_type; static const struct program_space_data *pspy_pspace_data_key; - + /* An Objfile method which returns the objfile's file name, or None. */ @@ -126,7 +126,7 @@ pspy_set_printers (PyObject *o, PyObject return 0; } - + /* Clear the PSPACE pointer in a Pspace object and remove the reference. */ @@ -189,7 +189,7 @@ gdbpy_initialize_pspace (void) (PyObject *) &pspace_object_type); } - + static PyGetSetDef pspace_getset[] = { Index: python/py-symbol.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-symbol.c,v retrieving revision 1.3 diff -u -p -u -p -r1.3 py-symbol.c --- python/py-symbol.c 6 Jan 2011 00:57:04 -0000 1.3 +++ python/py-symbol.c 14 Jan 2011 21:37:36 -0000 @@ -360,7 +360,7 @@ gdbpy_initialize_symbols (void) PyModule_AddObject (gdb_module, "Symbol", (PyObject *) &symbol_object_type); } - + static PyGetSetDef symbol_object_getset[] = { { "symtab", sympy_get_symtab, NULL, Index: python/py-symtab.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-symtab.c,v retrieving revision 1.4 diff -u -p -u -p -r1.4 py-symtab.c --- python/py-symtab.c 1 Jan 2011 15:33:25 -0000 1.4 +++ python/py-symtab.c 14 Jan 2011 21:37:36 -0000 @@ -430,7 +430,7 @@ gdbpy_initialize_symtabs (void) (PyObject *) &sal_object_type); } - + static PyGetSetDef symtab_object_getset[] = { { "filename", stpy_get_filename, NULL, Index: python/py-type.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-type.c,v retrieving revision 1.17 diff -u -p -u -p -r1.17 py-type.c --- python/py-type.c 1 Jan 2011 15:33:25 -0000 1.17 +++ python/py-type.c 14 Jan 2011 21:37:36 -0000 @@ -97,7 +97,7 @@ static struct pyty_code pyty_codes[] = { TYPE_CODE_UNDEF, NULL } }; - + static void field_dealloc (PyObject *obj) @@ -125,7 +125,7 @@ field_new (void) return (PyObject *) result; } - + /* Return the code for this type. */ static PyObject * @@ -917,7 +917,7 @@ typy_richcompare (PyObject *self, PyObje Py_RETURN_FALSE; } - + static const struct objfile_data *typy_objfile_data_key; @@ -1013,7 +1013,7 @@ type_object_to_type (PyObject *obj) return ((type_object *) obj)->type; } - + /* Implementation of gdb.lookup_type. */ PyObject * @@ -1076,7 +1076,7 @@ gdbpy_initialize_types (void) PyModule_AddObject (gdb_module, "Field", (PyObject *) &field_object_type); } - + static PyGetSetDef type_object_getset[] = { Index: python/py-value.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-value.c,v retrieving revision 1.20 diff -u -p -u -p -r1.20 py-value.c --- python/py-value.c 6 Jan 2011 00:57:04 -0000 1.20 +++ python/py-value.c 14 Jan 2011 21:37:36 -0000 @@ -1234,7 +1234,7 @@ gdbpy_initialize_values (void) values_in_python = NULL; } - + static PyGetSetDef value_object_getset[] = { { "address", valpy_get_address, NULL, "The address of the value.", Index: python/python.c =================================================================== RCS file: /cvs/src/src/gdb/python/python.c,v retrieving revision 1.56 diff -u -p -u -p -r1.56 python.c --- python/python.c 6 Jan 2011 21:10:53 -0000 1.56 +++ python/python.c 14 Jan 2011 21:37:36 -0000 @@ -218,7 +218,7 @@ python_command (char *arg, int from_tty) do_cleanups (cleanup); } - + /* Transform a gdb parameters's value into a Python value. May return NULL (and set a Python exception) on error. Helper function for @@ -570,7 +570,7 @@ source_python_script (FILE *stream, cons do_cleanups (cleanup); } - + /* Posting and handling events. */ @@ -724,7 +724,7 @@ gdbpy_print_stack (void) PyErr_Clear (); } - + /* Return the current Progspace. There always is one. */ @@ -766,7 +766,7 @@ gdbpy_progspaces (PyObject *unused1, PyO return list; } - + /* The "current" objfile. This is set when gdb detects that a new objfile has been loaded. It is only set for the duration of a call to @@ -871,7 +871,7 @@ source_python_script (FILE *stream, cons #endif /* HAVE_PYTHON */ - + /* Lists for 'maint set python' commands. */ @@ -1092,7 +1092,7 @@ GdbSetPythonDirectory (gdb.PYTHONDIR)\n\ #endif /* HAVE_PYTHON */ - + #ifdef HAVE_PYTHON Index: tui/tui-stack.c =================================================================== RCS file: /cvs/src/src/gdb/tui/tui-stack.c,v retrieving revision 1.39 diff -u -p -u -p -r1.39 tui-stack.c --- tui/tui-stack.c 6 Jan 2011 00:57:05 -0000 1.39 +++ tui/tui-stack.c 14 Jan 2011 21:37:36 -0000 @@ -54,7 +54,7 @@ static void tui_set_locator_info (struct int lineno, CORE_ADDR addr); static void tui_update_command (char *, int); - + /* Create the status line to display as much information as we can on this single line: target name, process number, current function,