* main.c: Update copyright year.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2a81f8b9a95f570bf42c3e2a6b4c8ad360f1fdf2..f3d49f4b2b7e1fd826d55f95681d6bda169cb8a7 100644 (file)
@@ -1,3 +1,283 @@
+2005-04-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * main.c: Update copyright year.
+       (captured_main): Avois using strcpy and strcat.
+
+2005-04-01  Michael Snyder  <msnyder@redhat.com>
+
+       * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
+       computing this_id if there are no dummy frames on the stack.
+       
+       * mn10300-tdep.c (mn10300_frame_unwind_cache): Use 
+       find_partial_func instead of unwind_pc to identify frame.
+       (mn10300_push_dummy_call): Handle struct args, struct_return.
+
+       * mn10300-prologue.c (set_movm_offsets): Don't test variable
+       before setting it.
+       * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
+       instead of skip_prologue_using_sal.
+       
+2005-03-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
+       (main_lm_addr): New static global.
+       (frv_current_sos): Retain the link map address for each entry.
+       (frv_clear_solib): Clear main_lm_addr.
+       (frv_fetch_objfile_link_map): New function.
+       * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
+       * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
+
+2005-03-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
+       address and pass this address, instead of the objfile address, to
+       target_get_thread_local_address().
+       * linux-thread-db.c (thread_db_get_thread_local_address): Change
+       second parameter from type ``struct objfile *'' to CORE_ADDR.  Do
+       not call svr4_fetch_objfile_link_map() to fetch the load module
+       address.
+       * target.h (struct target_ops): Change second parameter of
+       ``to_get_thread_local_address'' from ``struct objfile *'' to
+       ``CORE_ADDR''.
+       * alpha-linux-tdep.c (solib-svr4.h): Include.
+       (alpha_linux_init_abi): Register TLS load module fetcher.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
+       * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
+       * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
+       * ia64-linux-tdep.c (solib-svr4.h): Include.
+       (ia64_linux_init_abi): Register TLS load module fetcher.
+       * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
+       * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
+       * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
+       * s390-tdep.c (s390_gdbarch_init): Likewise.
+       * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
+       * sparc64-linux-tdep.c (solib-svr4.h): Include.
+       (sparc64_linux_init_abi): Register TLS load module fetcher.
+       * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
+       (sparc-linux-tdep.o): Update dependencies.
+
+2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * c-valprint.c (c_value_print): Fix up some formatting.  Use
+       check_typedef.
+
+2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-linux-nat.c (store_register, store_regs): Handle
+       ARM_PS_REGNUM.
+
+2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
+       (arm_linux_thumb_le_breakpoint): New.  Update comments.
+       (arm_linux_init_abi): Set Thumb breakpoints also.
+
+2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (arm-tdep.o): Update dependencies.
+       * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
+       (arm_gdbarch_init): Register dwarf2_frame_sniffer.
+
+2005-03-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
+       register value to be incorrectly written in the regcache.
+       (fill_fpregset): Fix bug that caused the FSR register value
+       to be incorrectly read from the regcache.
+
+2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
+       arm_pc_is_thumb_dummy.
+
+2005-03-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
+       StackGhost.
+
+       * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
+       Handle StackGhost in 64-bit code.
+       * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
+
+2005-03-27  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (handle_exception): Treat win32 routines which check for
+       valid addresses as "special" and don't stop when a SEGV is detected.
+       (get_child_debug_event): Properly flag exception as unhandled.
+
+2005-03-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cp-support.c (cp_class_name_from_physname): Rewrite.
+       (unqualified_name_from_comp): New function, broken out from
+       method_name_from_physname.  Correct handling for typed names
+       and templates.
+       (method_name_from_physname): Use unqualified_name_from_comp.
+       (cp_func_name, remove_params): Move earlier in the file.  Add
+       better comments.  Use the component tree to parse the name.
+       (_initialize_cp_support): Remove stray whitespace.
+
+2005-03-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
+
+       * inflow.h: Update copyright year.  Remove #ifdef SHORT_PGRP code.
+       Callapse HAVE_TERMIO and HAVE_SGTTY.
+
+       * dwarf2-frame.c (execute_cfa_program): Implement
+       DW_CFA_GNU_window_save.
+
+2005-03-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/sparc/nbsd64.mh (NAT_FILE): Remove.
+
+       * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
+
+2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (target_is_thumb, caller_is_thumb)
+       (arm_pc_is_thumb_dummy): Remove.
+       (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
+
+2005-03-25  Anthony Green  <green@redhat.com>
+
+       * remote.c (remote_store_registers): Fix memset usage.
+       * std-regs.c (value_of_builtin_frame_reg): Ditto.
+       (value_of_builtin_frame_fp_reg): Ditto.
+       (value_of_builtin_frame_reg): Ditto.
+
+2005-03-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * ser-base.c (ser_unix_write): Rename to ...
+       (ser_base_write): ... this.
+       (ser_unix_nop_flush_output): Rename to ...
+       (ser_base_flush_output): ... this.
+       (ser_unix_flush_input): Rename to ...
+       (ser_base_flush_input): ... this.
+       (ser_unix_nop_send_break): Rename to ...
+       (ser_base_send_break): ... this.
+       (ser_unix_nop_drain_output): Rename to ...
+       (ser_base_drain_output): ... this.
+       (ser_unix_nop_raw): Rename to ...
+       (ser_base_raw): ... this.
+       (ser_unix_nop_get_tty_state): Rename to ...
+       (ser_base_set_tty_state): ... this.
+       (ser_unix_nop_noflush_set_tty_state): Rename to ...
+       (ser_base_noflush_set_tty_state): ... this.
+       (ser_unix_nop_print_tty_state): Rename to ...
+       (ser_base_print_tty_state): ... this.
+       (ser_unix_nop_setbaudrate): Rename to ...
+       (ser_base_setbaudrate): ... this.
+       (ser_unix_nop_setstopbits): Rename to ...
+       (ser_base_setstopbits): ... this.
+       (ser_unix_async): Rename to ...
+       (ser_base_async): ... this.
+       * ser-base.h (ser_unix_write): Rename to ...
+       (ser_base_write): ... this.
+       (ser_unix_nop_flush_output): Rename to ...
+       (ser_base_flush_output): ... this.
+       (ser_unix_flush_input): Rename to ...
+       (ser_base_flush_input): ... this.
+       (ser_unix_nop_send_break): Rename to ...
+       (ser_base_send_break): ... this.
+       (ser_unix_nop_drain_output): Rename to ...
+       (ser_base_drain_output): ... this.
+       (ser_unix_nop_raw): Rename to ...
+       (ser_base_raw): ... this.
+       (ser_unix_nop_get_tty_state): Rename to ...
+       (ser_base_set_tty_state): ... this.
+       (ser_unix_nop_noflush_set_tty_state): Rename to ...
+       (ser_base_noflush_set_tty_state): ... this.
+       (ser_unix_nop_print_tty_state): Rename to ...
+       (ser_base_print_tty_state): ... this.
+       (ser_unix_nop_setbaudrate): Rename to ...
+       (ser_base_setbaudrate): ... this.
+       (ser_unix_nop_setstopbits): Rename to ...
+       (ser_base_setstopbits): ... this.
+       (ser_unix_async): Rename to ...
+       (ser_base_async): ... this.
+       * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
+       * ser-tcp.c (_initialize_ser_tcp): Likewise.
+       * ser-unix.c (hardwire_flush_input): Likewise.
+       (_initializer_ser_hardwire): Likewise.
+
+       * Makefile.in (SFILES): Add ser-base.c.
+       (ser_base_h): New variable.
+       (ser-base.o): New target.
+       (ser-pipe.o): Depend on $(ser_base_h).
+       (ser-tcp.o): Likewise.
+       (ser-unix.o): Likewise.  Do not depend on $(event_loop_h).
+       * configure.ac (SER_HARDWIRE): Include ser-base.o where
+       appropriate.
+       * ser-base.c: New file.
+       (push_event): Move from ser-unix.c.
+       (fd_event): Likewise.
+       (reschedule): Likewise.
+       (ser_unix_write): Likewise.
+       (ser_unix_nop_flush_output): Likewise.
+       (ser_unix_flush_input): Likewise.
+       (ser_unix_nop_send_break): Likewise.
+       (ser_unix_nop_drain_output): Likewise.
+       (ser_unix_nop_raw): Likewise.
+       (ser_unix_nop_get_tty_state): Likewise.
+       (ser_unix_nop_set_tty_state): Likewise.
+       (ser_unix_nop_noflush_set_tty_state): Likewise.
+       (ser_unix_nop_print_tty_state): Likewise.
+       (ser_unix_nop_setbaudrate): Likewise.
+       (ser_unix_nop_setstopbits): Likewise.
+       (ser_unix_async): Likewise.
+       * ser-base.h: New file.
+       * ser-pipe.c (ser-base.h): Include it.
+       * ser-tcp.c (ser-base.h): Likewise.
+       * ser-unix.h (ser_unix_nop_flush_output): Remove.
+       (ser_unix_flush_input): Likewise.
+       (ser_unix_nop_send_break): Likewise.
+       (ser_unix_nop_raw): Likewise.
+       (ser_unix_nop_get_tty_state): Likewise.
+       (ser_unix_nop_set_tty_state): Likewise.
+       (ser_unix_nop_print_tty_state): Likewise.
+       (ser_unix_nop_noflush_set_tty_state): Likewise.
+       (ser_unix_nop_setbaudrate): Likewise.
+       (ser_unix_nop_setstopbits): Likewise.
+       (ser_unix_nop_drain_output): Likewise.
+       (ser_unix_wait_for): Likewise.
+       (ser_unix_write): Likewise.
+       (ser_unix_async): Likewise.
+       * ser-unix.c (event-loop.h): Do not include it.
+       (push_event): Move to ser-base.c.
+       (fd_event): Likewise.
+       (reschedule): Likewise.
+       (ser_unix_write): Likewise.
+       (ser_unix_nop_flush_output): Likewise.
+       (ser_unix_flush_input): Likewise.
+       (ser_unix_nop_send_break): Likewise.
+       (ser_unix_nop_drain_output): Likewise.
+       (ser_unix_nop_raw): Likewise.
+       (ser_unix_nop_get_tty_state): Likewise.
+       (ser_unix_nop_set_tty_state): Likewise.
+       (ser_unix_nop_noflush_set_tty_state): Likewise.
+       (ser_unix_nop_print_tty_state): Likewise.
+       (ser_unix_nop_setbaudrate): Likewise.
+       (ser_unix_nop_setstopbits): Likewise.
+       (ser_unix_async): Likewise.
+       (ser_unix_wait_for): Make it static.
+       * configure: Regenerated.
+       
+2005-03-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2-frame.h: Update copyrigh year.
+       (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
+       * dwarf2-frame.c: Update copyright year.
+       (struct dwarf2_frame_cache): Add member `retaddr_reg'.
+       (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
+       (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
+
+2005-03-23  Martin Hunt  <hunt@redhat.com>
+
+       * configure.ac: Remove -fwritable-strings from CFLAGS.
+       * configure: Regenerate.
+
 2005-03-21  Michael Snyder  <msnyder@redhat.com>
 
        * mn10300-prologue.c (fix_frame_pointer): Delete.
This page took 0.040613 seconds and 4 git commands to generate.