* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushed
[binutils-gdb.git] / gdb / ChangeLog
index f5d96be146d002056146b8f0002fdaf5adef1383..85cbd2a576cdd6bd4c878030594d31f4fdc1d46b 100644 (file)
@@ -1,3 +1,62 @@
+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,