Botch in previous change. Was comparing against "ask" instead of
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 02d17be766a6d19f13adcc54b54f50098c2be20c..88189303c5021c88bb9571f89d7a5d78e6b6b31c 100644 (file)
@@ -1,3 +1,309 @@
+Thu Jun  8 11:41:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * infrun.c (follow_inferior_fork): Bad merge from below.  Compare
+       strings using follow_fork_mode_ask and not "ask".
+
+Wed Jun  7 15:13:04 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.h (add_set_enum_cmd): Make ``enumlist'' and ``var''
+       constant char pointers.
+       (complete_on_enum): Change ``enumlist'' to a constant char
+       pointer.
+       (struct cmd_list_element): Ditto for member ``enums''.
+       * command.c (complete_on_enum, add_set_enum_cmd,
+       do_setshow_command): Update.
+
+       * infrun.c (follow_fork_mode_ask, follow_fork_mode_parent,
+       follow_fork_mode_both, follow_fork_mode_child): New.  Use to
+       construct the follow_fork_mode_kind_names.
+       (set_follow_fork_mode_command): Delete function.
+       (_initialize_infrun): Update.
+       (follow_inferior_fork): Do not strdup follow_fork_mode_string.
+       Use follow_fork_mode_* variables directly instead.  Call
+       internal_error instead of error when unimplemented "ask" mode.
+
+       * infrun.c (scheduler_enums, scheduler_mode, schedlock_off,
+       schedlock_on, schedlock_step): Update.
+       * serial.c (serial_logbase, logbase_hex, logbase_octal,
+       logbase_ascii, logbase_enums): Update.
+       * remote.c (packet_support_enums, packet_support_auto,
+       packet_enable, packet_disable, struct packet_config): Update.
+       * arch-utils.c (initialize_current_architecture,
+       set_architecture_string): Update.
+       (endian_big, endian_little, endian_auto, endian_enum,
+       set_endian_string): Update.
+       * i386-tdep.c (valid_flavors, att_flavor, intel_flavor,
+       disassembly_flavor): Update.
+       * mips-tdep.c (size_enums, size_64, size_32, size_auto,
+       mips_stack_argsize_string, mips_saved_regsize_string): Update.
+       * arm-tdep.c (disassembly_flavor, valid_flavors): Update.
+       (_initialize_arm_tdep): Ditto.
+
+       * TODO: Update.
+
+Mon Jun  5 18:44:14 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * thread.c (make_cleanup_restore_current_thread,
+       do_restore_current_thread_cleanup): New functions.
+       (thread_apply_all_command, thread_apply_command): Use. Call
+       do_cleanups when finished.
+
+       * defs.h (make_cleanup_func): Delete typedef.
+       * TODO: Update.
+
+Wed Jun  7 11:34:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * arch-utils.c (target_byte_order, target_byte_order_auto,
+       show_endian, set_endian, set_endian_big, set_endian_little,
+       set_endian_auto, set_endian_from_file, enum set_arch,
+       target_architecture_auto, set_architecture_string,
+       target_architecture_hook, target_architecture, arch_ok, set_arch,
+       set_architecture_from_arch_mach, set_architecture_from_file,
+       show_architecture, set_architecture, info_architecture,
+       set_gdbarch_from_file, initialize_current_architecture): Copy from
+       gdbarch.c.  Rewrite ``set architecture'' and ``set endian''
+       commands to use enums.
+       (_initialize_gdbarch_utils): Fix name.
+       * arch-utils.h (set_architecture_from_arch_mach,
+       target_architecture_hook): Copy from gdbarch.h.
+       * gdbarch.sh: Update.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+       * TODO: Update.
+
+       * v850-tdep.c, sh3-rom.c, sh-tdep.c, i386-tdep.c: Include
+       "arch-utils.h".
+       * Makefile.in (v850-tdep.o): Specify dependencies.
+       (i386-tdep.o, sh3-rom.o, sh-tdep.o): Add arch-utils.h to
+       dependency list.
+
+2000-06-06  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * configure.in: Enable autoconf to find curses.h on Solaris 2.8.
+       * configure: Regenerate.
+
+Tue Jun  6 21:14:47 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.c (do_setshow_command): Accept an enum option immediatly
+       when it is an exact match.
+
+Tue Jun  6 16:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
+       config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
+       config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h,
+       config/mips/tm-vr4300.h, config/mips/tm-tx39l.h,
+       config/mips/tm-tx39.h, config/mips/tm-embedl64.h,
+       config/mips/tm-embedl.h, config/mips/tm-embed64.h,
+       config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P.
+
+       * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1.
+       
+Tue Jun  6 16:21:14 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (generic_register_convertible_not,
+       frame_num_args_unknown): Move from here.
+       * arch-utils.c (generic_register_convertible_not,
+       frame_num_args_unknown): To here.
+       * arch-utils.h (frame_num_args_unknown): Add declaration.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+Tue Jun  6 15:07:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * remote-mips.c (mips_open): Select the default monitor prompt
+       based on the target ISA.
+
+       * config/mips/tm-vr4100.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr4300el.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr4300.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr4xxx.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr4xxxel.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr5000el.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-vr5000.h (TARGET_MONITOR_PROMPT),
+       config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Delete macro.
+
+2000-06-05  Daniel Berlin  <dan@cgsoftware.com>
+
+       * c-exp.y (yylex): template handling fixes.
+
+2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
+
+       * symtab.h (VTBL_PREFIX_P): Add newer g++ vtbl prefix to prefix
+       list.
+
+       * symtab.c (lookup_partial_symbol): Change to stop forcing linear
+       searches on C++ when we fail the binary search, by doing the
+       binary search right.
+
+2000-05-30  Daniel Berlin  <dan@cgsoftware.com>
+
+       * buildsym.c (hashname): Change to use hash function from bcache.c/.h
+
+       * bcache.c (hash): Change to newer hash function.
+
+       * bcache.h (hash): Prototype for hash function
+
+       * dwarf2read.c (TYPE_HASH_SIZE): New define for controlling size
+       of type hash.
+       (dwarf2_cached_types): New variable that is the cached types.
+       (tag_type_to_type): Do the actual caching of types here.
+
+2000-06-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
+       Renamed from HAVE_R_FS.
+       (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
+       * configure, config.in: Regenerated.
+
+Sun Jun  4 14:00:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Update.  Mention GNU/Linux/SPARC problems.
+
+Wed May 31 21:41:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Change buf
+       to a void pointer.  Update initial values.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+       * findvar.c (address_to_signed_pointer,
+       signed_pointer_to_address): New functions.
+       * inferior.h (signed_pointer_to_address,
+       signed_address_to_pointer): Declare.
+
+       * inferior.h, findvar.c (unsigned_pointer_to_address,
+       address_to_unsigned_pointer): Rename generic_address_to_pointer
+       and generic_pointer_to_address.  Update signatures to match
+       gdbarch changes.
+
+       * config/mips/tm-mips.h (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER):
+       Define. MIPS has signed pointers.
+
+       * defs.h, utils.c (host_pointer_to_address,
+       address_to_host_pointer): New functions.
+       * irix5-nat.c (next_link_map_member, first_link_map_member),
+       procfs.c (proc_set_watchpoint, proc_iterate_over_mappings): Use.
+
+       * irix5-nat.c (solib_map_sections, symbol_add_stub): Change
+       function signature to match catch_errors_ftype.
+
+       * TODO: Update. GDB builds using the IRIX native compiler.
+       
+Sat Jun  3 20:43:59 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (strsignal, safe_strsignal): Delete declarations.
+       * utils.c (safe_strsignal): Delete.
+       * corelow.c (core_open): Replace save_strsignal with
+       target_signal_to_string + target_signal_from_host.
+       * TODO: Document problems with target_signal_from_host.
+
+2000-06-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * annotate.c, annotate.h, breakpoint.c, command.c, command.h,
+       config/rs6000/tm-rs6000.h, corefile.c, d10v-tdep.c,
+       d30v-tdep.c, dbxread.c, dcache.c, dcache.h, dsrec.c,
+       dve3900-rom.c, exec.c, fork-child.c, gdbcore.h, hpux-thread.c,
+       language.h, linux-thread.c, mdebugread.c, monitor.h, ocd.c,
+       procfs.c, ptx4-nat.c, remote-sim.c, remote-utils.h, remote.c,
+       rs6000-tdep.c, ser-ocd.c, sol-thread.c, sparcl-tdep.c,
+       stabsread.h, stack.c, symfile.c, symfile.h, symtab.h,
+       target.c, target.h, top.c, tracepoint.c, tracepoint.h,
+       tui/tui.h, tui/tuiIO.c, utils.c, v850ice.c, varobj.c,
+       win32-nat.c, wince.c, xcoffsolib.c, xcoffsolib.h: Eliminate
+       PARAMS from function pointer declarations. 
+
+2000-06-03  Christopher Faylor  <cgf@cygnus.com>
+
+       * win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is
+       flushed before deleting and restoring it.
+       (safe_symbol_file_add): Ensure that gdb_stderr is flushed before
+       reassigning it.
+       (handle_load_dll): Split into two functions so that WFI can handle
+       shared library events.
+       (child_solib_loaded_library_pathname): New function.
+       (child_clear_solibs): New function.  Clears shared library list.
+       (child_solib_add): New function.  Adds shared library symbols.
+       (dll_symbol_command): New function.  Handles "dll-symbol" command.
+       (info_dll_command): New function.  Handles info
+       "sharedlibrary" command.
+       (handle_exceptions): Eliminate 'ignore_trap' argument.
+       (get_child_debug_event): Eliminate two arguments.  Return "pid" when
+       appropriate.  Break out on most events to allow WFI to handle stuff.
+       (child_wait): Accomodate get_child_debug_event changes.
+       (child_attach): Clear thread list and list of loaded dlls.
+       (child_create_inferior): Clear list of loaded dlls.  Use
+       wait_for_inferior in a loop to look for first "trap".
+       (child_resume): Avoid accessing a possibly-freed thread pointer.
+       (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
+       sharedlibrary" commands.
+       * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
+
+2000-06-02  Christopher Faylor  <cgf@cygnus.com>
+
+       * win32-nat.c: Fix up gcc warnings throughout.
+       (handle_load_dll): Change DLL name to lower case.
+       (handle_exception): Add a second argument indicating whether a
+       breakpoint should be ignored.  Return a 0 if the breakpoint was
+       ignored.
+       (get_child_debug_event): Pass argument to handle_exception to control
+       whether a breakpoint should be ignored.
+       (child_create_inferior): Use modern cygwin API.  Explicitly clear
+       last_sig.  Pass FIRST_EXCEPTION to get_child_debug_event for detection
+       of first breakpoint.
+
+2000-06-02  Christopher Faylor  <cgf@cygnus.com>
+
+       * configure.in: Detect correct versions of dlltool and windres when
+       cross-compiling.
+       * configure: Regenerate.
+
+2000-06-02  J.T. Conklin  <jtc@redback.com>
+
+       * configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
+       * config/i386/nbsdelf.mt: New file.
+       * config/i386/tm-nbsdelf.h: New file.
+       
+       * config/i386/tm-nbsd.h: change include of tm-nbsd.h to 
+       the more explicit config/tm-nbsd.h.
+
+2000-06-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
+       register number when used as index into fpr_regs array.
+
+Tue May 30 13:31:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
+       TARGET_LONG_DOUBLE_FORMAT): Delete.
+
+       * gdbarch.sh: Add support for parameterized expressions.
+       (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
+       TARGET_LONG_DOUBLE_FORMAT): Add.  Include "floatformat.h".
+       * gdbarch.h, gdbarch.c: Regenerate.
+       
+       * arch-utils.c (default_single_format, default_double_format,
+       default_long_double_format): New functions. Include
+       "floatformat.h"
+       * arch-utils.h: Declare.
+       
+       * d10v-tdep.c (d10v_gdbarch_init): Set floating point format.
+       Note that long double is 64 bit, the rest are 32 bit.  Include
+       "floatformat.h".
+
+2000-06-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.
+
+2000-06-01  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's 
+       thread_db library) may cause this function to be called with an
+       illegal address, in which case procfs_to_xfer_memory will 
+       return zero.  Return an error code instead of looping forever.
+
+Thu Jun  1 20:05:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: More suggestions added.
+
 2000-05-31  J.T. Conklin  <jtc@redback.com>
 
        * configure.host: Add patterns for i[3456]86-*-netbsdaout*
This page took 0.036448 seconds and 4 git commands to generate.