summaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-10 21:36:00 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-10 21:36:00 +0000
commit637f7d589ae8d57e1996dcc93167ded09aaea56d (patch)
treea11f951c4091a6977ead045a893f9ac19510acf7 /gdb/linux-nat.h
parent433020ab4655f5b0ca9d5188130687172e6af42a (diff)
downloadgdb-637f7d589ae8d57e1996dcc93167ded09aaea56d.tar.gz
* 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 997a0f4716f..e9a7d273c11 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. */