+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
+ pointed to by GREGSETP.
+
+2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
+ of regcache_raw_read_signed.
+ (fill_fpregset): Use regcache_raw_collect instead of
+ regcache_raw_read.
+
+2007-05-03 Kevin Buettner <kevinb@redhat.com>
+
+ * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
+ point arguments, test explicitly for use of the EABI32 ABI
+ instead of inferring this condition from tests on register
+ sizes.
+
+2007-05-03 Kevin Buettner <kevinb@redhat.com>
+
+ * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
+ prior to allocating its location.
+
+2007-05-02 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
+ based on mips_abi_regsize() whose result is known in advance.
+ (mips_o64_push_dummy_call): Likewise.
+
+2007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
+ * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
+
+ * mips-linux-nat.c: Include "gregset.h".
+ (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
+ from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
+ * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
+ fill_fpregset): Move to mips-linux-nat.c.
+
+ * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
+
+2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * regcache.c (deprecated_read_register_gen): Remove, inline ...
+ (read_register): ... here.
+ (deprecated_write_register_gen): Remove, inline ...
+ (write_register): ... here.
+ * regcache.h (deprecated_read_register_gen): Remove prototype.
+ (deprecated_write_register_gen): Likewise.
+
+ * remote-sim.c (gdbsim_store_register): Replace call to
+ deprecated_read_register_gen with regcache_cooked_read.
+ * target.c (debug_print_register): Replace calls to
+ deprecated_read_register_gen and read_register with
+ regcache_cooked_read.
+
+2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * hpux-thread.c (hpux_thread_store_registers): Use
+ regcache_raw_collect, not regcache_raw_read.
+ * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
+ not regcache_raw_write.
+
+2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh: Remove deprecated_register_byte.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * arch-utils.h (generic_register_size, generic_register_byte): Remove.
+ * arch-utils.c (generic_register_size, generic_register_byte): Remove.
+
+ * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
+ * regcache.c (regcache_valid_p): Allow to query cooked registers in
+ read-only register caches. Make REGCACHE parameter const.
+ (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
+
+ * mi/mi-main.c (old_regs): Remove.
+ (mi_setup_architecture_data, _initialize_mi_main): Remove.
+ (register_changed_p): Reimplement to compare two register caches.
+ (mi_cmd_data_list_changed_registers): Update caller.
+ * mi/mi-main.h (mi_setup_architecture_data): Remove.
+ * mi/mi-interp.c (mi_interpreter_init): Do not call
+ mi_setup_architecture_data.
+
+2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
+ inline definition at the places the macros are used.
+ * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
+
+2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
+ "gdb_string.h".
+ (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
+ (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
+ (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
+ (rs6000_aix_regset_from_core_section): New function.
+ (rs6000_aix_init_osabi): Register it.
+ (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
+ sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
+ * rs6000-nat.c (CoreRegs): Do not define type.
+ (fetch_core_registers, rs6000_core_fns): Remove.
+ (_initialize_core_rs6000): Do not register it. Rename to ...
+ (_initialize_rs6000_nat): ... this.
+ * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
+
+2007-04-27 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2expr.c (unsigned_address_type): Add forward declaration.
+ (dwarf2_read_address): Sign extend return address as required by
+ target architecture.
+
+2007-04-27 Kevin Buettner <kevinb@redhat.com>
+
+ * solib-frv.c (lm_base): Bail out if the main executable has
+ not been relocated.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
+ of FPCR register in fpregset.
+
+2007-04-27 Maciej W. Rozycki <macro@mips.com>
+
+ * Makefile.in (gdbtk-wrapper.o): Update dependencies.
+ (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
+ * rs6000-nat.c (rs6000_wait): New function.
+ (_initialize_core_rs6000): Install it as to_wait target method.
+ * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
+ * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
+ * rs6000-nat.c (super_create_inferior): New variable.
+ (rs6000_create_inferior): Make static. Adapt argument list. Call
+ original version of create_inferior via super_create_inferior.
+ (_initialize_core_rs6000): Install to_create_inferior target method.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * aix-thread.c (aix_thread_xfer_memory): Replace by ...
+ (aix_thread_xfer_partial): ... this.
+ (init_aix_thread_ops): Install to_xfer_partial instead
+ of deprecated_xfer_memory target method.
+
+ * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
+ and inftarg.o, add inf-ptrace.o.
+ * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
+ CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
+ * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
+ (fetch_inferior_registers): Rename to ...
+ (rs6000_fetch_inferior_registers): ... this. Make static.
+ (store_inferior_registers): Rename to ...
+ (rs6000_store_inferior_registers): ... this. Make static.
+ (read_word, child_xfer_memory): Remove.
+ (rs6000_xfer_partial): New function.
+ (kernel_u_size): Remove.
+ (_initialize_core_rs6000): Add inf_ptrace-based target.
+ * Makefile.in (rs6000-nat.o): Update dependencies.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * inf-ptrace.c: Include "gdb_stdint.h".
+ (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
+ intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
+ (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
+ before casting CORE_ADDR to PTRACE_TYPE_ARG3.
+ (inf_ptrace_store_register): Likewise.
+ * Makefile.in (inf-ptrace.o): Update dependencies.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
+ * configure.tgt (rs6000-*-*): Likewise.
+ * config/rs6000/aix4.mh: Delete file.
+ * config/rs6000/aix4.mt: Delete file.
+ * config/rs6000/rs6000.mh: Delete file.
+ * config/rs6000/rs6000.mt: Delete file.
+
+ * config/powerpc/nm-aix.h: Delete file.
+ * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
+ Remove obsolete part of comment.
+ (store_regs_user_thread): Use uint32_t temporaries when calling
+ fill_sprs32.
+ (store_regs_kernel_thread): Likewise. Add assertion to verify
+ correct size of struct ptsprs members.
+ (aix_thread_xfer_memory): Fix type of myaddr.
+ (aix_thread_extra_thread_info): Fix compiler warning.
+ * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
+ (fetch_register, store_register): Adapt callers.
+
+2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * vec.h (vec_free): Rename to vec_free_. Adapt users.
+
+2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
+ and "regcache.h".
+ (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
+ (alpha_linux_gregset, alpha_linux_fpregset): New variables.
+ (alpha_linux_regset_from_core_section): New function.
+ (alpha_linux_init_abi): Install it.
+ * alpha-linux-nat.c: Do not include "gdbcore.h". Include
+ "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
+ <sys/procfs.h>, and "gregset.h".
+ (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
+ Move from config/alpha/nm-linux.h.
+ (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
+ from alpha-nat.c.
+ (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
+ * alpha-nat.c: Remove #ifdef __linux__ section.
+ (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
+ (_initialize_core_alpha): Do not register alpha_elf_core_fns.
+ (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
+ (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
+ * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ (NATDEPFILES): Remove alpha-nat.o.
+ * config/alpha/nm-linux.h: Delete file.
+ * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
+ * Makefile.in (alpha-linux-nat.o): Update dependencies.
+ (alpha-linux-tdep.o): Likewise.
+
+2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * mips-linux-nat.c: No longer include "gdbcore.h".
+ (mips_linux_register_addr): Move from mips-linux-tdep.c.
+ (mips64_linux_register_addr): Likewise.
+ (mips_linux_register_u_offset): Call mips_linux_register_addr or
+ mips64_linux_register_addr instead of register_addr.
+ * mips-linux-tdep.c (mips_linux_register_addr,
+ mips64_linux_register_addr): Move to mips-linux-nat.c.
+ (register_addr): Remove.
+ (register_addr_data, init_register_addr_data): Remove.
+ (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
+ (set_mips_linux_register_addr): Remove.
+ (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
+ * Makefile.in (mips-linux-nat.o): Update dependencies.
+
+2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * linux-nat.c (linux_register_u_offset): Remove.
+ (linux_target_install_ops): New function.
+ (linux_target): Use it.
+ (linux_trad_target): New function.
+ * linux-nat.h (linux_trad_target): Declare.
+
+ * alpha-linux-nat.c: Include "gdbcore.h".
+ (alpha_linux_register_u_offset): New function.
+ (_initialize_alpha_linux_nat): Use linux_trad_target.
+
+ * mips-linux-nat.c: Include "gdbcore.h".
+ (mips_linux_register_u_offset): New function.
+ (_initialize_mips_linux_nat): Use linux_trad_target.
+
+ * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/arm/nm-linux.h: Delete file.
+
+ * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
+ * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
+
+ * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/ia64/nm-linux.h: Delete file.
+
+ * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/m32r/nm-linux.h: Delete file.
+
+ * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/m68k/nm-linux.h: Delete file.
+
+ * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/pa/nm-linux.h: Delete file.
+
+ * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
+ * config/powerpc/nm-linux.h: Delete file.
+
+ * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/s390/nm-linux.h: Delete file.
+
+ * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
+ * config/sparc/linux64.mh (NAT_FILE): Likewise.
+ * config/sparc/nm-linux.h: Delete file.
+
+ * Makefile.in (alpha-linux-nat.o): Update dependencies.
+ (mips-linux-nat.o): Likewise.
+
+2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * core-aout.c: Delete file.
+ * Makefile.in (ALLDEPFILES): Remove core-aout.c.
+ (core-aout.o): Delete rule.
+ * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
+
+ * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
+
+ * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
+ * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
+ KERNEL_U_ADDR): Remove.
+
+ * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
+ (cannot_fetch_register, cannot_store_register): Remove.
+ (fetch_register): Inline cannot_fetch_register and register_addr.
+ (store_register): Inline cannot_store_register and register_addr.
+ * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
+ * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
+ REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
+ Remove.
+
+ * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
+ (fetch_register): Inline register_addr.
+ (store_register): Inline register_addr.
+ * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
+ * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
+ U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
+
+ * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
+ * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
+ REGISTER_U_ADDR): Remove.
+
+ * hppa-linux-nat.c (register_addr): Rename to ...
+ (hppa_linux_register_addr): ... this. Make static.
+ (fetch_register, store_register): Adapt callers.
+ * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
+
+ * ppc-linux-nat.c (kernel_u_size): Remove.
+ * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
+
+ * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
+ * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
+ (NAT_FILE): Remove.
+ * config/vax/nm-vax.h: Delete file.
+
+2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
+
+ * MAINTAINERS (Write After Approval): Add myself.
+
+2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
+
+ * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
+ * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
+ (m68k_linux_sigcontext_reg_offset): Fix typo.
+ (target_is_uclinux): New.
+ (m68k_linux_inferior_created): New.
+ (m68k_linux_get_sigtramp_info): Check for uClinux or
+ normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
+ uClinux.
+ (_initialize_m68k_linux_tdep): Register
+ m68k_linux_inferior_created.
+
+2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * win32-nat.c (win32_detach): Remove delete_command call.
+ Resume inferior with win32_resume instead of win32_continue.
+
+2007-04-19 Jerome Guitton <guitton@adacore.com>
+
+ * ser-mingw.c (fd_is_file): New function.
+ (file_select_thread): New function.
+ (ser_console_wait_handle): Add special handling for files.
+
+2007-04-18 Denis Pilat <denis.pilat@st.com>
+
+ * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
+ when missing from DW_TAG_subrange_type. Remove the handling of null
+ return from die_type.
+
+2007-04-18 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
+ change to rearrange some brackets.
+ (mips_n32n64_push_dummy_call): Likewise.
+ (mips_o32_push_dummy_call): Likewise.
+ (mips_o64_push_dummy_call): Likewise.
+
+2007-04-18 Denis Pilat <denis.pilat@st.com>
+
+ * infcmd.c (post_create_inferior): Start with a call to
+ target_terminal_ours.
+
+2007-04-17 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
+ brackets.
+ (mips_n32n64_push_dummy_call): Likewise. Reformat some
+ expressions.
+ (mips_o32_push_dummy_call): Likewise.
+ (mips_o64_push_dummy_call): Likewise.
+
+2007-04-17 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
+ comment.
+
+2007-04-17 Maciej W. Rozycki <macro@mips.com>
+
+ * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
+ comment.
+ (mips_o32_push_dummy_call): Likewise.
+
+2007-04-17 Andreas Schwab <schwab@suse.de>
+
+ * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
+ sal to be bigger than the end of the function.
+
+2007-04-17 Maciej W. Rozycki <macro@mips.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * mips-tdep.c (mips_o32_push_dummy_call): Take account of
+ argument alignment requirements when calculating stack space
+ required. When aligning an arg register to eight bytes
+ boundary, align stack_offset too. Write floating-point
+ arguments to the appropriate integer register if need go there.
+ (mips_o64_push_dummy_call): Likewise.
+
+2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
+ "sig" arguments, add "regcache" argument.
+ * gdbarch.c, gdbarch.h: Regenerate.
+
+ * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
+ (handle_inferior_event): Call remove_single_step_breakpoints directly
+ instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
+
+ * alpha-tdep.c (alpha_software_single_step): Update argument list.
+ Remove handling of !insert_breakpoints_p case.
+ * arm-tdep.c (arm_software_single_step): Likewise.
+ * cris-tdep.c (cris_software_single_step): Likewise.
+ * mips-tdep.c (mips_software_single_step): Likewise.
+ * rs6000-tdep.c (rs6000_software_single_step): Likewise.
+ * sparc-tdep.c (sparc_software_single_step): Likewise.
+ * spu-tdep.c (spu_software_single_step): Likewise.
+
+ * alpha-tdep.h (alpha_software_single_step): Update prototype.
+ * mips-tdep.h (mips_software_single_step): Likewise.
+ * rs6000-tdep.h (rs6000_software_single_step): Likewise.
+ * sparc-tdep.h (sparc_software_single_step): Likewise.
+
+2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
+ when removing single-step breakpoints.
+
+2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ * varobj.h (varobj_set_frozen): New
+ (varobj_get_frozen): New.
+ (varobj_update): New parameter explicit.
+ * varobj.c (struct varobj): New fields frozen
+ and not_fetched.
+ (varobj_set_frozen, varobj_get_frozen): New.
+ (install_new_value): Don't fetch values for
+ frozen variable object, or children thereof. Allow
+ a frozen variable object to have non-fetched value.
+ (varobj_update): Allow updating child variables.
+ Don't traverse frozen children.
+ (new_variable): Initialize the frozen field.
+ (c_value_of_variable): Return NULL for frozen
+ variable without any value yet.
+ * mi/mi-cmd-var.c (varobj_update_one): New parameter
+ 'explicit'.
+ (mi_cmd_var_create): Output the 'frozen' field,
+ as soon as testsuite is adjusted to expect that field.
+ (mi_cmd_var_set_frozen): New.
+ (mi_cmd_var_update): Pass the 'explicit' parameter to
+ varobj_update_one.
+ * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
+ * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
+
+2007-04-13 Paul Brook <paul@codesourcery.com>
+
+ * target-descriptions.c (tdesc_named_type): Add ieee_single and
+ ieee_double.
+ * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
+ remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
+ scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
+ ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
+ * Makefile.in: Remove references to deleted files.
+ * README: Do not mention deleted ROM monitor interfaces.
+ * defs.h (enum language): Delete language_scm.
+ * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
+ (dump_subexp_body_standard): Likewise.
+ * parse.c (operator_length_standard): Likewise.
+ * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
+ * remote-mips.c: Do not include remote-utils.h.
+ * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
+ throughout.
+ * value.c: Do not include scm-lang.h.
+ (unpack_long): Delete scm_unpack call.
+ * config/h8300/h8300.mt, config/mips/embed.mt,
+ config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
+ config/sh/embed.mt, config/sh/linux.mt: Remove references to
+ deleted files.
+ * NEWS: Mention removed files.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
+ * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * NEWS: Mention removal of HP aCC support.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
+ first entry for static executables.
+ (breakpoint_addr): Delete unused variable.
+ (elf_locate_base): Search for _r_debug in static executables.
+ (enable_break): Do not set breakpoint_addr. Scan solib_break_names
+ also.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
+ (bpstat_what, print_one_breakpoint, allocate_bp_location)
+ (mention): Remove bp_through_sigtramp support.
+ * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * breakpoint.c (bpstat_what): Give step-resume higher priority than
+ shlib events.
+
+2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * infrun.c: Doc fixes.
+ (handle_inferior_event): Clarify debug message.
+ (insert_step_resume_breakpoint_at_sal): Print a debug message.
+
+2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
+
+2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/m68k/tm-monitor.h: Delete file.
+ * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
+ * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
+ call moved to ...
+ * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
+ * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
+
2007-04-12 Luis Machado <luisgpm@br.ibm.com>
* gdbarch.sh (software_single_step): Change the return type