diff options
Diffstat (limited to 'gdb/bfin-tdep.c')
-rw-r--r-- | gdb/bfin-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 2e99418..f9594d7 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -608,7 +608,7 @@ bfin_extract_return_value (struct type *type, struct regcache *regs, gdb_byte *dst) { - struct gdbarch *gdbarch = get_regcache_arch (regs); + struct gdbarch *gdbarch = regs->arch (); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); bfd_byte *valbuf = dst; int len = TYPE_LENGTH (type); |