2005-02-20 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bc62e5e879c597b1cb027c4eabebd2dff10e3f47..c2eccfea3be184541070fc2de35ef427cd2e162c 100644 (file)
@@ -1,3 +1,122 @@
+2005-02-20  Andrew Cagney  <cagney@gnu.org>
+
+       * 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
 2005-02-15  Mark Kettenis  <kettenis@gnu.org>
 
        * amd64-linux-tdep.c: Update copyright year.
-       (amd64_linux_sigtramp_start): Change argument to `struct
-       frame_info *'.  Use safe_frame_unwind_memory instead of
-       deprecated_read_memory_nobpt.
-       (amd64_linux_sigtramp_p): Adjust call to
-       amd64_linux_sigtramp_start.
+       (amd64_linux_sigtramp_start): Use sizeof operator instead of
+       LINUX_SIGTRAMP_LEN.
 
 2004-02-15  Joel Brobecker  <brobecker@gnat.com>
 
This page took 0.024523 seconds and 4 git commands to generate.