aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-record.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-record.c')
-rw-r--r--gdb/linux-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-record.c b/gdb/linux-record.c
index a500bc9..78f6a9a6 100644
--- a/gdb/linux-record.c
+++ b/gdb/linux-record.c
@@ -84,7 +84,7 @@
#define RECORD_Q_XGETQUOTA (('3' << 8) + 3)
#define OUTPUT_REG(val, num) phex_nz ((val), \
- TYPE_LENGTH (gdbarch_register_type (regcache->arch (), (num))))
+ gdbarch_register_type (regcache->arch (), (num))->length ())
/* Record a memory area of length LEN pointed to by register
REGNUM. */