aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb6/files/freebsd-uthread.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-10-21 03:37:48 +0800
committerobrien <obrien@FreeBSD.org>2004-10-21 03:37:48 +0800
commit5f050f724a36d05997acaee04876591dc3774675 (patch)
tree61b684292a1062d16ca4a3b5b7d1965977da67f1 /devel/gdb6/files/freebsd-uthread.c
parent31c60bf8837df48b03856e7e569f24a956cd634b (diff)
downloadfreebsd-ports-gnome-5f050f724a36d05997acaee04876591dc3774675.tar.gz
freebsd-ports-gnome-5f050f724a36d05997acaee04876591dc3774675.tar.zst
freebsd-ports-gnome-5f050f724a36d05997acaee04876591dc3774675.zip
Update to the 2004-08-10 snapshot.
Diffstat (limited to 'devel/gdb6/files/freebsd-uthread.c')
-rw-r--r--devel/gdb6/files/freebsd-uthread.c4
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));
}
}
}