aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-31 17:19:32 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-31 17:19:32 +0000
commit8d4c1ba398fa8961059e66d57d0a85c9901d8ebd (patch)
tree006effde6acc710bc327ad04135b2285d44841d5 /gdb/hppa-linux-nat.c
parent3f4844da1dbc1dc8065933e53ce099532bba2cf5 (diff)
downloadgdb-8d4c1ba398fa8961059e66d57d0a85c9901d8ebd.zip
gdb-8d4c1ba398fa8961059e66d57d0a85c9901d8ebd.tar.gz
gdb-8d4c1ba398fa8961059e66d57d0a85c9901d8ebd.tar.bz2
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by gdbarch_cannot_fetch_register. * alpha-nat.c (fetch_osf_core_registers): Likewise. * hppa-linux-nat.c (fetch_register): Likewise. * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. * m68klinux-nat.c (fetch_register): Likewise. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Likewise. * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by gdbarch_cannot_store_register. * hppa-linux-nat.c (store_register): Likewise. * inf-ptrace.c (inf_ptrace_store_register): Likewise. * regcache.c (regcache_raw_write): Likewise. * m68klinux-nat.c (store_register): Likewise. * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/hppa-linux-nat.c')
-rw-r--r--gdb/hppa-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-linux-nat.c b/gdb/hppa-linux-nat.c
index ee24856..daabe3d 100644
--- a/gdb/hppa-linux-nat.c
+++ b/gdb/hppa-linux-nat.c
@@ -221,7 +221,7 @@ fetch_register (struct regcache *regcache, int regno)
int tid;
int val;
- if (CANNOT_FETCH_REGISTER (regno))
+ if (gdbarch_cannot_fetch_register (current_gdbarch, regno))
{
regcache_raw_supply (regcache, regno, NULL);
return;
@@ -249,7 +249,7 @@ store_register (const struct regcache *regcache, int regno)
int tid;
int val;
- if (CANNOT_STORE_REGISTER (regno))
+ if (gdbarch_cannot_store_register (current_gdbarch, regno))
return;
/* GNU/Linux LWP ID's are process ID's. */