X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=8f4d1768a99fe510c45d5654a000da88451f2517;hb=7915a72c7f0c255cfcf47c1b186d3739aeafe4da;hp=1ca68e250f2be1749a1223314e4ea70801d1d4f7;hpb=5c45e068d75b49e595bc60f84d223b83ffaac4d8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1ca68e250f..8f4d1768a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,655 @@ +2005-02-14 Andrew Cagney + + Mark up add_setshow functions, replace "PRINT:" comment prefix + with "FIXME: i18n:". + * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. + * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update. + * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update. + * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update. + * target.c, cli/cli-logging.c: Update. + + * utils.c (paddress): New function. + * defs.h (paddress): Declare. + * printcmd.c (deprecated_print_address_numeric): Rename + print_address_numeric, call paddress. + * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update. + * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update. + * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update. + * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update. + * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update. + * ada-valprint.c: Update. + +2005-02-13 Ramana Radhakrishnan + + * MAINTAINERS: Add myself to "Write After Approval". + +2005-02-12 Yoshinori Sato + + Restore h8300 support. + * configure.tgt: Add h8300-*-* + * h8300-tdep.c: New file. Rewrite new frame code. + * config/h8300/h8300.mt: New file. Restored Rev 1.3 + * config/h8300/tm-h8300.h: New file. Restored Rev 1.21 + + * MAINTAINERS: Add myself to "Write After Approval". + +2005-02-11 Andrew Cagney + + Mark up some of printf_filtered and printf_unfiltered. + * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update. + * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update. + * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update. + * event-loop.c, event-top.c, exec.c, f-valprint.c: Update. + * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update. + * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update. + * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update. + * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update. + * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update. + * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update. + * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update. + * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update. + * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update. + * tui/tui-regs.c, tui/tui-win.c: Update. + + Mark up error_no_arg, query, perror_with_name, complaint, and + internal_error. + * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update. + * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update. + * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update. + * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update. + * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update. + * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update. + * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update. + * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update. + * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update. + * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update. + * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update. + * interps.c, language.c, linespec.c, linux-nat.c: Update. + * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update. + * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update. + * macrotab.c, maint.c, mdebugread.c, memattr.c: Update. + * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update. + * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update. + * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update. + * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update. + * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update. + * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update. + * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update. + * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update. + * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update. + * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update. + * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update. + * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update. + * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update. + * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update. + * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update. + * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update. + * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update. + * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update. + * tui/tui-file.c, tui/tui-interp.c: Update. + +2005-02-10 Andrew Cagney + + Mark up all error and warning messages. + * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update. + * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update. + * core-aout.c, core-regset.c, corefile.c, corelow.c: Update. + * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update. + * dbxread.c, demangle.c, doublest.c, dsrec.c: Update. + * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update. + * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update. + * event-top.c, exec.c, expprint.c, f-lang.c: Update. + * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update. + * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update. + * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update. + * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update. + * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update. + * hpread.c, hpux-thread.c, i386-linux-nat.c: Update. + * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update. + * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update. + * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update. + * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update. + * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update. + * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update. + * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update. + * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update. + * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update. + * maint.c, mdebugread.c, mem-break.c, memattr.c: Update. + * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update. + * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update. + * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update. + * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update. + * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update. + * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update. + * remote-rdp.c, remote-sim.c, remote-st.c: Update. + * remote-utils.c, remote-utils.h, remote.c: Update. + * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update. + * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update. + * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update. + * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update. + * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update. + * somread.c, somsolib.c, source.c, stabsread.c: Update. + * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update. + * symmisc.c, symtab.c, target.c, thread.c, top.c: Update. + * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update. + * uw-thread.c, valarith.c, valops.c, valprint.c: Update. + * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update. + * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update. + * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update. + * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update. + * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update. + * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update. + * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update. + * tui/tui-win.c: Update. + +2005-02-10 Ian Lance Taylor + + * MAINTAINERS: Update my e-mail address. + +2005-02-10 Daniel Jacobowitz + + From Ramana Radhakrishnan : + PR exp/1821 + * cp-valprint.c: Include "language.h". + (cp_print_value_fields): Pass the current language to + fprintf_symbol_filtered. + * Makefile.in (cp-valprint.o): Update dependencies. + +2005-02-10 Andrew Cagney + + * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full) + (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) + (add_setshow_filename_cmd, add_setshow_string_cmd) + (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace + print string parameter with fprint_setshow function. + * command.h (fprint_setshow_ftype): Define. Update declarations. + * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is + available, use that. + * cli/cli-decode.h (struct cmd_list_element): Add field + fprint_setshow. + * complaints.c (fprint_setshow_complaints): New function. + (_initialize_complaints): Pass to add_setshow_zinteger_cmd. + * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter + with NULL. + * mips-tdep.c (_initialize_mips_tdep): Ditto. + * m32r-rom.c (_initialize_m32r_rom): Ditto. + * cris-tdep.c (_initialize_cris_tdep): Ditto. + * arm-tdep.c (_initialize_arm_tdep): Ditto. + * remote-rdi.c (_initialize_remote_rdi): Ditto. + * alpha-tdep.c (_initialize_alpha_tdep): Ditto. + * dwarf2read.c (_initialize_dwarf2_read): Ditto. + * frame.c (_initialize_frame): Ditto. + * target.c (initialize_targets): Ditto. + * maint.c (_initialize_maint_cmds): Ditto. + * observer.c (_initialize_observer): Ditto. + * infcall.c (_initialize_infcall): Ditto. + * breakpoint.c (_initialize_breakpoint): Ditto. + * cli/cli-logging.c (_initialize_cli_logging): Ditto. + * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. + + * cli/cli-setshow.c (do_setshow_command): Move code printing the + value to the end of the function. Handle MI and non-MI output + differently. + +2005-02-09 Andrew Cagney + + * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and + show_result parameters. + * mips-tdep.c (_initialize_mips_tdep): Update calls. + * command.h: Update declaration. + * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update + calls. + + * NEWS: Mention removed commands. + * m68hc11-tdep.c (show_regs): Delete, unused. + (_initialize_m68hc11_tdep): Delete deprecated "regs" command. + * gdb-events.sh: Delete deprecated "set eventdebug" and "show + eventdebug" commands. + * gdb-events.c: Regenerate. + * gdbarch.sh: Delete deprecated "set archdebug" and "show + archdebug" commands. + * gdbarch.c: Regenerate. + * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set + remotedebug" and "show remotedebug". + * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm + disassembly-flavor", "show arm disassembly-flavor", and + "othernames" commands. + (arm_othernames): Delete unused function. + + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call) + (convert_code_addr_to_desc_addr): Convert any function code + address to the corresponding function's descriptor. + (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and + TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When + writing, convert any function code address to the corresponding + descriptor. + + * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o. + * config/powerpc/linux.mt (TDEPFILES): Ditto. + * config/pa/linux.mt (TDEPFILES): Ditto. + * config/mips/linux.mt (TDEPFILES): Ditto. + * config/m68k/linux.mt (TDEPFILES): Ditto. + * config/m32r/linux.mt (TDEPFILES): Ditto. + * config/ia64/linux.mt (TDEPFILES): Ditto. + * config/arm/linux.mt (TDEPFILES): Ditto. + +2005-02-09 Corinna Vinschen + + * symmisc.c: Include gdb_stat.h. + (maintenance_print_msymbols): Use inode numbers to compare files. + +2005-02-08 Andrew Cagney + + * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) + (METHOD_PTR_TO_VOFFSET): Move from here ... + * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) + (METHOD_PTR_TO_VOFFSET): ... to here. + * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h". + * Makefile.in: Update dependencies. + + * exceptions.c: Do not include . + (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros. + (catch_exception, catch_exceptions_with_msg, catch_errors) + (catch_command_errors): Use TRY_CATCH. + (struct catcher): Use EXCEPTIONS_SIGJMP_BUF. + (exceptions_state_mc_init): Rename catcher_init. + (exceptions_state_mc): Rename catcher_state_machine. + (exceptions_state_mc_action_iter) + (exceptions_state_mc_action_iter_1): New functions. + * exceptions.h: Include . + (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP) + (EXCEPTIONS_SIGLONGJMP): Define. + (exceptions_state_mc_init, exceptions_state_mc_action_iter) + (exceptions_state_mc_action_iter_1): Declare. + (TRY_CATCH): Define. + + * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name, + no longer needed. + + * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit + PT_FPSCR breakage. + + * value.c (struct value): Move to here ... + * value.h (struct value): ... from here. Copy comments to + corresponding function declarations, re-order. + +2005-02-07 Andrew Cagney + + * value.c (set_value_bitpos, set_value_bitsize): Define. + * value.h (set_value_bitpos, set_value_bitsize): Declare. + * ada-lang.c, valarith.c: Update. + + * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or + value_contents_writeable, include note that there are problems. + * breakpoint.c, infcall.c: Use VALUE_LVAL. + + * value.h (set_value_offset): Declare. + * value.c (set_value_offset): Declare. + * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update. + * findvar.c: Update. + + * value.h (value_next): Declare. + * value.c (value_next): Define. + * breakpoint.c: Update. + + * value.h (deprecated_set_value_modifiable) + (deprecated_value_modifiable): Declare. + * value.c (deprecated_set_value_modifiable): Define. + (deprecated_value_modifiable): Define. + * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update. + + * value.h (deprecated_set_value_type): Declare. + * value.c (deprecated_set_value_type): Define. + * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update. + * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update. + * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update. + * ax-gdb.c, tracepoint.c: Update. + + * value.h (deprecated_value_lval_hack) + (deprecated_value_address_hack) + (deprecated_value_internalvar_hack) + (deprecated_value_regnum_hack): Declare. + (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR) + (VALUE_FRAME_ID, VALUE_REGNUM): Use. + * value.c (deprecated_value_lval_hack) + (deprecated_value_address_hack) + (deprecated_value_internalvar_hack) + (deprecated_value_regnum_hack): Define. + + * value.h (VALUE_POINTED_TO_OFFSET): Delete. + (set_value_pointed_to_offset, value_pointed_to_offset): Declare. + * value.c (set_value_pointed_to_offset): Define + (value_pointed_to_offset): Define. + * valops.c: Update. + + * value.h (VALUE_EMBEDDED_OFFSET): Delete. + (value_embedded_offset, set_value_embedded_offset): Declare. + * value.c (value_embedded_offset): Define. + (set_value_embedded_offset): Define. + * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update. + * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update. + * cp-abi.h: Update. + + * value.h (VALUE_LAZY): Delete + (set_value_lazy): Declare. + * value.c (set_value_lazy): Define. + * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update. + * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update. + +2005-02-06 Andrew Cagney + + * value.h (VALUE_OPTIMIZED_OUT): Delete. + (value_optimized_out, set_value_optimized_out): Declare. + * value.c (set_value_optimized_out, value_optimized_out): Define. + * valprint.c, findvar.c, dwarf2loc.c: Update. + + * value.c (value_contents, value_contents_writeable): New + functions. + * value.h (VALUE_CONTENTS): Delete macro. + (value_contents, value_contents_writeable): Declare. + * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update. + * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update. + * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update. + * rs6000-tdep.c, p-valprint.c, printcmd.c: Update. + * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update. + * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update. + * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update. + * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update. + * c-valprint.c, cris-tdep.c, cp-valprint.c: Update. + * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update. + * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update. + * ada-valprint.c, ada-lang.c: Update. + +2005-02-03 Andrew Cagney + + * utils.c (xzalloc): New function. + * defs.h (XZALLOC): Use xzalloc. + (xzalloc): Declare. + * value.c (allocate_value): Allocate a zeroed buffer. + * mdebugread.c (xzalloc): Delete. + +2005-02-02 Andrew Cagney + + * value.h (value_lazy): Declare. + * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update. + * cp-valprint.c, breakpoint.c, ada-lang.c: Update. + + * value.h (VALUE_CONTENTS_ALL): Delete. + (value_contents_all): Declare. + * value.c (value_contents_all): New function. + * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. + * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update. + + * value.c (value_enclosing_type): New function. + * value.h (VALUE_ENCLOSING_TYPE): Delete. + (value_enclosing_type): Declare. + * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update. + * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update. + + * value.c (value_contents_all_raw) + (value_contents_raw): New functions. + * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete. + (value_contents_raw, value_contents_all_raw): Declare functions. + (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update. + * std-regs.c, valarith.c, valops.c, eval.c: Update. + * tracepoint.c, findvar.c: Update. + +2005-02-01 Orjan Friberg + + * regformats/reg-cris.dat: New file with register definitions for CRIS. + * regformats/reg-crisv32.dat: Ditto for CRISv32. + +2005-01-31 Andrew Cagney + + * configure: Regenerate to track ../gettext.m4. + +2005-01-29 Baurzhan Ismagulov + + * MAINTAINERS: Add myself to "Write After Approval". + + * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c, + * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c, + * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup. + +2005-01-29 Mark Kettenis + + * configure.ac: Remove extra check for ranlib. + * configure: Regenerated. + +2005-01-28 Andrew Cagney + + * language.h (struct language_defn): Make la_val_print's buffer + parameter a const bfd_byte. + * cp-valprint.c (cp_print_value_fields, cp_print_value): Update. + * ada-lang.c (ada_aligned_value_addr) + (ada_value_primitive_packed_val, ada_which_variant_applies): Update. + * valprint.c (val_print_array_elements): Update. + * valprint.h (val_print_array_elements): Update. + * ada-lang.h (ada_val_print, ada_aligned_value_addr) + (ada_value_primitive_packed_val, ada_which_variant_applies): Update. + * ada-valprint.c (ada_val_print, struct ada_val_print_args) + (ada_val_print_1, ada_print_floating, printable_val_type) + (print_record, val_print_packed_array_elements) + (print_field_values, print_variant_part): Update. + * c-lang.h (c_val_print, cp_print_value_fields): Update. + * c-valprint.c (c_val_print): Update. + * f-lang.h (f_val_print): Update. + * f-valprint.c (f_val_print, f77_print_array_1) + (f77_print_array): Update. + * jv-lang.h (java_val_print): Update. + * jv-valprint.c (java_print_value_fields, java_val_print): Update. + * language.c (unk_lang_val_print): Update. + * m2-lang.h (m2_val_print): Update. + * m2-valprint.c (m2_val_print): Update. + * p-lang.h (pascal_val_print): Update. + (pascal_object_print_value_fields): Update. + * p-valprint.c (pascal_val_print) + (pascal_object_print_value_fields, pascal_object_print_value) + (pascal_object_print_value): Update. + * scm-lang.h (scm_val_print): Update. + * scm-valprint.c (scm_val_print): Update. + * value.h (val_print): Update. + + * p-lang.h (pascal_object_print_class_member) + (pascal_object_print_class_method): Make buffer a const bfd_byte. + * p-valprint.c (pascal_object_print_class_method) + (pascal_object_print_class_method): Ditto. + + * language.h (struct language_defn): Make la_printstr's buffer + parameter a const bfd_byte. + * p-lang.h (pascal_printstr): Update function to match. + * ada-valprint.c (ada_printstr): Update function to match. + * scm-lang.c (scm_printstr): Update function to match. + * p-lang.c (pascal_printstr): Update function to match. + * ada-lang.h (ada_printstr): Update function to match. + * m2-lang.c (m2_printstr): Update function to match. + * objc-lang.c (objc_printstr): Update function to match. + * c-lang.h (c_printstr): Update function to match. + * f-lang.c (f_printstr): Update function to match. + * c-lang.c (c_printstr): Update function to match. + * language.c (unk_lang_printstr): Update function to match. + + * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte. + * valprint.h (val_print_type_code_int): Ditto. + + * objc-lang.h (c_val_print, c_value_print): Delete declarations. + + * cp-valprint.c (cp_print_class_method) + (cp_print_class_member): Make buffer a const bfd_byte. + * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto. + + * ada-lang.c (value_from_contents_and_address) + (to_record_with_fixed_variant_part) + (value_tag_from_contents_and_address, ada_to_fixed_type) + (to_fixed_variant_branch_type, to_fixed_record_type) + (ada_template_to_fixed_record_type, cond_offset_host) + (ada_template_to_fixed_record_type_1): Make buffer a const + bfd_byte. + * ada-lang.h (ada_template_to_fixed_record_type_1) + (value_from_contents_and_address, ada_to_fixed_type): Ditto. + + * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte. + + * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte. + * printcmd.c (print_scalar_formatted): Update. + + * value.h (value_bit_index, print_floating) + (find_rt_vbase_offset): Make buffer a const bfd_byte. + * valprint.c (print_floating): Update. + * valarith.c (value_bit_index): Update. + * valops.c (find_rt_vbase_offset): Update. + + * valprint.h (print_octal_chars, print_char_chars) + (print_hex_chars, print_decimal_chars, print_binary_chars): Make + buffer a const bfd_byte. + * valprint.c (print_binary_chars, print_octal_chars) + (print_decimal_chars, print_hex_chars, print_char_chars): Make + "valaddr"buffer a const bfd_byte, ditto for local variables + referencing that buffer. + + * m2-valprint.c: Include "c-lang.h". + (c_val_print): Delete extern declaration. + * scm-valprint.c: Include "c-lang.h". + (c_val_print): Delete extern declaration. + Makefile.in: Update dependencies. + + * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const + bfd_byte. + * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte. + (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const + bfd_byte. + * cp-abi.c (baseclass_offset): Update. + * gnu-v2-abi.c (gnuv2_baseclass_offset): Update. + + * gnu-v2-abi.h: New file. + * gnu-v2-abi.c: Include "gnu-v2-abi.h". + (gnuv2_baseclass_offset): Delete declaration. + * hpacc-abi.c: Include "gnu-v2-abi.h". + (gnuv2_baseclass_offset): Delete extern declaration. + * Makefile.in: Update dependencies. + + * doublest.c (floatformat_is_negative, floatformat_is_nan) + (floatformat_mantissa, get_field): Make the buffer a const + bfd_byte, simplify. + +2005-01-27 Andrew Cagney + + * value.h (struct value): Change type of contents to bfd_byte. + (VALUE_CONTENTS_RAW): Simplify. + + * gdbarch.sh (integer_to_address): Change buf parameter to a const + bfd_byte, make pure-multi-arch. + * gdbarch.h, gdbarch.c: Regenerate. + * mips-tdep.c (mips_integer_to_address): Update. + * value.c (value_as_address): Update. + + * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const. + * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string + parameters const, change buf to a const bfd_byte. + (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string + parameters const. + + * corefile.c (write_memory): Update, make a copy of the read-only + buffer. + * target.c (target_read_memory): Update. + (target_write_memory): Update, make a copy of the read-only + buffer. + * gdbcore.h (write_memory): Change buffer type to bfd_byte, make + const. + * target.h (target_read_memory, target_write_memory): Change + buffer type to bfd_byte; for write_memory, make it const. + * symfile-mem.c (do_target_read_memory): New function. + (symbol_file_add_from_memory): Pass do_target_read_memory to + bfd_elf_bfd_from_remote_memory. + + * value.h: Indent using gdb_indent.sh. + + * configure: Regenerate to track ../gettext.m4 change. + +2005-01-26 Andrew Cagney + + * rs6000-tdep.c: Include "reggroups.h". + (rs6000_gdbarch_init): Set register_reggroup_p. + (rs6000_register_reggroup_p): New function. + +2005-01-26 Orjan Friberg + + * cris-tdep.c (enum cris_num_regs, enum cris_regnums) + (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for + CRISv32. + (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint) + (cris_region_ok_for_watchpoint, cris_stopped_data_address) + (crisv32_cannot_fetch_register, crisv32_cannot_store_register) + (crisv32_register_type, cris_special_register_name) + (crisv32_register_name): New functions. + (cris_spec_reg_applicable): Recognize more versions. + (cris_register_name): Update with call to cris_special_register_name. + (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and + warning when unable to find step target. + (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define. + (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for + CRISv32. + (fetch_core_registers): Update for CRISv32. + (cris_gdbarch_init): Set pc_regnum, register_type, num_regs, + register_name, cannot_store_register, cannot_fetch_register, + have_nonsteppable_watchpoint, single_step_through_delay for CRISv32. + +2005-01-26 Nick Roberts + + * interps.c (interpreter_exec_cmd): Use condition, + e.reason < 0, to raise an error. + +2005-01-25 Andrew Cagney + + * ppc-linux-tdep.c: Include "tramp-frame.h" + (struct ppc_linux_sigtramp_cache) + (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) + (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) + (ppc_linux_sigtramp_cache): Delete. + (ppc32_linux_sigaction_cache_init) + (ppc64_linux_sigaction_cache_init) + (ppc32_linux_sighandler_cache_init) + (ppc64_linux_sighandler_cache_init) + (ppc32_linux_sigaction_tramp_frame) + (ppc64_linux_sigaction_tramp_frame) + (ppc32_linux_sighandler_tramp_frame) + (ppc64_linux_sighandler_tramp_frame) + (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and + 64-bit, sigaction and siginfo tramp-frame unwinders. + + * ppc-linux-tdep.c (ppc_linux_init_abi): Always set + long_double_bit to 8. + +2005-01-24 Andrew Cagney + + * infrun.c (handle_inferior_event): Handle back-to-back and nested + signals where the step_resume_breakpoint may have already been + inserted. + +2005-01-24 Andrew Cagney + + * configure: Regenerate, ../gettext.m4 was updated. + +2005-01-23 Mark Kettenis + + * NEWS: Mention new BSD user-level threads support. + + * i386obsd-tdep.c: Update copyright year. Include + "bsd-uthread.h". + (i386obsd_uthread_reg_offset): New variable. + (I386OBSD_UTHREAD_ESP_OFFSET): New define. + (i386obsd_supply_uthread, i386obsd_collect_uthread): New + functions. + (i386obsd_init_abi): Set supply_uthread and collect_uthread. + * Makefile.in (i386obsd-tdep.o): Update dependencies. + * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o. + +2005-01-23 Christopher Faylor + + * win32-nat.c: Update copyright year. + (child_init_thread_list): Set thread linked list point to NULL so that + it won't be reused after clearing. + 2005-01-21 Mark Kettenis * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove