diff options
Diffstat (limited to 'gdb/i386-obsd-nat.c')
-rw-r--r-- | gdb/i386-obsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-obsd-nat.c b/gdb/i386-obsd-nat.c index 76079af..f3a68de 100644 --- a/gdb/i386-obsd-nat.c +++ b/gdb/i386-obsd-nat.c @@ -34,7 +34,7 @@ static int i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) { - struct gdbarch *gdbarch = get_regcache_arch (regcache); + struct gdbarch *gdbarch = regcache->arch (); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); struct switchframe sf; |