aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index da91fd6..6af729a 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -88,6 +88,12 @@ extern void supply_register (int regnum, const void *val);
extern void regcache_collect (int regnum, void *buf);
+/* Return the size of the largest register. Used when allocating
+ space for an aribtrary register value. */
+
+extern int max_register_size (struct gdbarch *gdbarch);
+
+
/* DEPRECATED: Character array containing an image of the inferior
programs' registers for the most recently referenced thread. */