2006-02-19 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 18dc4fb02dbed21309aac3531e712aba7e27976f..52f2d500807677abd88bdaf0ee38ba0e699c91b9 100644 (file)
@@ -1,3 +1,772 @@
+2006-02-19  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
+       unwind entry.
+
+2006-02-16  Fred Fish  <fnf@specifix.com>
+
+       * eval.c (evaluate_subexp_standard):  For OP_TYPE, return
+       a non lval value zero, of the appropriate type, when avoiding
+       side effects.
+       * typeprint.c (ptype_eval): Remove function and declaration.
+       (ptype_command): Simplify to just a call to whatis_exp.
+
+2006-02-15  Paul Brook  <paul@codesourcery.com>
+
+       * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
+       Load insn opcodes as unsigned values.
+
+2006-02-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doublest.h (DOUBLEST): Use long double only if we can scan
+       it in.  Undefine HAVE_LONG_DOUBLE otherwise.
+       (DOUBLEST_FORMAT): New.
+       * c-exp.y (parse_number): Use it.
+       * jv-exp.y (parse_number): Likewise.
+       * objc-exp.y (parse_number): Likewise.
+       * p-exp.y (parse_number): Likewise.
+       * varobj.c (free_variable): Silence type-punning warnings.
+       * tui/tui-data.h (struct tui_list): Change type of list member.
+       * tui/tui-data.c: Remove no-longer-needed type casts.
+       (source_windows): Silence type-punning warnings.
+       * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
+
+2006-02-13  Mark Kettenis  <kettenis@gnu.org>
+
+       Fix PR breakpoints/2080.
+       * i386-tdep.c (struct i386_frame_cache): Add stack_align member.
+       (i386_analyze_stack_align): New function.
+       (i386_analyze_prologue): Use i386_analyze_stack_align.
+       (i386_frame_cache): Deal with stack realignment.
+
+2006-02-14  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/gdb-mi.el: Use more functions from gdb-ui.el.
+       (gdb-break-list-regexp): Match "what" field if present.
+       (gdb-stack-list-frames-regexp): Match "from" if present field.
+       (gdb-stack-list-frames-handler): Present output like "info
+       breakpoints" so regexps can be shared with gdb-ui
+
+2006-02-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention native Windows support.
+       * Makefile.in (gdb_select_h, ser_tcp_h): New.
+       (ALLDEPFILES): Add ser-mingw.c.
+       (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
+       (ser-tcp.o, ser-unix.o): Update.
+       (ser-mingw.o): New rule.
+       * configure: Regenerated.
+       * configure.ac: Add ser-mingw.o for mingw32.
+       * ser-mingw.c: New file.
+       * event-loop.c: Include "gdb_select.h".
+       (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
+       * ser-base.c: Include "gdb_select.h".
+       (ser_base_wait_for): Use gdb_select.
+       * serial.c (serial_for_fd): New function.
+       (serial_fdopen): Try "terminal" before "hardwire".  Initialize
+       the allocated struct serial.
+       (serial_wait_handle): New function.
+       * serial.h (serial_for_fd, serial_wait_handle): New prototypes.
+       (struct serial_ops) [USE_WIN32API]: Add wait_handle.
+       * gdb_select.h: New file.
+       * ser-tcp.c: Include "ser-tcp.h".  Remove unused "ser-unix.h" include.
+       (net_close, net_read_prim, net_write_prim): Make global.
+       (net_open): Likewise.  Pass an exception set to select.  Whitespace fix.
+       Document why we can not use gdb_select.
+       (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
+       * ser-tcp.h: New file.
+       * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
+       (handle_sigio): Use gdb_select.
+       (initialize_stdin_serial): New function.
+       * terminal.h (initialize_stdin_serial): New prototype.
+       * top.c (gdb_init): Call initialize_stdin_serial.
+       * mingw-hdep.c (gdb_select): New function, moved from gdb_select in
+       event-loop.c.  Add exception condition support.  Use serial_for_fd
+       and serial_wait_handle.  Fix timeout handling.
+       * posix-hdep.c: Include "gdb_select.h".
+       (gdb_select): New function.
+       * remote-st.c (connect_command): Use gdb_select.
+       * ser-unix.c: Include "gdb_select.h".
+       (hardwire_send_break, wait_for): Use gdb_select.
+
+2006-02-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
+       (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
+       * configure.ac: Add gdb_host_obs to CONFIG_OBS.  Set gdb_host_obs
+       to posix-hdep.o by default.
+       * configure: Regenerated.
+       * configure.host: Document gdb_host_obs.  Add an entry for
+       i[34567]86-*-mingw32*.
+       * mingw-hdep.c, posix-hdep.c: New files.
+       * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
+
+2006-02-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
+       * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX.
+       * rs6000-tdep.h: New file.
+       * rs6000-tdep.c: Include "rs6000-tdep.h".
+       (rs6000_gdbarch_init): Remove enabling of software single step.
+       Will be done in the AIX-specific initialization routine.
+       * rs6000-aix-tdep.c: New file.
+       * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o.
+       * Makefile.in (rs6000_tdep_h): New variable.
+       (rs6000-tdep.o): Update dependencies.
+       (rs6000-aix-tdep.o): New rule.
+
+2006-02-10  Joel Brobecker  <brobecker@adacore.com>
+
+        * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
+        instead of add_setshow_zinteger_cmd to defined the aix-thread
+        boolean setting.
+
+2006-02-10  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
+
+2006-02-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to
+       30 bits.  Add load_all_dies flag.
+       (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set.
+       Load DW_TAG_member by default.  Remove internal_error call.
+       (find_partial_die): Reload the compilation unit if we can not find
+       a DIE in the cache.  Call internal_error here if we still can not
+       find the DIE.
+
+2006-02-10  Nick Roberts  <nickrob@snap.net.nz>
+
+       * breakpoint.c (print_one_breakpoint): Add break to case
+       bp_catch_vfork in switch statement.
+
+2006-02-08  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * config/i386/nm-i386sol2.h: Update copyright year.
+       * config/mips/nm-irix5.h: Ditto.
+       * config/sparc/nm-sol2.h: Ditto.
+       * s390-nat.c: Ditto.
+       * ppc-linux-nat.c: Ditto.
+
+2006-02-08  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete.
+       * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
+       (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
+       * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
+       (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
+       * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
+       (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
+       * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New.
+       (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete.
+       (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and
+       add to_region_ok_for_hw_watchpoint.
+       * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete.
+       (s390_region_ok_for_hw_watchpoint): New.
+       (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint
+       and add to_region_ok_for_hw_watchpoint.
+       * target.c (default_region_size_ok_for_hw_watchpoint, 
+       debug_to_region_size_ok_for_hw_watchpoint): Delete prototype.
+       (update_current_target): Delete to_region_size_ok_for_hw_watchpoint
+       inheritance and default_region_size_ok_for_hw_watchpoint.
+       (default_region_ok_for_hw_watchpoint): If len is less than or equal
+       the length of void pointer, return ok.
+       (default_region_size_ok_for_hw_watchpoint): Delete.
+       (debug_to_region_size_ok_for_hw_watchpoint): Delete.
+       (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint.
+       * target.h (struct target_ops): Delete 
+       to_region_size_ok_for_hw_watchpoint.
+       (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
+       
+2006-02-08  Ben Elliston  <bje@au1.ibm.com>
+           Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG,
+       PTRACE_GETSIGINFO): Define.
+       (last_stopped_data_address): New.
+       (ppc_linux_check_watch_resources): New function.
+       (ppc_linux_region_ok_for_hw_watchpoint): New function.
+       (ppc_linux_insert_watchpoint): New function.
+       (ppc_linux_remove_watchpoint): New function.
+       (ppc_linux_stopped_data_address): New function.
+       (ppc_linux_stopped_by_watchpoint): New function.
+       (_initialize_ppc_linux_nat): Set the above hardware watchpoint
+       related target vectors.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures
+       to have nonsteppable watchpoint.
+       * target.c (default_region_ok_for_hw_watchpoint,
+       debug_to_region_ok_for_hw_watchpoint): New prototypes.
+       (update_current_target): Inherit to_region_ok_for_hw_watchpoint
+       and set default to_region_ok_for_hw_watchpoint.
+       (default_region_ok_for_hw_watchpoint): New function.
+       (debug_to_region_ok_for_hw_watchpoint): New function.
+       (setup_target_debug): Set to_region_ok_for_hw_watchpoint of 
+       debug_target.
+       * target.h (struct target_ops): Add a new target vector 
+       to_region_ok_for_hw_watchpoint.
+       (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not
+       defined anyplace else.
+
+2005-02-07  Joel Brobecker  <brobecker@adacore.com>
+       * symfile.c (add_symbol_file_command): Abort if the user forgot
+       to provide the address when the file has been loaded.
+
+2006-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Update file based on maintainers survey.  Add
+       a note to Past Maintainers.  Move unresponsive or inactive
+       maintainers to Authorized Committers or Past Maintainers as
+       appropriate.  Correct Jim Kingdon's email address.  Remove
+       vacant areas of responsibility.
+
+2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
+
+       * breakpoint.c (print_one_breakpoint): For MI-like UI, output
+       fullname field.
+
+2006-02-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
+       * exceptions.c (exception_none, exceptions_state_mc_init)
+       (throw_vfatal): Use GDB_NO_ERROR.
+
+2006-02-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
+       r_map_size members.  Add r_version_offset, r_version_size and
+       r_ldsomap_offset members.
+       * solib-svr4.c (solib_svr4_r_map): Renamed from
+       fetch_link_map_member.  Simplify using read_memory_typed_address.
+       (solib_svr4_r_ldsomap): New function.
+       (open_symbol_file_object): Use solib_svr_r_map.
+       (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
+       linker by using solib_svr4_r_ldsomap.
+       (svr4_ilp32_fetch_link_map_offsets)
+       (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
+       link_map_offsets'.
+       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
+       changes to `struct link_map_offsets'.
+       * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
+       (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
+       `struct link_map_offsets'.
+
+2006-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (struct saved_ptids, threads_to_delete)
+       (record_dead_thread, prune_lwps, find_thread_from_lwp)
+       (exit_lwp): New.
+       (linux_nat_resume): Call prune_lwps.
+       (wait_lwp, linux_nat_wait): Call exit_lwp.
+
+2006-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * printcmd.c (printf_command): Make format string checking
+       stricter.  Add separate cases for long_arg, ptr_arg, and
+       long_double_arg.
+       * utils.c (xstrvprintf): Improve the error message issued
+       for a bad format string.
+       * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
+       New variables.
+       (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
+       $(NO_WERROR_CFLAGS).
+       (printcmd.o): Likewise.  Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
+       enable -Werror.
+
+2006-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (remote.o): Update.
+       * remote.c (show_packet_config_cmd): Shorten messages.
+       (remote_set_cmdlist, remote_show_cmdlist): Make file-static.
+       (show_remote_cmd): Iterate.
+       (_initialize_remote): Remove remote_set_cmdlist,
+       remote_show_cmdlist.
+
+2006-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
+       * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
+       prototypes.
+       * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
+       (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
+       * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
+       ...here.
+       * gdbtypes.c: Include "hashtab.h".
+       (build_gdbtypes): Remove extra prototype.
+       (struct type_pair, type_pair_hash, type_pair_eq)
+       (create_copied_types_hash, copy_type_recursive): New.
+       * gdbtypes.h: Include "hashtab.h".
+       (TYPE_ZALLOC): New.
+       (create_copied_types_hash, copy_type_recursive): New prototypes.
+       * objfiles.c (free_objfile): Call preserve_values.
+       * symfile.c (reread_symbols): Likewise.
+       (clear_symtab_users): Remove calls to clear_value_history and
+       clear_internalvars.
+       * value.c (clear_value_history, clear_internalvars): Removed.
+       (preserve_one_value, preserve_values): New functions.
+       * value.h (clear_value_history, clear_internalvars): Removed.
+       (preserve_values): New prototype.
+
+       * tracepoint.c (_initialize_tracepoint): Do not initialize convenience
+       variables here.
+
+2006-01-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
+       Fixes PR tdep/2075.
+
+2006-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Use a consistent email address for brobecker.
+
+2006-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcmd.c (post_create_inferior): Fix copy/paste error introduced
+       in the previous change.
+
+2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR gdb/1914
+       * fork-child.c (fork_inferior): Don't call
+       solib_create_inferior_hook.
+       * infcmd.c (post_create_inferior): Call solib_add,
+       solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
+       (attach_command): Don't call solib_add or
+       re_enable_breakpoints_in_shlibs.  Call post_create_inferior
+       instead.
+       * remote.c (remote_open_1): Don't call solib_create_inferior_hook
+       or observer_notify_inferior_created.  Call post_create_inferior
+       instead.
+       * corelow.c: Don't include "observer.h".
+       (solib_add_stub): Deleted.
+       (core_open): Don't call observer_notify_inferior_created or
+       solib_add_stub.  Call post_create_inferior instead.
+       * inf-ptrace.c: Don't include "observer.h".
+       (inf_ptrace_attach): Don't call observer_notify_inferior_created.
+       * inf-ttrace.c: Don't include "observer.h".
+       (inf_ttrace_attach): Don't call observer_notify_inferior_created.
+       * inferior.h (solib_create_inferior_hook): Remove redundant
+       prototype.
+       * inftarg.c: Don't include "observer.h".
+       (child_attach): Don't call observer_notify_inferior_created.
+       * Makefile.in: Update dependencies.
+
+2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infcmd.c: Include "observer.h".
+       (post_create_inferior): New function.
+       (run_command_1): Call it.  Also call proceed.
+       * inferior.h (post_create_inferior): New prototype.
+       * Makefile.in (infcmd.o): Update.
+
+       * gnu-nat.c (gnu_create_inferior): Don't call proceed.
+       * go32-nat.c (go32_create_inferior): Likewise.
+       * nto-procfs.c (procfs_create_inferior): Likewise.
+       * procfs.c (procfs_create_inferior): Likewise.
+       * remote-sim.c (gdbsim_create_inferior): Likewise.
+       * remote.c (extended_remote_create_inferior)
+       (extended_remote_async_create_inferior): Likewise.
+       * win32-nat.c (win32_create_inferior): Likewise.
+       * wince.c (child_create_inferior): Likewise.
+
+       * monitor.c (monitor_create_inferior): Don't call proceed.
+       Set the PC manually.
+       * ocd.c (ocd_create_inferior): Likewise.
+       * remote-e7000.c (e7000_create_inferior): Likewise.
+       * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
+       * remote-mips.c (mips_create_inferior): Likewise.
+       * remote-rdp.c (remote_rdp_create_inferior): Likewise.
+       * remote-sds.c (sds_create_inferior): Likewise.
+       * remote-st.c (st2000_create_inferior): Likewise.
+
+       * inf-ptrace.c (inf_ptrace_create_inferior): Don't call
+       proceed or observer_notify_inferior_created.
+       * inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
+       * inftarg.c (child_create_inferior): Likewise.
+
+2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
+       after mourning the inferior.
+
+2006-01-24  Jim Blandy  <jimb@redhat.com>
+
+       * valarith.c (binop_user_defined_p): Handle refs to typedefs.
+
+2006-01-24  Fred Fish  <fnf@specifix.com>
+
+       * parse.c (source.h): Include.
+       (parse_exp_in_context):  Use static source context if no
+       other context found.
+
+2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * sh-tdep.c: Include reggroups.h.
+       (sh_register_reggroup_p): New function.
+       (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
+       * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
+
+2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * cli/cli-cmds.c: Include fcntl.h.
+       (source_command): Use the GDB search path to find script files.
+
+2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR tdep/2029
+       Suggested by Till Straumann <strauman@slac.stanford.edu>:
+       * rs6000-tdep.c (skip_prologue): Update check for later mtlr
+       instructions.  Handle PIC bcl.
+
+2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/djgpp/README: Typo fix.
+       * config/djgpp/fnchange.lst: Update.
+
+2006-01-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
+       (sparc_address_from_register): New prototype.
+       (sparcnbsd_step_trap): New prototype.
+       * sparc-tdep.c (sparc_address_from_register): Make globally
+       visible.
+       (sparc_analyze_control_transfer): Change prototype to accept
+       `struct gdbarch *' as first argument.  Allow for optional hnadling
+       for trap instructions.
+       (sparc_step_trap): New function.
+       (sparc_software_single_step): Adjust call to
+       sparc_analyze_control_trabsfer.
+       (sparc32_gdbarch_init): Initialize TDEP->step_trap.
+       * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
+       (sparc32nbsd_init_abi): Set TDEP->step_trap.
+       * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
+       * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
+
+       * sparc-tdep.c (sparc32_return_value): Convert to use
+       RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
+       RETURN_VALUE_STRUCT_CONVENTION.
+       (sparc32_extract_struct_value_address): Remove.
+
+2006-01-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
+       (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
+
+2006-01-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * solib.c (info_sharedlibrary_command): Avoid internal_error.
+
+2006-01-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_mxcsr_type): New variable.
+       (i386_init_types): Initialize i386_mxcsr_type.
+       (i386_register_type): Return i386_mxcsr_type for %mxcsr.
+       * i386-tdep.c (i386_mxcsr_type): New extern.
+       * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
+       %mxcsr.
+
+2006-01-20  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.in (remote-rdi.o): Remove.
+       (rdi-share/libangsd.a): Likewise.
+       * README: Don't mention remote-rdi.c.
+       * NEWS: Mention removal of rdi-share.
+       * configure.ac: Don't configure rdi-share subdirectory.
+       * remote-rdi.c: Remove.
+       * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
+       (TDEPLIBS): Remove rdi-share/libangsd.a.
+       * rdi-share/Makefile.am: Remove.
+       * rdi-share/Makefile.in: Likewise.
+       * rdi-share/README.CYGNUS: Likewise.
+       * rdi-share/aclocal.m4: Likewise.
+       * rdi-share/adp.h: Likewise.
+       * rdi-share/adperr.h: Likewise.
+       * rdi-share/angel.h: Likewise.
+       * rdi-share/angel_bytesex.c: Likewise.
+       * rdi-share/angel_bytesex.h: Likewise.
+       * rdi-share/angel_endian.h: Likewise.
+       * rdi-share/ardi.c: Likewise.
+       * rdi-share/ardi.h: Likewise.
+       * rdi-share/armdbg.h: Likewise.
+       * rdi-share/buffers.h: Likewise.
+       * rdi-share/chandefs.h: Likewise.
+       * rdi-share/channels.h: Likewise.
+       * rdi-share/chanpriv.h: Likewise.
+       * rdi-share/configure: Likewise.
+       * rdi-share/configure.in: Likewise.
+       * rdi-share/crc.c: Likewise.
+       * rdi-share/crc.h: Likewise.
+       * rdi-share/dbg_conf.h: Likewise.
+       * rdi-share/dbg_cp.h: Likewise.
+       * rdi-share/dbg_hif.h: Likewise.
+       * rdi-share/dbg_rdi.h: Likewise.
+       * rdi-share/devclnt.h: Likewise.
+       * rdi-share/devices.h: Likewise.
+       * rdi-share/devsw.c: Likewise.
+       * rdi-share/devsw.h: Likewise.
+       * rdi-share/drivers.c: Likewise.
+       * rdi-share/drivers.h: Likewise.
+       * rdi-share/etherdrv.c: Likewise.
+       * rdi-share/ethernet.h: Likewise.
+       * rdi-share/host.h: Likewise.
+       * rdi-share/hostchan.c: Likewise.
+       * rdi-share/hostchan.h: Likewise.
+       * rdi-share/hsys.c: Likewise.
+       * rdi-share/hsys.h: Likewise.
+       * rdi-share/logging.c: Likewise.
+       * rdi-share/logging.h: Likewise.
+       * rdi-share/msgbuild.c: Likewise.
+       * rdi-share/msgbuild.h: Likewise.
+       * rdi-share/params.c: Likewise.
+       * rdi-share/params.h: Likewise.
+       * rdi-share/rx.c: Likewise.
+       * rdi-share/rxtx.h: Likewise.
+       * rdi-share/serdrv.c: Likewise.
+       * rdi-share/serpardr.c: Likewise.
+       * rdi-share/sys.h: Likewise.
+       * rdi-share/tx.c: Likewise.
+       * rdi-share/unixcomm.c: Likewise.
+       * rdi-share/unixcomm.h: Likewise.
+
+2006-01-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
+       Change type of last argument to `gdb_byte *'.
+
+2006-01-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.h (hppa_in_solib_call_trampoline)
+       (hppa_skip_trampoline_code): New prototypes.
+       * hppa-tdep.c (struct insn_pattern): New.
+       (hppa_long_branch_stub, hppa_long_branch_pic_stub)
+       (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
+       here from hppa-linux-tdep.c
+       (HPPA_MAX_INSN_PATTERN_LEN): New define.
+       (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
+       (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
+       functions based on functions removed from hppa-linux-tdep.c.
+       * hppa-linux-tdep.c (hppa_long_branch_stub)
+       (hppa_long_branch_pic_stub, hppa_import_stub)
+       (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
+       (insns_match_pattern_relaxed, hppa_linux_in_dyncall)
+       (hppa_linux_in_solib_call_trampoline)
+       (hppa_linux_skip_trampoline_code): Removed.
+       (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
+       hppa_in_solib_call_trampoline and skip_trampoline_code to
+       hppa_skip_trampoline_code.
+       * hppabsd-tdep.c (hppabsd_init_abi): Set
+       TDEP->in_solib_call_trampoline and skip_trampoline_code.
+
+2006-01-20  Jim Blandy  <jimb@redhat.com>
+
+       * MAINTAINERS: Change my E-mail address.
+
+       * configure.ac: Add -Wno-pointer-sign to list of build warnings.
+       * configure: Regenerated.
+
+2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Overhaul.
+
+2006-01-18  Mark Kettenis  <kettenis@gnu.org>
+
+       Based on a previous patch form Michal Ludvig:
+       * amd64-tdep.c (amd64_sse_type): Remove.
+       (amd64_register_info): Use i386_eflags_type and i386_sse_type
+       where appropriate.
+       (AMD64_NUM_REGS): Use ARRAY_SIZE.
+       (amd64_register_type): Remove code to build amd_sse_type.
+       * i386-tdep.c (i386_eflag_type): New variable.
+       (i386_mmx_type, i386_sse_type): Make global.
+       (i386_init_types): New function.
+       (i386_build_mmx_type, i386_build_sse_type): Remove functions.
+       (i386_register_type): Return i386_eflag_type, i386_sse_type and
+       i386_mmx_type when appropriate.
+       (_initialize_i386_tdep): Call i386_init_types.
+       * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
+       Declare extern.
+
+       Based on a previous patch form Michal Ludvig:
+       * gdbtypes.c (append_flags_type_flag, init_flags_type): New
+       functions.
+       (is_integral_type, rank_one_type, recursive_dump_type): Add
+       support for TYPE_CODE_FLAGS.
+       * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
+       (append_flags_type_field, init_flags_type): New prototypes.
+       * ada-valprint.c (ada_val_print_1): Add support for
+       TYPE_CODE_FLAGS.
+       * c-valprint.c (c_val_print): Likewise.
+       * f-valprint.c (f_val_print): Likewise.
+       * p-valprint.c (pascal_val_print): Likewise.
+       * valprint.c (val_print_type_code_flags): New function.
+       * valprint.h (val_print_type_code_flags): New prototype.
+       * value.c (unpack_long, value_from_longest): Add support for
+       TYPE_CODE_FLAGS.
+
+2006-01-17  Christopher Faylor  <cgf@timesys.com>
+
+       * MAINTAINERS: Very belatedly remove myself from from the list of
+       people caught up in the paper trail.
+
+2006-01-17  Jim Blandy  <jimb@redhat.com>
+
+       * symtab.h (struct general_symbol_info): Use gdb_byte for
+       value.bytes.
+       * stabsread.c (define_symbol): Use gdb_byte for the buffer holding
+       a floating-point constant's value.
+       * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
+       to char *.
+       * findvar.c (read_var_value): Eliminate needless temporary.
+
+       * dwarf2-frame.c (dwarf2_read_section): Update forward declaration
+       to match prior change to dwarf2_read_section's type.
+
+2006-01-16  Paul Gilliam  <pgilliam@us.ibm.com>
+
+       * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
+       * rs6000-tdep.c (insn_changes_sp_or_jumps)
+       (rs6000_in_function_epilogue_p): New functions.
+       (rs6000_gdbarch_init): Set in_function_epilogue_p.
+
+2006-01-17  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
+       (struct line_header, struct partial_die_info, struct dwarf_block):
+       Use gdb_byte for members that refer to Dwarf section contents.
+       (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
+       dwarf_decode_macros, load_comp_unit, load_partial_dies,
+       locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
+       read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
+       read_8_bytes, read_address, read_attribute, read_attribute_value,
+       read_comp_unit, read_comp_unit_head, read_die_and_children,
+       read_die_and_siblings, read_full_die, read_indirect_string,
+       read_initial_length, read_n_bytes, read_offset, read_partial_die,
+       read_signed_leb128, read_string, read_unsigned_leb128,
+       skip_children, skip_leb128, skip_one_die): Same.
+
+2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * complaints.c (stop_whining): Make signed.
+       * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
+
+2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
+       notices.
+
+2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
+       (read_offset): Change BYTES_READ argument to unsigned int.
+       (dwarf2_build_psymtabs_easy, read_comp_unit_head)
+       (create_all_comp_units, dwarf2_get_pc_bounds)
+       (dwarf_decode_line_header, var_decode_location)
+       (dwarf_decode_macros): Change local BYTES_READ variables to
+       unsigned int.
+       (read_indirect_string): Remove obsolete cast.
+
+2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
+       argument.
+       (remote_fileio_func_open, remote_fileio_func_rename)
+       (remote_fileio_func_unlink, remote_fileio_func_stat)
+       (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
+       (remote_fileio_func_system): Cast the arguments to
+       remote_read_bytes and remote_write_bytes.
+       (remote_fileio_func_read, remote_fileio_func_write): Use a
+       gdb_byte buffer.
+       * remote.h (remote_read_bytes, remote_write_bytes): Update
+       prototypes.
+       * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
+       (threadref_to_int): Replace bogus char * cast.
+       (remote_unpack_thread_info_response): Use int for tag.
+       (remote_threads_extra_info, remote_check_symbols): Cast string
+       arguments to hex2bin.
+       (remote_wait): Use a char buffer for packets and a gdb_byte
+       buffer for registers.
+       (remote_async_wait): Likewise.
+       (remote_prepare_to_store, store_register_using_P)
+       (remote_store_registers): Use gdb_byte buffers.
+       (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
+       for MYADDR and char buffers for strings.
+       (remote_xfer_partial): Add casts for string operations on READBUF.
+       (remote_rcmd): Cast strings passed to bin2hex.
+
+2006-01-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * aclocal.m4: Regenerate.
+
+2006-01-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
+       MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
+       MT_COPRO_PSEUDOREG_REGS members.  Adjust MT_NUM_PSEUDO_REGS.
+       (mt_register_name): Lazily synthesize name for coprocessor pseudo
+       array registers.
+       (mt_copro_register_type): New. Broken out of ...
+       (mt_register_type): ... here.  Use it.  Deal with coprocessor
+       pseudo array.
+       (mt_select_coprocessor): New.
+       (mt_pseudo_register_read, mt_pseudo_register_write): Deal with
+       coprocessor pseudo array.
+
+2006-01-16  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * breakpoint.c (insert_breakpoints): Check that a thread exists
+       before inserting thread specific breakpoints.
+
+2006-01-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
+       commit.
+
+       * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
+       * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
+       * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
+       * config/alpha/nm-nbsd.h: Remove file.
+       * config/alpha/nm-fbsd.h: Remove file
+       * config/alpha/nbsd.mh (NAT_FILE): Remove.
+       * config/alpha/fbsd.mh (NAT_FILE): Remove.
+
+2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * macroexp.c (expand): Initialize argc.
+       * stabsread.c (read_type): Handle errors from read_args.
+       (read_args): Return NULL for errors.
+
+2006-01-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of
+       strcmp to compare string to a byte buffer.
+
+2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * printcmd.c (output_command): Always initialize fmt.size.
+       (printf_command): Use gdb_byte.
+       * symfile.c (separate_debug_file_exists): Use gdb_byte.
+       (load_section_callback, read_target_long_array): Likewise.
+       (simple_read_overlay_table, simple_read_overlay_region_table)
+       (simple_overlay_update_1): Correct calls to read_target_long_array.
+       * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *.
+       Also change local pointers.
+       (val_print_string): Use gdb_byte.
+
+2006-01-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * alphafbsd-tdep.c: Include "solib-svr4.h".
+       (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
+       svr4_lp64_fetch_link_map_offsets.
+       * Makefile.in (alphafbsd-tdep.o): Update dependencies.
+       * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and
+       solib-svr4.o.
+       * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
+       and solib-legacy.o.
+       * config/alpha/nm-fbsd.h: Don't include "solib.h".
+
+2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * source.c (_initialize_source): Use add_setshow_integer_cmd.
+
 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * linux-fork.c (delete_fork_command, detach_fork_command): Use
This page took 0.031454 seconds and 4 git commands to generate.