diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-10 21:36:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-10 21:36:00 +0000 |
commit | 7714d83ad4327316699302e187c28d5c79eccab3 (patch) | |
tree | 603a6c1fb2cda65729295554a975e8312822140b /gdb/linux-nat.h | |
parent | dd6953e1f3ca7a60bbb1631d7b1821ebeefcccee (diff) | |
download | fsf-binutils-gdb-7714d83ad4327316699302e187c28d5c79eccab3.zip fsf-binutils-gdb-7714d83ad4327316699302e187c28d5c79eccab3.tar.gz fsf-binutils-gdb-7714d83ad4327316699302e187c28d5c79eccab3.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 997a0f4..e9a7d27 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -91,7 +91,7 @@ struct target_ops * linux_target (void); /* Create a generic GNU/Linux target using traditional ptrace register access. */ struct target_ops * -linux_trad_target (CORE_ADDR (*register_u_offset)(int)); +linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *, int, int)); /* Register the customized GNU/Linux target. This should be used instead of calling add_target directly. */ |