Fortran, testsuite: Add testcases for nested structures.
[deliverable/binutils-gdb.git] / gdb / regcache.c
index 74d883aa59d167e75a6180a010576a1d0248a8fc..f0ba0cf5521fb158cf532a46b0f7bf91ba19d5df 100644 (file)
@@ -1,6 +1,6 @@
 /* Cache and manage the values of registers for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2015 Free Software Foundation, Inc.
+   Copyright (C) 1986-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -179,6 +179,14 @@ register_size (struct gdbarch *gdbarch, int regnum)
   return size;
 }
 
+/* See common/common-regcache.h.  */
+
+int
+regcache_register_size (const struct regcache *regcache, int n)
+{
+  return register_size (get_regcache_arch (regcache), n);
+}
+
 /* The register cache for storing raw register values.  */
 
 struct regcache
This page took 0.024795 seconds and 4 git commands to generate.