* Makefile.in (SFILES): Add cp-names.y.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c85243048e028172c05775f3c1b63043a5f210be..7ed6237ddae25d2655d5bb7ded82bdbb2ed06a72 100644 (file)
@@ -1,3 +1,843 @@
+2005-03-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (SFILES): Add cp-names.y.
+       (libiberty_h, safe_ctype_h): New.
+       (YYFILES): Add cp-names.c.
+       (YYOBJ): Add cp-names.o.
+       (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
+       (clean): Remove test-cp-names$(EXEEXT).
+       (local-maintainer-clean): Remove cp-names.c.
+       * cp-names.y: New file.
+       * cp-support.c (find_last_component): Delete.
+       (d_left, d_right): Define.
+       (cp_canonicalize_string, mangled_name_to_comp): New functions.
+       (cp_class_name_from_physname, method_name_from_physname): Rewrite
+       to use mangled_name_to_comp.
+       * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
+       (cp_comp_to_string): New prototypes.
+       * config/djgpp/fnchange.lst: Add cp-names.c.
+
+2005-03-10  Bob Rossi  <bob@brasko.net>
+
+       * main.c (print_gdb_help): Remove the --[no]async help message.
+
+2005-03-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * proc-api.c: Update copyright year.
+       (_initialize_proc_api): Revert previous patch, removing spurious
+       space instead.
+
+2005-03-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * regcache.c: Fix typo in comment.
+
+2005-03-09  David Lecomber  <david@lecomber.net>
+
+       * proc-api.c (_initialize_proc_api): Fix invalid multi-line 
+       i18n text.
+
+2005-03-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
+       address for 64-bit code.
+       (sparc_unwind_dummy_id): Likewise.
+       * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
+       frame base address convention.
+       (sparc64_push_dummy_call): Likewise.
+       * sparc64nbsd-tdep.c: Update copyright year.
+       (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
+       address for 64-bit code.
+       (sparc64nbsd_init_abi): Tweak comment.
+       * sparc64obsd-tdep.c: Update copyright year.
+       (sparc64obsd_frame_cache): Adjust cached frame base address for
+       64-bit code.
+       (sparc64obsd_init_abi): Tweak comment.
+
+2005-03-09  Corinna Vinschen  <vinschen@redhat.com>
+
+       * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
+
+2005-03-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (dwarf_decode_lines): Use the complete filename
+       when creating include psymtabs.
+
+2005-03-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * environ.h (struct environ): Rename to ...
+       (struct gdb_environ): ... this.
+       (make_environ): Update prototype.
+       (free_environ): Likewise.
+       (init_environ): Likewise.
+       (get_in_environ): Likewise.
+       (set_in_environ): Likewise.
+       (unset_in_environ): Likewise.
+       (environ_vector): Likewise.
+       * environ.c (make_environ): Replace "struct environ" with "struct
+       gdb_environ".
+       (free_environ): Likewise.
+       (init_environ): Likewise.
+       (environ_vector): Likewise.
+       (get_in_environ): Likewise.
+       (set_in_environ): Likewise.
+       (unset_in_environ): Likewise.
+       * infcmd.c (inferior_environ): Likewise.
+       * inferior.h (inferior_environ): Likewise.
+
+2005-03-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcmd.c (run_command_1): New function, extracted from
+       run_command.
+       (run_command): Replace implementation by call to run_command_1.
+       (start_command): Use run_command_1 to insert the temporary
+       breakpoint and run the program. Remove code that's no longer
+       needed, as already done at the proper time by run_command_1.
+
+2005-03-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * symfile.c (clear_symtab_users): Call
+       clear_current_source_symtab_and_line first.
+
+2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
+       * c-exp.y (exp): Add unary plus.
+       * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
+       * valarith.c (value_x_unop): Add UNOP_PLUS case.
+       (value_pos): New.
+       * value.h (value_pos): Declare.
+
+       * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
+       (remote_fetch_registers): Allow uppercase hex when resyncing.
+       (remote_write_bytes): Only call get_memory_write_packet_size once.
+       Robustify packet size calculation for very small packets. Check
+       that at least one byte will be written.
+
+       * tracepoint.c (target_is_remote): Allow extended-remote.
+       (struct collection_list): Allow 256 registers, like the comment
+       said.
+       (add_memrange): Fix comment.
+       (read_actions): Turn EOF into 'end'.
+
+2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * Makefile.in: Add dependencies for iq2000-tdep.o.
+       * configure.tgt: Add iq2000-*-* target.
+       * iq2000-tdep.c: New file.
+       * config/iq2000/iq2000.mt: New file.
+
+2005-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * doc/observer.texi (executable_changed): New observer.
+       * symtab.c: Include "observer.h".
+       (find_main_name): New function.
+       (main_name): If name_of_main is unset, then compute it
+       using find_main_name.
+       (symtab_observer_executable_changed): New function.
+       (_initialize_symtab): Attach executable_changed observer.
+       * exec.c: Include "observer.h".
+       (exec_file_attach): Emit executable_changed notification.
+       * symfile.c: Include "observer.h".
+       (reread_symbols): Send an executable_changed if appropriate.
+       * Makefile.in (exec.o): Add dependency on observer.h.
+       (symfile.o): Likewise.
+       (symtab.o): Likewise.
+
+2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * findvar.c (read_var_value): Don't allocate V when it will not
+       be used.  Add missing break for LOC_INDIRECT.
+
+2005-03-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64fbsd-tdep.c: Include "solib-svr4.h".
+       (sparc64fbsd_init_abi): Set skip_trampoline_code and
+       solib_svr4_fetch_link_map_offsets.
+       * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
+
+2005-03-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (child_follow_fork): Call target_terminal_ours before
+       printing output.  Use fprintf_unfiltered.  Only print output when
+       debugging.
+
+2005-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
+       argument.
+       (sparc64_store_arguments): Constify.
+
+2005-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphabsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
+       (alphabsd_fetch_inferior_registers): Rename from
+       fetch_inferior_registers.  Make static.
+       (alphabsd_store_inferior_registers): Rename from
+       store_inferior_registers.  Make static.
+       (_initialize_alphabsd_nat): New function.
+       * Makefile.in (alphabsd-nat.o): Update dependencies.
+       * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
+       inftarg.o.  Add inf-ptrace.o, fbsd-nat.o and gcore.o.
+       * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
+       (NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
+       alphabsd-nat.o.
+       * config/alpha/nm-fbsd.h: Update copyright year.  Don't include
+       "config/nm-bsd.h" and "elf/common.h".
+       * config/alpha/nm-nbsd.h: Update copyright year.  Don't include
+       "config/nm-nbsd.h".
+
+       * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
+       software_single_step.
+
+2005-03-04  Michael Snyder  <msnyder@redhat.com>
+
+       * mn10300-prologue.c: New file.  Prologue analysis.
+       * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
+       (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
+       until after analyze_prologue, and don't call trad_frame_set_base
+       at all (let analyze_prologue do it).
+
+2005-03-04  Michael Snyder  <msnyder@redhat.com>
+
+       * trad-frame.c (trad_frame_set_reg_value): New function.
+       * trad-frame.h (trad_frame_set_reg_value): Export.
+
+2005-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (remote.o): Update dependencies.
+       * remote.c: Include "observer.h".
+
+2005-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * target.c (target_read_memory_partial): Always initialize
+       ERR.
+       (target_write_memory_partial): Likewise.
+
+2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (remote_open_1): Call observer_notify_inferior_created.
+
+2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
+       (arm_stub_unwind, arm_stub_unwind_sniffer): New.
+       (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
+
+2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
+       Use LWP IDs.
+
+2005-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2loc.c (loclist_read_variable): Set optimized_out
+       instead of reporting an error.
+       * valprint.c (value_check_printable): New function.
+       (common_val_print): New function.  Use value_check_printable.
+       (value_print): Use value_check_printable.
+       * value.h (common_val_print): Add prototype.
+
+       * c-valprint.c (c_val_print): Use common_val_print.
+       * cp-valprint.c (cp_print_value_fields): Likewise.
+       (cp_print_hpacc_virtual_table_entries): Likewise.
+       * f-valprint.c (f_val_print): Likewise.
+       * jv-valprint.c (java_value_print, java_print_value_fields):
+       Likewise.
+       * scm-valprint.c (scm_value_print): Likewise.
+       * stack.c (print_frame_args): Likewise.
+       * varobj.c (c_value_of_variable): Likewise.
+       * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
+       (pascal_object_print_value_fields): Likewise.  Update call to
+       pascal_object_print_static_field.
+       (pascal_object_print_static_field): Remove TYPE argument.  Use
+       common_val_print.
+
+2005-02-25 Mark Kettenis  <kettenis@gnu.org>
+       
+       Committed by Elena Zannoni <ezannoni@redhat.com>
+
+       * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust 
+       info_ptr before building psymtabs for included files.
+       (create_all_comp_units): Initailize initial length size of
+       compilation header to zero.
+       (read_initial_length): Complain if both 32-bit and 64-bit DWARF
+       sections are encountered within the same compilation header.
+       (dwarf_decode_line_header): Pass compilation header in call to
+       read_initial_length.
+       
+2005-02-24  Andrew Cagney  <cagney@gnu.org>
+
+       Add show_VARIABLE functions, update add_setshow call.
+       * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
+       * valprint.c (_initialize_valprint, show_print_max) 
+       (show_stop_print_at_null, show_repeat_count_threshold) 
+       (show_prettyprint_structs, show_unionprint) 
+       (show_prettyprint_arrays, show_addressprint, show_input_radix) 
+       (show_output_radix): Ditto.
+       * valops.c (_initialize_valops, show_overload_resolution): Ditto.
+       * utils.c (initialize_utils, show_chars_per_line) 
+       (show_lines_per_page, show_demangle, show_pagination_enabled) 
+       (show_sevenbit_strings, show_asm_demangle): Ditto
+       * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind) 
+       (show_tui_border_mode, show_tui_active_border_mode): Ditto.
+       * top.c (init_main, show_new_async_prompt) 
+       (show_async_command_editing_p, show_write_history_p) 
+       (show_history_size, show_history_filename, show_caution) 
+       (show_annotation_level, init_main): Ditto.
+       * target.c (initialize_targets, show_targetdebug)
+       (show_trust_readonly): Ditto.
+       * symfile.c (_initialize_symfile, show_symbol_reloading) 
+       (show_ext_args, show_download_write_size) 
+       (show_debug_file_directory): Ditto.
+       * source.c (_initialize_source, show_lines_to_list): Ditto.
+       * solib.c (_initialize_solib, show_auto_solib_add) 
+       (show_solib_search_path): Ditto.
+       * p-valprint.c (_initialize_pascal_valprint) 
+       (show_pascal_static_field_print): Ditto.
+       * printcmd.c (_initialize_printcmd, show_max_symbolic_offset) 
+       (show_print_symbol_filename): Add and update.
+       * parse.c (_initialize_parse, show_expressiondebug): Dito.
+       * observer.c (_initialize_observer, show_observer_debug): Dito.
+       * maint.c (_initialize_maint_cmds, show_watchdog) 
+       (show_maintenance_profile_p): Dito.
+       * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
+       * infrun.c (_initialize_infrun, show_debug_infrun) 
+       (show_stop_on_solib_events, show_follow_fork_mode_string) 
+       (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
+       * infcall.c (_initialize_infcall, show_coerce_float_to_double_p) 
+       (show_unwind_on_signal_p): Ditto.
+       * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution) 
+       (_initialize_gdbtypes, show_overload_debug): Ditto.
+       * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
+       (show_gdb_events_debug): Ditto.
+       * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
+       (_initialize_gdbarch): Ditto.
+       * frame.c (_initialize_frame, show_backtrace_past_main) 
+       (show_backtrace_past_entry, show_backtrace_limit) 
+       (show_frame_debug): Ditto.
+       * exec.c (_initialize_exec, show_write_files): Ditto.
+       * dwarf2read.c (_initialize_dwarf2_read) 
+       (show_dwarf2_max_cache_age): Ditto.
+       * demangle.c (_initialize_demangler)
+       (show_demangling_style_names): Ditto.
+       * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
+       * cp-valprint.c (show_static_field_print) 
+       (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
+       * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
+       * cli/cli-logging.c (_initialize_cli_logging) 
+       (show_logging_overwrite, show_logging_redirect) 
+       (show_logging_filename): Ditto.
+       * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p) 
+       (init_cli_cmds, show_baud_rate, show_remote_debug) 
+       (show_remote_timeout, show_max_user_call_depth): Ditto.
+       * charset.c (show_host_charset_name, show_target_charset_name)
+       (initialize_charset): Ditto.
+       * breakpoint.c (show_can_use_hw_watchpoints)
+       (show_pending_break_support, _initialize_breakpoint): Ditto.
+
+2005-02-23  Jim Blandy  <jimb@redhat.com>
+
+       * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
+
+2005-02-23  Andrew Cagney  <cagney@gnu.org>
+
+       * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
+       SEC_XXX flags.
+
+2005-02-22  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Only enaable insight when itcl is present.
+       * configure: Re-generate.
+       
+2005-02-21  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
+
+       Committed by Andrew Cagney.
+       * infptrace.c (store_register): Fix typo.
+
+2005-02-21  Andrew Cagney  <cagney@gnu.org>
+
+       * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
+       * cli/cli-decode.h (add_set_cmd): Delete declaration.
+       * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
+       * i386-nat.c (_initialize_i386_nat): Update call.
+       * valprint.c (_initialize_valprint): Update comment.
+       * gnu-nat.c (_initialize_gnu_nat): Update call.
+
+2005-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfread.c (elf_symtab_read): Discard section syms.
+
+2005-02-21  Andrew Cagney  <cagney@gnu.org>
+
+       * cli/cli-decode.c (add_set_enum_cmd): Delete function.
+       (deprecated_add_show_from_set): Delete function.
+       * command.h (add_set_enum_cmd): Delete declaration.
+       (deprecated_add_show_from_set): Delete declaration.
+       * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
+       (deprecated_add_show_from_set): Delete declaration.
+       * arm-tdep.c (_initialize_arm_tdep): Update comment.
+       * kod.c (kod_set_os): Simplify.
+       * infrun.c (set_schedlock_func): Simplify.
+       * cli/cli-dump.c (add_dump_command): Update comment.
+
+       Replace string variables with a filename completer with
+       add_setshow_optional_filename_cmd.
+       * solib.c, symfile.c: Update.
+       * cli/cli-setshow.c: Do not tidle expand the file.
+       
+       Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
+       and add_setshow_string_noescape_cmd.
+       * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
+       NULL command's value.
+       * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
+       * remote-sds.c, remote.c, symfile.c, top.c: Update.
+
+2005-02-20  Andrew Cagney  <cagney@gnu.org>
+
+       Use add_setshow_enum_cmd through out.
+       * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
+       * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
+       
+       * mi/mi-main.c (captured_mi_execute_command): Use
+       mi_cmd_interpreter_exec.
+
+       * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
+       function.
+       * cli/cli-setshow.c (deprecated_show_value_hack) 
+       (do_setshow_command): Handle var_optional_filename.
+       * command.h (enum var_types): Add var_optional_filename.
+       (add_setshow_optional_filename_cmd): Declare.
+       * infcmd.c (notice_args_read): Use.
+
+       * symfile-mem.c (symbol_file_add_from_memory): Pass
+       target_read_memory to bfd_elf_bfd_from_remote_memory.
+       (do_target_read_memory): Delete.
+
+2005-02-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * value.h (value_contents_equal): New prototype.
+       * value.c (value_contents_equal): New function.
+       * varobj.c: Include "exceptions.h" and "gdb_assert.h".  Don't
+       include <math.h>.
+       (varobj_set_value): Initialize error to zero.
+       (varobj_update): Rename error2 to error and initialize it to zero.
+       Slightly change the wording of some comments.
+       (my_value_equal): Reimplement using TRY_CATCH and
+       value_contents_equal.
+
+2005-02-18  Andrew Cagney  <cagney@gnu.org>
+
+       * cli/cli-decode.c (add_setshow_integer_cmd): New function.
+       * command.h (add_setshow_integer_cmd): Declare.
+       * cli/cli-cmds.c: Update.
+       
+       Use add_setshow_uinteger_cmd through out.
+       * printcmd.c, source.c, utils.c, valprint.c: Update.
+
+       Use add_setshow_zinteger_cmd through out.  Re-sync gdbarch.sh
+       and gdbarch.c.
+       * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
+       * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
+       * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
+       * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
+       * varobj.c, cli/cli-cmds.c: Update.
+       * gdbarch.c, gdb-events.c: Regenerate.
+       
+       Use add_setshow_boolean_command through out.  Delete #ifdef 0'ed
+       code adding set/show boolean commands.
+       * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
+       * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
+       * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
+       * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
+       * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
+       * cli/cli-cmds.c: Update.
+
+2005-02-17  Andrew Cagney  <cagney@gnu.org>
+
+       * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
+       to filename_completer.
+       * solib.c (_initialize_solib, reload_shared_libraries): Use
+       add_setshow_filename_cmd.
+       * serial.c (_initialize_serial): Ditto.
+       * remote-utils.c (_initialize_sr_support): Ditto.
+
+       * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
+       * command.h (add_setshow_string_noescape_cmd): Declare.
+       * wince.c (_initialize_wince): Use.
+       * symfile.c (_initialize_symfile): Use.
+       (set_ext_lang_command): Update declaration.
+       * corefile.c (_initialize_core): Use.
+
+       * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
+       (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): Delete
+       fprint_setshow parameter.
+       * command.h (fprint_setshow_ftype): Delete.
+       (add_setshow_cmd_full, add_setshow_enum_cmd)
+       (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): Delete
+       fprint_setshow parameter.
+       * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
+       * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
+       * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
+       * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
+       * remote.c, target.c, cli/cli-logging.c: Update.
+       
+2005-02-16  Andrew Cagney  <cagney@gnu.org>
+
+       Merge setshow print and show parameters.
+       * command.h (show_value_ftype): Define.
+       (deprecated_show_value_hack): Declare.
+       (add_setshow_enum_cmd, 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): Change type of show_func to
+       show_value_ftype.
+       * cli/cli-decode.h (struct cmd_list_element): Replace
+       fprint_setshow with show_value_func.
+       * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
+       parameter.  Set show_value_func.  Do not set cmd_sfunc.
+       (add_setshow_enum_cmd, 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): Update.
+       * complaints.c (complaints_show_value): Replace
+       fprint_setshow_complaints.
+       (_initialize_complaints): Update.
+       * mips-tdep.c (show_mask_address): Update.
+       * arm-tdep.c (show_fp_model): Update.
+       * cli/cli-setshow.c (do_setshow_command): Call show_value_func
+       instead of fprint_setshow.  Use deprecated_show_value_hack.
+       (deprecated_show_value_hack): New function.
+       * remote.c (add_packet_config_cmd, show_remote_cmd): 
+       (show_remote_protocol_P_packet_cmd) 
+       (show_remote_protocol_P_packet_cmd) 
+       (show_remote_protocol_Z_access_wp_packet_cmd) 
+       (show_remote_protocol_Z_hardware_bp_packet_cmd) 
+       (show_remote_protocol_Z_packet_cmd)
+       (show_remote_protocol_Z_read_wp_packet_cmd) 
+       (show_remote_protocol_Z_software_bp_packet_cmd) 
+       (show_remote_protocol_Z_write_wp_packet_cmd) 
+       (show_remote_protocol_binary_download_cmd) 
+       (show_remote_protocol_p_packet_cmd) 
+       (show_remote_protocol_qPart_auxv_packet_cmd) 
+       (show_remote_protocol_qSymbol_packet_cmd) 
+       (show_remote_protocol_vcont_packet_cmd): Update.
+
+2005-02-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * wrapper.h: Update copyright year.  Properly wrap a few
+       prototypes.
+       (struct gdb_wrapper_arguments): Remove forward declaration.
+       * wrapper.c: Update copyright year.  Include "ui-out.h".
+       (struct gdb_wrapper_arguments): Remove.
+       (struct captured_value_struct_elt_args): Remove.
+       (wrapper_parse_exp_1, wrap_evaluate_expression)
+       (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
+       (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
+       (do_captured_value_struct_elf): Remove functions.
+       (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
+       (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
+       (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
+       Re-implement using TRY_CATCH.
+
+2005-02-16  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * remote-e7000.c: unuse TM_FILE defined macro.
+       (e7000_fetch_registers) 
+       (e7000_store_registers)
+       (e7000_wait): delete NUM_REALREGS.
+       * remote-hms.c: move TM_FILE macro.
+       (CCR_REGNO): move define from tm-h8300.h.
+       
+2005-02-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-linux-tdep.c: Update copyright year.
+       (amd64_linux_sigtramp_start): Use sizeof operator instead of
+       LINUX_SIGTRAMP_LEN.
+
+2004-02-15  Joel Brobecker  <brobecker@gnat.com>
+
+       From Paul Hilfinger <hilfinger@gnat.com>
+       * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
+       SYMBOL_NATURAL_NAME to set type names.
+
+2005-02-15  Andrew Cagney  <cagney@gnu.org>
+
+       Mark up add_com, add_info and add_prefix_cmd.
+       * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
+       * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
+       * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
+       * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
+       * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
+       * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
+       * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
+       * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
+       * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
+       * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
+       * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
+       * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
+       * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
+       * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
+       * tui/tui-stack.c, tui/tui-win.c: Update.
+
+2005-02-14  Andrew Cagney  <cagney@gnu.org>
+
+       * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
+       * config/h8300/tm-h8300.h: Delete file.
+
+       Mark up add_cmd.
+       * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
+       * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
+       * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
+       * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
+       * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
+       * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
+       * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
+       * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
+       * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
+       * cli/cli-logging.c, tui/tui-regs.c: Update.
+
+       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  <ramana.radhakrishnan@codito.com>
+
+       * MAINTAINERS: Add myself to "Write After Approval".
+
+2005-02-12  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       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  <cagney@gnu.org>
+
+       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  <cagney@gnu.org>
+       
+       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  <ian@airs.com>
+
+       * MAINTAINERS: Update my e-mail address.
+
+2005-02-10  Daniel Jacobowitz  <dan@debian.org>
+
+       From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
+       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  <cagney@gnu.org>
+
+       * 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  <cagney@gnu.org>
+
+       * 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  <vinschen@redhat.com>
+
+       * symmisc.c: Include gdb_stat.h.
+       (maintenance_print_msymbols): Use inode numbers to compare files.
+
 2005-02-08  Andrew Cagney  <cagney@gnu.org>
 
        * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) 
This page took 0.029877 seconds and 4 git commands to generate.