Move gdbserver tdesc header funcs to c file
[deliverable/binutils-gdb.git] / gdb / iq2000-tdep.c
index deafaaa38dd58971b8d377d7af8fb0e2be362ffa..f8e2f234e02f41d0eb11db49e551dac540093fb0 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for the IQ2000 architecture, for GDB, the GNU
    Debugger.
 
-   Copyright (C) 2000-2017 Free Software Foundation, Inc.
+   Copyright (C) 2000-2018 Free Software Foundation, Inc.
 
    Contributed by Red Hat.
 
@@ -539,7 +539,7 @@ static void
 iq2000_extract_return_value (struct type *type, struct regcache *regcache,
                             gdb_byte *valbuf)
 {
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
 
   /* If the function's return value is 8 bytes or less, it is
This page took 0.02363 seconds and 4 git commands to generate.