* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4190c4ba6233c0e846343ae3f38a079e4602da30..ea00205acb0da5ec057d0abbcbc3a1d1804434e8 100644 (file)
+2007-05-17  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
+       comment.
+       (mips_o64_push_dummy_call): Reformat a comment.
+
+2007-05-17  Qinwei  <qinwei@sunnorth.com.cn>
+
+       * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
+       (score_prologue_frame_base_address): Return fp to keep gdb print
+       local variables correctly when debugging information is stabs.
+
+       (score_analyze_prologue): For software watchpoint, fetch all the
+       instructions from range [startaddr, pc] once and identify them locally
+       to reduce memory access.
+       (score_malloc_and_get_memblock, score_free_memblock)
+       (score_adjust_memblock_ptr): New functions.
+       (score_fetch_inst): Fetch single instruction or mutiple instructions.
+
+       (score_target_can_use_watch, score_stopped_by_watch)
+       (score_target_insert_watchpoint, score_target_remove_watchpoint)
+       (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
+       New functions for remote & local hw-watchpoint and hw-breakpoint.
+
+2007-05-16  Alfred M. Szmidt  <ams@gnu.org>
+
+       * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
+       declarations as well.
+
+2007-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
+       * config/arm/tm-embed.h: Delete file.
+
+       * arm-tdep.h (arm_software_single_step): Declare.
+       * arm-tdep.c (arm_software_single_step): Make global.
+       (arm_gdbarch_init): Move set_gdbarch_software_single_step call
+       from here to ...
+       * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
+       * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
+       * armobsd-tdep.c (armobsd_init_abi): ... here ...
+       * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
+
+       * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
+       allow defines to be overriden by TM file.
+       (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise.  Also,
+       change default to {0xbe,0xbe}.
+       * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
+       arm_obsd_thumb_be_breakpoint): New global variables.
+       (armobsd_init_abi): Override tdep->thumb_breakpoint and
+       tdep->thumb_breakpoint_size.
+       * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
+       (arm_wince_init_abi): Override tdep->thumb_breakpoint and 
+       tdep->thumb_breakpoint_size.
+
+       * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
+
+2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention removed "set mips stack-arg-size" and "set mips
+       saved-gpreg-size".
+
+       * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
+       (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
+       (mips_stack_argsize_string, mips_stack_argsize): Delete.
+       (mips_abi_regsize): Simplify.
+       (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
+       (mips_n32n64_return_value, mips_o32_push_dummy_call)
+       (mips_o32_return_value, mips_o64_push_dummy_call)
+       (mips_o64_return_value): Propogate constant register sizes.  Use the
+       ABI register size instead of mips_stack_argsize.
+       (mips_dump_tdep): Don't print mips_stack_argsize.
+       (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
+       settings.
+
+2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
+       * config/mips/tm-linux.h: Delete.
+       * mips-linux-tdep.c (mips_svr4_so_ops): New.
+       (mips_linux_in_dynsym_resolve_code): Make static.  Use
+       svr4_in_dynsym_resolve_code.
+       (mips_linux_init_abi): Initialize mips_svr4_so_ops.  Call
+       set_solib_ops.
+       * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
+       global.
+       * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
+       * Makefile.in (mips-linux-tdep.o): Update.
+       * solib.c (set_solib_ops): New.
+       (current_target_so_ops): Update comment.
+       * solib.h (set_solib_ops): New prototype.
+
+2007-05-16  Chris Dearman  <chris@mips.com>
+
+       * printcmd.c (do_examine): Fix typos in a comment.
+
+2007-05-16  Richard Sandiford  <richard@codesourcery.com>
+
+       * configure.ac: Allow sysroots to be relocated under $prefix as
+       well as $exec_prefix.
+       * configure: Regenerate.
+
+2007-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
+       (offsetof): Do not define.
+       (find_stub_with_shl_get): Use numerical value 3 instead of
+       symbolic value TYPE_PROCEDURE.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb_proc_service.h (paddr_t): Delete typedef.
+       * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
+       (ps_xfer_memory): Take a psaddr_t.  Use ps_addr_to_core_addr.
+       (ps_pglobal_lookup): Take a psaddr_t *.  Use core_addr_to_ps_addr.
+       (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
+       * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
+       * Makefile.in (proc-service.o): Update.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (mips-tdep.o): Update.
+       * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
+       unwinder.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
+       instead of store_typed_address.
+       * value.c (pack_long): New.
+       (value_from_longest): Use it.
+       * value.h (pack_long): New prototype.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2-frame.c (read_encoded_value): Correct typo.  Use
+       DW_EH_PE_signed if appropriate.
+
+2007-05-14  Paul Brook  <paul@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
+       function.
+       (dwarf_decode_lines): Check for line info without a file.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
+       as hexadecimal.
+
+2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
+       STRUCTOP_STRUCT.
+       * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
+       STRUCTOP_STRUCT.
+       * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
+
+2007-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (read_sp): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
+
+       * avr-tdep.c (avr_read_sp): Remove.
+       (avr_unwind_sp): New function.
+       (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
+       * mips-tdep.c (mips_read_sp): Remove.
+       (mips_unwind_sp): New function.
+       (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
+       * score-tdep.c (score_read_unsigned_register): Remove.
+       (score_read_sp): Remove.
+       (score_unwind_sp): New function.
+       (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
+
+2007-05-14  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * buildsym.c (start_subfile): Handle absolute pathnames
+       while comparing subfile names.
+
+2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * hppa-hpux-tdep.c: Include "regcache.h".
+       * hppa-linux-tdep.c: Likewise.
+       * hppa-tdep.c: Include "gdb_stdint.h".
+       (find_unwind_entry): Cast host pointer to uintptr_t before passing
+       it to paddr_nz.
+       * Makefile.in: Update dependencies.
+
+2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * blockframe.c: Remove obsolete comments.
+       * alpha-nat.c (fetch_osf_core_registers): Update comment.
+       * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
+       * hppa-tdep.h (enum hppa_regnum): Likewise.
+       * mips-tdep.h: Likewise.
+       * m68hc11-tdep.c: Likewise.
+
+2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * inferior.h (read_sp): Remove prototype.
+       * regcache.c (read_sp): Remove.
+       * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
+       * infcall.c (call_function_by_hand): Likewise.
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
+       of calling read_sp.
+       * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * i386-linux-nat.c (i386_linux_resume): Use regcache functions 
+       instead of read_register and read_register_pid.
+
+       * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE 
+       argument instead of PTID.  Use regcache functions instead of
+       read_register_pid.
+       (ia64_linux_insert_watchpoint): Update call.
+       (ia64_linux_stopped_data_address): Use regcache functions
+       instead of read_register_pid and write_register_pid.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * libunwind-frame.h (struct regcache): Add forward declaration.
+       (libunwind_get_reg_special): Add REGCACHE argument.
+       * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
+       argument.  Pass it to unw_init_remote_p.
+
+       * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
+       libunwind_get_reg_special.
+       (ia64_access_reg): Remove "write" case.
+       (ia64_access_fpreg): Likewise.  Read from next_frame passed
+       as callback argument instead of from current_regcache.
+       (ia64_access_rse_reg): Remove "write" case.  Read from regcache
+       passed as callback argument instead of from current_regcache.
+       (ia64_access_rse_fpreg): New function.
+       (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * NEWS: Mention SPU overlay support.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_frame_unwind_cache): Add comment.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (remove_breakpoint): Do not remove software
+       breakpoints in unmapped overlay sections.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c: Include "observer.h".
+       (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
+       (spu_overlay_data): New variable.
+       (struct spu_overlay_table): New type.
+       (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
+       spu_overlay_new_objfile): New functions.
+       (spu_gdbarch_init): Install spu_overlay_update.
+       (_initialize_spu_tdep): Register spu_overlay_new_objfile, 
+       allocate spu_overlay_data objfile data.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (overlay_update): New gdbarch function.
+       (struct obj_section): Add forward declaration.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+       * symfile.c (simple_overlay_update): Make global.
+       (target_overlay_update): Remove variable.
+       (overlay_is_mapped): Call gdbarch_overlay_update instead of
+       target_overlay_update.
+       (overlay_load_command): Likewise.
+       * symfile.h (struct obj_section): Add forward declaration.
+       (simple_overlay_update): Add prototype.
+
+       * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * observer.sh: Add "struct objfile" forward declaration.
+       * target.h (deprecated_target_new_objfile_hook): Remove.
+       * symfile.c (deprecated_target_new_objfile_hook): Remove.
+       (clear_symtab_users): Call observer_notify_new_objfile.
+       (symbol_file_add_with_addrs_or_offsets): Likewise.
+       * rs6000-nat.c: Include "observer.h".
+       (vmap_ldinfo): Call observer_notify_new_objfile.
+       (xcoff_relocate_core): Likewise.
+       * remote.c (remote_new_objfile_chain): Remove.
+       (remote_new_objfile): Do not call remote_new_objfile_chain.
+       (_initialize_remote): Use observer_attach_new_objfile.
+       * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
+       (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
+       (_initialize_tui_hooks): Use observer_attach_new_objfile.
+       * aix-thread.c: Include "observer.h".
+       (target_new_objfile_chain): Remove.
+       (new_objfile): Do not call target_new_objfile_chain.
+       (_initialize_aix_thread): Use observer_attach_new_objfile.
+       * hpux-thread.c: Include "observer.h"
+       (target_new_objfile_chain): Remove.
+       (hpux_thread_new_objfile): Make static.  Do not call
+       target_new_objfile_chain.
+       (_initialize_hpux_thread): Use observer_attach_new_objfile.
+       * linux-thread-db.c: Include "observer.h".
+       (target_new_objfile_chain): Remove.
+       (thread_db_new_objfile): Do not call target_new_objfile_chain.
+       (_initialize_thread_db): Use observer_attach_new_objfile.
+       * sol-thread.c: Include "observer.h".
+       (target_new_objfile_chain): Remove.
+       (sol_thread_new_objfile): Make static.  Do not call
+       target_new_objfile_chain.
+       (_initialize_sol_thread): Use observer_attach_new_objfile.
+       * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
+       rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
+       $(observer_h).
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (remote_translate_xfer_address): Remove.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * arch-utils.c (generic_remote_translate_xfer_address): Remove.
+       * arch-utils.h (generic_remote_translate_xfer_address): Remove.
+       * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
+       call gdbarch_remote_translate_xfer_address.
+       * frv-tdep.c (frv_gdbarch_init): Do not call
+       set_gdbarch_remote_translate_xfer_address.
+       * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
+       (ia64_gdbarch_init): Do not install it.
+
+2007-05-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * NEWS: Mention change in handling the -tui option.
+
+2007-05-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (enable_thread_event_reporting): Fix comment
+       typo.
+
+2007-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
+       (breakpoint_inserted_here_p): Call it.
+       (software_breakpoint_inserted_here_p): Likewise.
+
+2007-05-10  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
+       (inf_ptrace_fetch_register): Add register_u_offset callback parameters
+       GDBARCH and STORE_P.  Handle callback (CORE_ADDR) -1 return value.
+       (inf_ptrace_store_register): Likewise.
+       (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
+       * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
+
+       * vax-nat.c (vax_register_u_offset): Adapt parameter list.
+
+       * linux-nat.c (linux_trad_target): Adapt parameter list.
+       * linux-nat.h (linux_trad_target): Likewise.
+
+       * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
+
+       * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
+       (mips_linux_cannot_store_register): Likewise.
+       (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
+       Return (CORE_ADDR) -1 for registers that cannot be fetched or
+       stored via ptrace.  Use GDBARCH instead of current_gdbarch.
+       (mips64_linux_register_addr): Likewise.
+       (mips_linux_register_u_offset): Adapt parameter list.  Pass
+       GDBARCH and STORE_P on to mips{64}_linux_register_addr.
+
+       * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+       * config/mips/nm-linux.h: Delete file.
+
+2007-05-10  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * remote.c (remote_detach): Error out if remote can't detach.
+
+2007-05-10  Luis Machado  <luisgpm@br.ibm.com>
+
+       * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
+       instruction's opcode in the "opcode" variable and declares new
+       variable "closing_insn".
+
+2007-05-10  Chris Dearman  <chris@mips.com>
+            Maciej W. Rozycki  <macro@mips.com>
+
+       * cli/cli-setshow.c (do_setshow_command): Remove trailing
+       whitespace when setting a var_filename.
+
+2007-05-09  Bob Wilson  <bob.wilson@acm.org>
+       
+       * main.c (captured_main): Recognize -tui option and print an error
+       message when the TUI is not configured.
+       
+2007-05-09  Andreas Schwab  <schwab@suse.de>
+
+       * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
+       set removed members.
+       (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
+
+2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (deprecated_store_struct_return): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * frv-tdep.c (frv_store_struct_return): Remove.
+       (frv_gdbarch_init): Do not install it.
+
+2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
+       * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
+       * config/nm-linux.h (USE_PROC_FS): Do not undefine.
+
+2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-linux-nat.c: Include "gdb_stdint.h".
+       (fetch_ppc_register): Use uint64_t instead of unsigned long long.
+       (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
+       (fetch_ppc_memory, store_ppc_memory): Fix coding style.
+       (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
+       (spu_child_wait): Mark up string for translation.
+
+2007-05-08  Paul Gilliam  <pgilliam@us.ibm.com>
+           Luis Machado  <luisgpm@br.ibm.com>
+
+       * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
+       STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
+       BC_INSTRUCTION): Define.
+       (deal_with_atomic_sequence): New function.
+       (rs6000_software_single_step): Call deal_with_atomic_sequence.
+       (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
+       gdbarch_software_single_step routine.
+
+2007-05-07  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
+       store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
+       parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
+       spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
+       spu_child_post_attach, spu_fetch_inferior_registers,
+       spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
+       memory addresses as ULONGEST, not CORE_ADDR.
+
+2007-05-07  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh: Add skip_permanent_breakpoint callback.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+       * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
+       (resume): Call gdbarch_skip_permanent_breakpoint instead of
+       SKIP_PERMANENT_BREAKPOINT.  Inline default case.
+
+       * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
+       Add REGCACHE argument.  Use it instead of read/write_register.
+       (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
+
+       * config/pa/tm-hppah.h: Delete file.
+       * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
+       * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
+
+2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
+       * NEWS: Mention improved C++ thunk support.
+       * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
+       * cp-abi.c (cplus_skip_trampoline): New.
+       * cp-abi.h (cplus_skip_trampoline): New prototype.
+       (struct cp_abi_ops): Add skip_trampoline member.
+       * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
+       (init_gnuv3_ops): Set skip_trampoline.
+
+2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * rs6000-tdep.c (struct frame_extra_info): Delete.
+
+2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c: Update some FIXME comments.
+       (thread_db_xfer_partial): Delete.
+       (init_thread_db_ops): Do not set to_xfer_partial.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * inftarg.c, infptrace.c: Remove files.
+       * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
+       (inftarg.o, infptrace.o): Remove rules.
+       * gdbcore.h (register_addr): Remove prototype.
+       * inferior.h (kill_inferior, store_inferior_registers,
+       fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
+       call_ptrace, pre_fork_inferior): Remove prototypes.
+       * target.h (child_xfer_memory, child_pid_to_exec_file, 
+       child_core_file_to_sym_file, child_post_attach,
+       child_post_startup_inferior, child_acknowledge_created_inferior,
+       child_insert_fork_catchpoint, child_remove_fork_catchpoint,
+       child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
+       child_insert_exec_catchpoint, child_remove_exec_catchpoint,
+       child_follow_fork, child_reported_exec_events_per_exec_call,
+       child_has_exited, child_thread_alive): Remove prototypes.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
+       (sparc_store_inferior_registers): Likewise.
+       * sparc-nat.c (fetch_inferior_registers): Rename to ...
+       (sparc_fetch_inferior_registers): ... this.
+       (store_inferior_registers): Rename to ...
+       (sparc_store_inferior_registers): ... this.
+       (sparc_target): Update callback names.
+       * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. 
+       * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. 
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * linux-nat.c (child_post_attach): Rename to ...
+       (linux_child_post_attach): ... this.  Make static.
+       (child_follow_fork): Rename to ...
+       (linux_child_follow_fork): ... this.  Make static.
+       (child_insert_fork_catchpoint): Rename to ...
+       (linux_child_insert_fork_catchpoint): ... this.  Make static.
+       (child_insert_vfork_catchpoint): Rename to ...
+       (linux_child_insert_vfork_catchpoint): ... this.  Make static.
+       (child_insert_exec_catchpoint): Rename to ...
+       (linux_child_insert_exec_catchpoint): ... this.  Make static.
+       (child_pid_to_exec_file): Rename to ...
+       (linux_child_pid_to_exec_file): ... this.  Make static.
+       Add prototype.
+       (linux_handle_extended_wait): Update call.
+       (linux_xfer_partial): Update callback routine names.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.host (alpha*-*-osf[12]*): Remove support.
+       * NEWS: Mention removed configurations.
+
+       * config/alpha/alpha-osf1.mh: Delete file.
+       * config/alpha/alpha-osf2.mh: Delete file.
+       * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
+       and infptrace.o.
+       * config/alpha/nm-osf.h: Delete file.
+       * config/alpha/nm-osf2.h: Delete file.
+       * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
+       (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
+       (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
+
+       * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
+       (register_addr, kernel_u_size): Remove.
+       Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * regcache.c (regcache_invalidate): New function.
+       (register_cached): Remove.
+       (set_register_cached): Remove.
+       (deprecated_registers_fetched): Remove.
+       (registers_changed): Use regcache_invalidate instead
+       of set_register_cached.
+       (regcache_raw_read): Update comment.
+
+       * regcache.h (regcache_invalidate): Add prototype.
+       (register_cached): Remove.
+       (set_register_cached): Remove.
+       (deprecated_registers_fetched): Remove.
+
+       * findvar.c (value_of_register): Do not call register_cached.
+       * frame.c (frame_register): Likewise.
+       * tui/tui-regs.c (tui_get_register): Likewise.
+
+       * remote.c (fetch_register_using_p): Do not call set_register_cached.
+       (process_g_packet): Likewise.
+       (remote_fetch_registers): Likewise.
+       * remote-sim.c (gdbsim_fetch_register): Likewise.
+       * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
+       by regcache_invalidate.
+       (mt_pseudo_register_write): Likewise.
+       * sh-tdep.c (sh_pseudo_register_write): Likewise.
+
+       * corelow.c (get_core_registers): Replace deprecated_registers_fetched
+       call by loop over regcache_raw_supply (..., NULL).
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target.h (struct target_ops): Add REGCACHE parameter to
+       to_prepare_to_store.
+       (target_prepare_to_store): Likewise.
+       * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
+       (update_current_target): Adapt prepare_to_store de_fault rule.
+
+       * regcache.c (regcache_raw_write): Pass regcache to
+       target_prepare_to_store.
+
+       * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
+       Do not call CHILD_PREPARE_TO_STORE.
+       * gnu-nat.c (gnu_prepare_to_store): Likewise.
+       * procfs.c (procfs_prepare_to_store): Likewise.
+
+       * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
+       * go32-nat.c (go32_prepare_to_store): Likewise.
+       * monitor.c (monitor_prepare_to_store): Likewise.
+       * nto-procfs.c (procfs_prepare_to_store): Likewise.
+       * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
+       * remote-mips.c (mips_prepare_to_store): Likewise.
+       * remote-sim.c (gdbsim_prepare_to_store): Likewise.
+       * win32-nat.c (win32_prepare_to_store): Likewise.
+
+       * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
+       Use it instead of current_regcache.
+
+       * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
+       parameter.  Pass it on to next target.
+       * sol-thread.c (sol_thread_prepare_to_store): Likewise.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target.h (struct regcache): Add forward declaration.
+       (struct target_ops): Add REGCACHE parameter to to_fetch_registers
+       and to_store_registers target operations.
+       (target_fetch_registers, target_store_registers): Update.
+
+       * regcache.c (regcache_raw_read): Replace register_cached by
+       regcache_valid_p.  Pass regcache to target_fetch_registers.
+       (regcache_raw_write): Pass regcache to target_store_registers.
+
+       * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
+       store_regs, store_wmmx_regs): Replace register_cached by
+       regcache_valid_p.
+
+       * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
+       to target_fetch_registers calls.
+       * corelow.c (core_open): Likewise.
+       * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
+       * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
+       ps_lsetfpregs): Likewise.
+       * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
+       ps_lsetfpregs): Likewise.
+       * win32-nat.c (win32_resume): Likewise.
+       * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
+       to target_store_registers call.
+       * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
+
+       * inferior.h (store_inferior_registers): Update prototype.
+       (fetch_inferior_registers): Likewise.
+       * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
+       * mips-linux-nat.c (super_fetch_registers, super_store_registers):
+       Update function pointer signatures.
+
+       * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
+       use it instead of current_regcache, update calls.
+       (aix_thread_store_registers): Likewise.
+       * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
+       (alphabsd_store_inferior_registers): Likewise.
+       * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
+       (amd64bsd_store_inferior_registers): Likewise.
+       * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
+       (amd64_linux_store_inferior_registers): Likewise.
+       * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
+       store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
+       fetch_wmmx_regs, store_wmmx_regs): Likewise.
+       (arm_linux_fetch_inferior_registers): Likewise.
+       (arm_linux_store_inferior_registers): Likewise.
+       * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
+       fetch_fp_regs, armnbsd_fetch_registers): Likewise.
+       (store_register, store_regs, store_fp_register, store_fp_regs,
+       armnbsd_store_registers): Likewise.
+       * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
+       * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
+       (bsd_uthread_store_registers): Likewise.
+       * corelow.c (get_core_registers): Likewise.
+       * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
+       go32_store_registers): Likewise.
+       * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
+       (hppabsd_store_registers): Likewise.
+       * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
+       (hppa_hpux_fetch_inferior_registers): Likewise.
+       (hppa_hpux_store_register): Likewise.
+       (hppa_hpux_store_inferior_registers): Likewise.
+       * hppa-linux-nat.c (fetch_register, store_register): Likewise.
+       (hppa_linux_fetch_inferior_registers): Likewise.
+       (hppa_linux_store_inferior_registers): Likewise.
+       * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
+       (hpux_thread_store_registers): Likewise.
+       * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
+       (i386bsd_store_inferior_registers): Likewise.
+       * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
+       gnu_store_registers): Likewise.
+       * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
+       store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
+       Likewise.
+       (i386_linux_fetch_inferior_registers): Likewise.
+       (i386_linux_store_inferior_registers): Likewise.
+       * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
+       (ia64_linux_fetch_registers): Likewise.
+       (ia64_linux_store_register): Likewise.
+       (ia64_linux_store_registers): Likewise.
+       * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
+       (inf_child_store_inferior_registers): Likewise.
+       * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
+       (inf_ptrace_fetch_registers): Likewise.
+       (inf_ptrace_store_register): Likewise.
+       (inf_ptrace_store_registers): Likewise.
+       * infptrace.c (fetch_register, store_register): Likewise.
+       (fetch_inferior_registers, store_inferior_registers): Likewise.
+       * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
+       (m32r_linux_fetch_inferior_registers): Likewise.
+       (m32r_linux_store_inferior_registers): Likewise.
+       * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
+       (m68kbsd_store_inferior_registers): Likewise.
+       * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
+       store_register, old_store_inferior_registers, fetch_regs, store_regs,
+       fetch_fpregs, store_fpregs): Likewise.
+       (m68k_linux_fetch_inferior_registers): Likewise.
+       (m68k_linux_store_inferior_registers): Likewise.
+       * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
+       (m88kbsd_store_inferior_registers): Likewise.
+       * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
+       (mips64obsd_store_inferior_registers): Likewise.
+       * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
+       (mips64_linux_regsets_store_registers): Likewise.
+       (mips64_linux_fetch_registers): Likewise.
+       (mips64_linux_store_registers): Likewise.
+       * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
+       (mipsnbsd_store_inferior_registers): Likewise.
+       * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
+       (monitor_fetch_registers, monitor_store_registers): Likewise.
+       * nto-procfs.c (procfs_fetch_registers): Likewise.
+       (procfs_store_registers): Likewise.
+       * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
+       fetch_register, supply_vrregset, fetch_altivec_registers,
+       fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
+       (store_altivec_register, store_spe_register, store_register, 
+       fill_vrregset, store_altivec_registers, store_ppc_registers,
+       ppc_linux_store_inferior_registers): Likewise.
+       * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
+       (ppcnbsd_store_inferior_registers): Likewise.
+       * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
+       (ppcobsd_store_registers): Likewise.
+       * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
+       * remote.c (fetch_register_using_p, process_g_packet,
+       fetch_registers_using_g, remote_fetch_registers): Likewise.
+       (store_register_using_P, store_registers_using_G, 
+       remote_store_registers): Likewise.
+       * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
+       m32r_store_register, m32r_store_register): Likewise.
+       * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
+       * remote-sim.c (gdbsim_fetch_register): Likewise.
+       (gdbsim_store_register): Likewise.
+       * rs6000-nat.c (fetch_register, store_register): Likewise.
+       (rs6000_fetch_inferior_registers): Likewise.
+       (rs6000_store_inferior_registers): Likewise.
+       * s390-nat.c (fetch_regs, store_regs): Likewise.
+       (fetch_fpregs, store_fpregs): Likewise.
+       (s390_linux_fetch_inferior_registers): Likewise.
+       (s390_linux_store_inferior_registers): Likewise.
+       * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
+       (shnbsd_store_inferior_registers): Likewise.
+       * sol-thread.c (sol_thread_fetch_registers): Likewise.
+       (sol_thread_store_registers): Likewise.
+       * sparc-nat.c (fetch_inferior_registers): Likewise.
+       (store_inferior_registers): Likewise.
+       * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
+       (spu_store_inferior_registers): Likewise.
+       * target.c (debug_print_register): Likewise.
+       (debug_to_fetch_registers, debug_to_store_registers): Likewise.
+       * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
+       (vaxbsd_store_inferior_registers): Likewise.
+       * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
+       (win32_fetch_inferior_registers): Likewise.
+       (win32_store_inferior_registers): Likewise.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbcore.h (struct regcache): Add forward declaration.
+       (struct core_fns): Add REGCACHE argument to core_read_registers
+       callback.
+       * corelow.c (get_core_register_section): Add REGCACHE argument,
+       use it instead of current_regcache, pass it to core_read_registers
+       callback.
+       (get_core_registers): Add current_regcache as parameter to
+       get_core_register_section calls.
+
+       * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
+       use it instead of current_regcache.
+       * armnbsd-nat.c (fetch_core_registers): Likewise.
+       (fetch_elfcore_registers): Likewise.
+       * core-regset.c (fetch_core_registers): Likewise.
+       * cris-tdep.c (fetch_core_registers): Likewise.
+       * irix5-nat.c (fetch_core_registers): Likewise.
+       * m68klinux-nat.c (fetch_core_registers): Likewise.
+       * mips-linux-tdep.c (fetch_core_registers): Likewise.
+       * win32-nat.c (fetch_elf_core_registers): Likewise.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gregset.h (struct regcache): Add forward declaration.
+       (supply_gregset): Add REGCACHE parameter, make GREGS const.
+       (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
+       (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
+       (fill_gregset): Add REGCACHE parameter.
+       (fill_fpregset): Likewise.
+       (fill_fpxregset): Likewise.
+
+       Update all definitions accordingly:
+       * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
+       arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
+       i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, 
+       m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
+       s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c 
+       (supply_gregset): Add REGCACHE parameter, use it instead of 
+       current_regcache.  Make GREGSETP parameter const, adapt casts.
+       (supply_fpregset): Add REGCACHE parameter, use it instead of
+       current_regcache.  Make FPREGSETP parameter const, adapt casts.
+       (fill_gregset): Add REGCACHE parameter, use it instead of
+       current_regcache.
+       (fill_fpregset): Likewise.
+
+       Update all callers to pass in current_regcache as the new argument:
+       * core-regset.c: Include "regcache.h".
+       (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
+       * procfs.c: Include "regcache.h".
+       (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
+       (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
+       (procfs_do_thread_registers): Likewise.
+       (procfs_make_note_section): Likewise.
+       * proc-service.c: Include "regcache.h".
+       (ps_lgetregs): Update fill_gregset call.
+       (ps_lsetregs): Update supply_gregset call.
+       (ps_lgetfpregs): Update fill_fpregset call.
+       (ps_lsetfpregs): Update supply_fpregset call.
+       * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
+       supply_fpregset calls.
+       (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
+       (ps_lgetregs): Update fill_gregset call.
+       (ps_lsetregs): Update supply_gregset call.
+       (ps_lgetfpregs): Update fill_fpregset call.
+       (ps_lsetfpregs): Update supply_fpregset call.
+       
+       * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
+       fill_fpregset, and fill_fpxregset calls.
+       * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
+       (store_regs): Update fill_gregset call.
+       (fetch_fpregs): Update supply_fpregset call.
+       (store_fpregs): Update fill_fpregset call.
+       (fetch_fpxregs): Update supply_fpxregset call.
+       (store_fpxregs): Update fill_fpxregset call.
+       * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
+       (store_regs): Update fill_gregset call.
+       * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
+       (store_regs): Update fill_gregset call.
+       (fetch_fpregs): Update supply_fpregset call.
+       (store_fpregs): Update fill_fpregset call.
+       (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
+       * s390-nat.c (fetch_regs): Update supply_gregset call.
+       (store_regs): Update fill_gregset call.
+       (fetch_fpregs): Update supply_fpregset call.
+       (store_fpregs): Update fill_fpregset call.
+
+       * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
+       dependencies.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
+       it instead of current_regcache.
+       (parse_register_dump): Add REGCACHE parameter, pass it to 
+       supply_register callback.
+       (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
+       parse_register_dump.
+       (monitor_dump_regs): Add REGCACHE parameter, pass it to
+       parse_register_dump and dumpregs callback.
+       (monitor_wait): Pass current_regcache to parse_register_dump and
+       monitor_dump_regs.
+       (monitor_fetch_register): Pass current_regcache to
+       monitor_supply_register.
+       (monitor_fetch_registers): Pass current_regcache to
+       monitor_dump_regs.
+       * monitor.h (struct monitor_ops): Add REGCACHE parameter to
+       supply_register and dumpregs callbacks.
+       (monitor_supply_register, monitor_dump_reg_block): Update
+       prototypes.
+       * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter.  Pass
+       it to monitor_supply_register.
+       * dink32-rom.c (dink32_supply_register): Likewise.
+       * ppcbug-rom.c (ppcbug_supply_register): Likewise.
+       * m32r-rom.c (m32r_supply_register): Likewise.  Also, use REGCACHE
+       instead of current_regcache.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
+       Add REGCACHE parameter.  Use it instead of current_regcache.
+       (i386nto_supply_regset): Add REGCACHE parameter, pass it to
+       i386nto_supply_gregset and i386nto_supply_fpregset.
+       (i386nto_regset_fill): Add REGCACHE parameter; use it instead
+       of current_regcache.
+
+       * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
+       nto_supply_ helper functions.
+       (procfs_store_registers): Pass current_regcache to nto_regset_fill.
+
+       * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
+
+       * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
+       supply_greget, supply_fpregset, supply_altregset, supply_regset,
+       and regset_fill member function pointers.
+       (nto_dummy_supply_regset): Adapt prototype.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
+       instead of current_regcache.  Make REGS const.
+       (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
+       * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
+       prototypes.
+       * shnbsd-nat.c: Include "regcache.h".
+       (shnbsd_fetch_inferior_registers): Pass current_regcache to
+       shnbsd_supply_reg.
+       (shnbsd_store_inferior_registers): Pass current_regcache to
+       shnbsd_fill_reg.
+       * Makefile.in (shbsd-nat.o): Update dependencies.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter.  Use it
+       instead of current_regcache.
+       (mips_supply_gregset): Likewise.  Pass REGCACHE to supply_32bit_reg.
+       Make GREGSETP const, remove superfluous casts.
+       (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
+       (mips_supply_fpregset): Likewise.  Make FPREGSETP const, remove 
+       superfluous casts.
+       (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
+       (supply_64bit_reg): Likewise
+       (mips64_supply_gregset): Likewise.  Pass REGCACHE to supply_64bit_reg.
+       Make GREGSETP const, adapt casts accordingly.
+       (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
+       (mips64_supply_fpregset): Likewise.  Make FPREGSET const, adapt
+       casts accordingly.
+       (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
+       (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
+       helper routines.
+       * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
+       mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
+       mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
+       Adapt prototypes.
+       * mips-linux-nat.c: Include "regcache.h".
+       (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
+       current_regcache to mips{64}_(supply|fill)_ helper routines.
+       (mips64_linux_regsets_fetch_registers): Likewise.
+       (mips64_linux_regsets_store_registers): Likewise.
+
+       * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
+       REGCACHE argument; replace current_regcache.  Make REGS const.
+       (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
+       replace current_regcache.
+       * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
+       mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
+       * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
+       mipsnbsd_store_inferior_registers): Pass current_regcache to
+       mipsnbsd_(supply|fill)_... helper routines.
+
+       * Makefile.in (mips-linux-nat.o): Update dependencies.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
+       * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
+       * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
+       i387_fill_fsave and i387_fill_fxsave calls by inline copies.
+       * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
+       * i386gnu-nat.c (store_fpregs): Likewise.
+       * i386v4-nat.c (fill_fpregset): Likewise.
+       * go32-nat.c (store_register, go32_store_registers): Likewise.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * cris-tdep.c (supply_gregset): Rename to ...
+       (cris_supply_gregset): ... this.  Add REGCACHE parameter.  Use it
+       instead of current_regcache.
+       (fetch_core_registers): Update call.  Pass current_regcache.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * arnmnbsd-nat.c (supply_gregset): Rename to ...
+       (arm_supply_gregset): ... this.  Add REGCACHE parameter.
+       Use it instead of current_regcache.
+       (supply_fparegset): Rename to ...
+       (arm_supply_fparegset): ... this.  Add REGCACHE parameter.
+       Use it instead of current_regcache.
+       (fetch_regs, fetch_fp_regs): Update calls.  Pass current_regcache.
+       (fetch_core_registers, fetch_elfcore_registers): Likewise.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
+       alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
+       use it instead of current_regcache.
+       * alpha-tdep.h (struct regcache): Add forward declaration.
+       (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
+       alpha_fill_fp_regs): Update prototypes.
+
+       * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
+       fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
+       * alpha-linux-nat.c: Include "regcache.h".
+       (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
+       current_regcache to alpha_supply/fill_ routines.
+
+       * alphabsd-tdep.c: Include "regcache.h".
+       (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
+       pass it to alpha_supply_ routines.  Make REGS const.
+       (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
+       pass it to alpha_fill_ routines.
+       * alphabsd-tdep.h (struct regcache): Add forward declaration.
+       (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
+       alphabsd_fill_fpreg): Update prototypes.
+
+       * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
+       fill_fpregset, alphabsd_fetch_inferior_registers,
+       alphabsd_store_inferior_registers): Pass current_regcache to
+       alphabsd_supply/fill_ routines.
+
+       * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
+       dependencies.
+
+2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
+       supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
+       instead of current_regcache.
+       (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
+       REGCACHE parameter, pass it to supply_ routines.
+       (aix_thread_fetch_registers): Pass current_regcache to
+       fetch_regs_user_thread and fetch_regs_kernel_thread.
+
+       (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
+       Add REGCACHE parameter, use it instead of current_regcache.
+       Call regcache_valid_p instead of register_cached.
+       (store_regs_user_thread, store_regs_kernel_thread): Likewise.
+       Also, pass REGCACHE to fill_ routines.
+       (aix_thread_store_registers): Pass current_regcache to
+       store_regs_user_thread and store_regs_kernel_thread.
+
 2007-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * m32r-linux-nat.c (supply_gregset): Do not modify contents
This page took 0.059075 seconds and 4 git commands to generate.