2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4f54eb3d57b7b24119280f87009618b5b2e208b1..493d9b47802130073350248ac05532164a7a7a43 100644 (file)
@@ -1,3 +1,189 @@
+2002-02-05  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       win32-nat.c (last_sig): Changed type of variable to target_signal,
+       to allow easier handling of pass state.
+       (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
+       that gives exception name and address.
+       (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
+       and set last_sig value to ourstatus->value.sig. Some missing 
+       exceptions added.
+       (child_continue): Correctly report continue_status.     
+       (get_child_debug_event,do_initial_child_stuff): Set last_sig to 
+       TARGET_SIGNAL_0 (new default value).
+       (child_resume): consider sig argument passed to decide if 
+       the exception should be passed to debuggee or not.
+
+2002-02-05  Michael Snyder  <msnyder@redhat.com>
+
+       * regcache.c (fetch_register): Call target_fetch_register
+       only if we don't call FETCH_PSEUDO_REGISTER.
+       (store_register): Call target_store_register only if we
+       don't call STORE_PSEUDO_REGISTER.
+
+2002-02-05  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
+       ELF_MAKE_MSYMBOL_SPECIAL.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * arch-utils.c (default_make_msymbol_special): New function.
+       * arch-utils.h (default_make_msymbol_special): Export. 
+       * elfread.c (elf_symtab_read): Compile use of
+       ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
+       multiarched.
+       * coffread.c (coff_symtab_read): Ditto, for
+       COFF_MAKE_MSYMBOL_SPECIAL.
+
+2002-02-05  Jim Blandy  <jimb@redhat.com>
+
+       * solib-svr4.c (svr4_truncate_ptr): New function.
+       (svr4_relocate_section_addresses): Do the address arithmetic with
+       the appropriate truncation for target addresses, even when
+       CORE_ADDR is larger than a target address.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
+       to (int *).
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c (kill_inferior): Remove commented out
+       code.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+        * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c: Remove unused include files.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
+       (read_inferior_memory): Use it.
+       (write_inferior_memory): Likewise.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c (create_inferior): Call strerror instead of
+       grubbing through sys_errlist.
+
+2002-02-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
+
+2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
+       * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
+
+2002-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
+       (do_sfunc, set_cmd_sfunc): New functions.
+
+       * command.h (struct cmd_list_element): Add field func.
+       * cli/cli-decode.h (struct cmd_list_element): Ditto.
+       * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
+       * cli/cli-decode.h: Ditto.
+
+       * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
+       (help_all, help_cmd_list): Ditto.
+       (find_cmd, complete_on_cmdlist): Ditto.
+       * top.c (execute_command): Ditto.
+
+       * cli/cli-setshow.c (do_setshow_command): Call func instead of
+       function.sfunc.
+
+       * infcmd.c (notice_args_read): Fix function signature.
+
+       * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
+       * cli/cli-decode.c (add_set_cmd): Ditto.
+       * utils.c (initialize_utils): Ditto.
+       * maint.c (_initialize_maint_cmds): Ditto.
+       * infrun.c (_initialize_infrun): Ditto.
+       * demangle.c (_initialize_demangler): Ditto.
+       * remote.c (add_packet_config_cmd): Ditto.
+       * mips-tdep.c (_initialize_mips_tdep): Ditto.
+       * cris-tdep.c (_initialize_cris_tdep): Ditto.
+       * proc-api.c (_initialize_proc_api): Ditto.
+       * kod.c (_initialize_kod): Ditto.
+       * valprint.c (_initialize_valprint): Ditto.
+       * top.c (init_main): Ditto.
+       * infcmd.c (_initialize_infcmd): Ditto.
+       * corefile.c (_initialize_core): Ditto.
+       * arm-tdep.c (_initialize_arm_tdep): Ditto.
+       * arch-utils.c (initialize_current_architecture): Ditto.
+       (_initialize_gdbarch_utils): Ditto.
+       * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
+
+       * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
+       * wince.c (_initialize_inftarg): Ditto.
+       * symfile.c (_initialize_symfile): Ditto.
+       * mips-tdep.c (_initialize_mips_tdep): Ditto.
+       * language.c (_initialize_language): Ditto.
+       * arc-tdep.c (_initialize_arc_tdep): Ditto.
+
+>>>>>>> 1.2142
+2002-02-04  Michael Snyder  <msnyder@redhat.com>
+
+       * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
+
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
+       Add rules for building the register data files.
+
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regformats/regdat.sh: Add braces to the definition of
+       expedite_regs_${arch}.
+
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regformats/regdef.h (struct reg): Add comment describing the
+       requirements for offset and size fields.
+
+2002-02-04  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
+       * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
+
+2002-02-04  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gdbarch.sh (copyright): Update years in generated header.
+       (SMASH_TEXT_ADDRESS): Add rule.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
+       * dbxread.c: Likewise.
+       * dwarfread.c: Likewise.
+       * elfread.c: Likewise.
+       * somread.c: Likewise.
+
+       * arm-tdep.c (arm_smash_text_address): New function.
+       * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
+
+2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Add support for hardware watchpoints on win32 native.
+       * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of 
+       CONTEXT_DEBUG_REGISTERS.
+       (dr variable): New variable. Static array containing a local copy 
+       of debug registers.
+       (debug_registers_changed): New variable.  Reflects when debug registers
+       are changed and need to be written to inferior.
+       (debug_registers_used): New variable. Reflects when any debug register 
+       was set, used when new threads are created.
+       (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
+       i386-nat code.
+       (thread_rec): Set dr array if id is the thread of current_event .
+       (child_continue, child_resume): Change the debug registers for all
+       threads if debug_registers_changed.
+       (child_add_thread): Change the debug registers if debug_registers_used.
+       * config/i386/cygwin.mh: Add use of i386-nat.o file.
+       Link nm.h to new nm-cygwin.h file.
+       + config/i386/nm-cygwin.h: New file. Contains the macros used for use
+       of hardware registers.
+
 2002-02-03  Andrew Cagney  <ac131313@redhat.com>
 
        * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
        read pseudo-register as well as real register.
        (legacy_write_register_gen): Ditto.
 
+>>>>>>> 1.2132
 2002-01-28  Andrew Cagney  <ac131313@redhat.com>
 
        * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
This page took 0.024516 seconds and 4 git commands to generate.