diff options
Diffstat (limited to 'gdb/amd64-nat.c')
-rw-r--r-- | gdb/amd64-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c index ff04339..b046052 100644 --- a/gdb/amd64-nat.c +++ b/gdb/amd64-nat.c @@ -96,7 +96,7 @@ amd64_supply_native_gregset (struct regcache *regcache, const void *gregs, int regnum) { const char *regs = (const char *) gregs; - struct gdbarch *gdbarch = get_regcache_arch (regcache); + struct gdbarch *gdbarch = regcache->arch (); int num_regs = amd64_native_gregset64_num_regs; int i; @@ -127,7 +127,7 @@ amd64_collect_native_gregset (const struct regcache *regcache, void *gregs, int regnum) { char *regs = (char *) gregs; - struct gdbarch *gdbarch = get_regcache_arch (regcache); + struct gdbarch *gdbarch = regcache->arch (); int num_regs = amd64_native_gregset64_num_regs; int i; |