+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.
+ (set_movm_offsets) Don't return just because movm_args is
+ zero -- still need to save pc and sp in saved_regs.
+ (mn10300_analyze_prologue): Don't return prematurely without
+ calling set_movm_offsets (for pc and sp at minimum).
+
+2005-03-21 Mark Mitchell <mark@codesourcery.com>
+
+ * configure.ac (stat.st_blksize): Check for it.
+ (getuid): Likewise.
+ (getgid): Likewise.
+ * configure: Regenerated.
+ * config.in: Likewise.
+ * remote-fileio.c (remote_fileio_to_fio_stat): Check
+ HAVE_STRUCT_STAT_ST_BLKSIZE.
+
+2005-03-21 Christopher Faylor <cgf@timesys.com>
+
+ * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
+ here.
+ (do_initial_child_stuff): Move clearing of thread list to a place
+ before a thread ould be created.
+ (child_attach): Ditto.
+
+2005-03-21 Michael Snyder <msnyder@redhat.com>
+
+ * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
+ instead of pc addr for frame_id. Otherwise "until" won't work.
+
+2005-03-21 Kevin Buettner <kevinb@redhat.com>
+
+ * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
+ comment.
+
+2005-03-20 Mark Kettenis <kettenis@gnu.org>
+
+ * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
+ * varobj.c (my_value_equal): Mark val2 as volatile.
+
+ * cp-names.y: Add prototype for yyparse.
+
+2005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
+ * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
+ VALADDR.
+
+2005-03-18 Kevin Buettner <kevinb@redhat.com>
+
+ * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
+ * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
+ (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
+ New error/exception enums.
+ * dwarf2loc.c (exceptions.h): Include.
+ (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
+ via TRY_CATCH mechanism. Print error messages for TLS related
+ exceptions.
+ * linux-thread-db.c (thread_db_get_thread_local_address): Throw
+ exceptions instead of printing errors.
+
+2005-03-18 Mark Kettenis <kettenis@gnu.org>
+
+ * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
+ (decimal2str, octal2str): Change to return a string allocated by
+ get_cell. Use xsnprint instead of snprintf.
+ (paddr_u, paddr_d): Adjust for changed calling convention of
+ decimal2str.
+ (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
+ (int_string): Likewise. Adjust for changed calling convention of
+ decimal2str and octal2str.
+
+2005-03-18 Kevin Buettner <kevinb@redhat.com>
+
+ * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
+ Adjust incorrectly computed constant for realtime signal frame.
+
+2005-03-18 Mark Kettenis <kettenis@gnu.org>
+
+ From Ralf Corsepius <ralf.corsepius@rtems.org>
+ * configure.tgt: Add m68*-*-rtems*.
+
+2005-03-17 Mark Kettenis <kettenis@gnu.org>
+
+ * defs.h (xsnprintf): New prototype.
+ * utils.c (xsnprintf): New function.
+
+ * corelow.c (get_core_register_section): Replace usage of sprintf
+ and strcpy with xstrprintf and xstrdup.
+
+ * mips-tdep.c (mips_single_step_through_delay): Put back check for
+ breakpoint lost with the introduction of this function.
+
+2005-03-17 Paul Brook <paul@codesourcery.com>
+
+ * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
+ * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
+
+2005-03-16 Mark Mitchell <mark@codesourcery.com>
+
+ * event-top.c (handle_sigquit): Do not define for systems without
+ SIGQUIT.
+ (sigquit_token): Likewise.
+ (async_init_signals): Allow for systems that do not
+ define SIGQUIT.
+ * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
+
2005-03-15 Mark Mitchell <mark@codesourcery.com>
* utils.c (internal_vproblem): Guard call to fork with
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.
-2005-03-13 Mark Kettenis <kettenis@elgar.gnu.org>
+2005-03-13 Mark Kettenis <kettenis@gnu.org>
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.