2005-01-27 Andrew Cagney <cagney@gnu.org>
[external/binutils.git] / gdb / ChangeLog
index c6de86e..7ccfa71 100644 (file)
@@ -1,5 +1,130 @@
+2005-01-27  Andrew Cagney  <cagney@gnu.org>
+
+       * corefile.c (write_memory): Update, make a copy of the read-only
+       buffer.
+       * target.c (target_read_memory): Update.
+       (target_write_memory): Update, make a copy of the read-only
+       buffer.
+       * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
+       const.
+       * target.h (target_read_memory, target_write_memory): Change
+       buffer type to bfd_byte; for write_memory, make it const.
+       * symfile-mem.c (do_target_read_memory): New function.
+       (symbol_file_add_from_memory): Pass do_target_read_memory to
+       bfd_elf_bfd_from_remote_memory.
+
+       * value.h: Indent using gdb_indent.sh.
+
+       * configure: Regenerate to track ../gettext.m4 change.
+
+2005-01-26  Andrew Cagney  <cagney@gnu.org>
+
+       * rs6000-tdep.c: Include "reggroups.h".
+       (rs6000_gdbarch_init): Set register_reggroup_p.
+       (rs6000_register_reggroup_p): New function.
+
+2005-01-26  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
+       (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
+       CRISv32.
+       (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
+       (cris_region_ok_for_watchpoint, cris_stopped_data_address)
+       (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
+       (crisv32_register_type, cris_special_register_name)
+       (crisv32_register_name): New functions.
+       (cris_spec_reg_applicable): Recognize more versions.
+       (cris_register_name): Update with call to cris_special_register_name.
+       (find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
+       warning when unable to find step target.
+       (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
+       (supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for 
+       CRISv32.
+       (fetch_core_registers): Update for CRISv32.
+       (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
+       register_name, cannot_store_register, cannot_fetch_register,
+       have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
+       
+2005-01-26  Nick Roberts  <nickrob@snap.net.nz>
+
+       * interps.c (interpreter_exec_cmd): Use condition,
+       e.reason < 0, to raise an error.
+
+2005-01-25  Andrew Cagney  <cagney@gnu.org>
+
+       * ppc-linux-tdep.c: Include "tramp-frame.h"
+       (struct ppc_linux_sigtramp_cache)
+       (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
+       (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
+       (ppc_linux_sigtramp_cache): Delete.
+       (ppc32_linux_sigaction_cache_init)
+       (ppc64_linux_sigaction_cache_init)
+       (ppc32_linux_sighandler_cache_init)
+       (ppc64_linux_sighandler_cache_init)
+       (ppc32_linux_sigaction_tramp_frame)
+       (ppc64_linux_sigaction_tramp_frame)
+       (ppc32_linux_sighandler_tramp_frame)
+       (ppc64_linux_sighandler_tramp_frame)
+       (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
+       64-bit, sigaction and siginfo tramp-frame unwinders.
+
+       * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
+        long_double_bit to 8.
+
+2005-01-24  Andrew Cagney  <cagney@gnu.org>
+
+       * infrun.c (handle_inferior_event): Handle back-to-back and nested
+       signals where the step_resume_breakpoint may have already been
+       inserted.
+
+2005-01-24  Andrew Cagney  <cagney@gnu.org>
+
+       * configure: Regenerate, ../gettext.m4 was updated.
+
+2005-01-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * NEWS: Mention new BSD user-level threads support.
+
+       * i386obsd-tdep.c: Update copyright year.  Include
+       "bsd-uthread.h".
+       (i386obsd_uthread_reg_offset): New variable.
+       (I386OBSD_UTHREAD_ESP_OFFSET): New define.
+       (i386obsd_supply_uthread, i386obsd_collect_uthread): New
+       functions.
+       (i386obsd_init_abi): Set supply_uthread and collect_uthread.
+       * Makefile.in (i386obsd-tdep.o): Update dependencies.
+       * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
+
+2005-01-23  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c: Update copyright year.
+       (child_init_thread_list): Set thread linked list point to NULL so that
+       it won't be reused after clearing.
+
 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
 
+       * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
+       undefs.
+       * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
+       thread' has a td_pcb member and whether `struct reg' has r_fs and
+       r_gs members.
+       * configure, config.in: Regenerate.
+
+2005-01-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.ac: Remove ia64-*-aix* junk.
+       * configure: Regenerate.
+
+       * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
+       and BFD_NEED_DECLARATION.  Don't check if a declaration of strdup
+       is necessary.
+       * configure, config.in: Regenerate.
+       * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
+       BFD_NEED_DECLARATION.  Never provide a prototype for
+       caninicalize_file_name.
+       * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
+       BFD_NEED_DECLARATION.
+
        * configure.ac (targ_archs): Use standard autoconf check for
        "struct stat.st_blocks" instead of rolling our own.
        * configure: Regenerated.