diff options
Diffstat (limited to 'devel/gdb6/files/freebsd-uthread.c')
-rw-r--r-- | devel/gdb6/files/freebsd-uthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gdb6/files/freebsd-uthread.c b/devel/gdb6/files/freebsd-uthread.c index 4d7171402f24..e6f4a7f3be0a 100644 --- a/devel/gdb6/files/freebsd-uthread.c +++ b/devel/gdb6/files/freebsd-uthread.c @@ -664,14 +664,14 @@ freebsd_uthread_store_registers (int regno) /* Hang onto cached value */ /*DEO:XXX*/ memcpy(reg, deprecated_registers /*regcache_collect ()*/+ DEPRECATED_REGISTER_BYTE (regno), - DEPRECATED_REGISTER_RAW_SIZE (regno)); + register_size (current_gdbarch, regno)); /* And push out to inferior */ off = (char *) reg - (char *) thread; write_memory (ptr + off, /*DEO:XXX*/ deprecated_registers /*regcache_collect ()*/+ DEPRECATED_REGISTER_BYTE (regno), - DEPRECATED_REGISTER_RAW_SIZE (regno)); + register_size (current_gdbarch, regno)); } } } |