summaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ia64-tdep.h')
-rw-r--r--gdb/ia64-tdep.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ia64-tdep.h b/gdb/ia64-tdep.h
index 7e53cb6f655..384cb14bd8a 100644
--- a/gdb/ia64-tdep.h
+++ b/gdb/ia64-tdep.h
@@ -195,11 +195,20 @@
#define IA64_NAT32_REGNUM (IA64_NAT0_REGNUM + 32)
#define IA64_NAT127_REGNUM (IA64_NAT0_REGNUM + 127)
+struct frame_info;
+
struct gdbarch_tdep
{
CORE_ADDR (*sigcontext_register_address) (struct gdbarch *, CORE_ADDR, int);
int (*pc_in_sigtramp) (CORE_ADDR);
+ /* Return the total size of THIS_FRAME's register frame.
+ CFM is THIS_FRAME's cfm register value.
+
+ Normally, the size of the register frame is always obtained by
+ extracting the lowest 7 bits ("cfm & 0x7f"). */
+ int (*size_of_register_frame) (struct frame_info *this_frame, ULONGEST cfm);
+
/* ISA-specific data types. */
struct type *ia64_ext_type;
};