* inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a24b284c236034bbcd17e13a8dfac2fba8bf8a2d..16d9c4842f60b6309a4feb3b594d40470e259485 100644 (file)
@@ -1,3 +1,269 @@
+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.
This page took 0.027616 seconds and 4 git commands to generate.