diff options
author | jake <jake@FreeBSD.org> | 2002-04-09 00:57:23 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-04-09 00:57:23 +0000 |
commit | a72383027f9b9ad014841ddaa655b3e88a334d64 (patch) | |
tree | 31040730963bcedd20d5bacad52b908dd6400403 /lib/libc/sparc64/fpu | |
parent | f33b3e275b665030b8d1dea54aa4c68384c4f3bb (diff) | |
download | FreeBSD-src-a72383027f9b9ad014841ddaa655b3e88a334d64.zip FreeBSD-src-a72383027f9b9ad014841ddaa655b3e88a334d64.tar.gz |
Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
and add some compatibility defines. Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this. Reorder struct reg to be ABI compatible as
well. Add needed include of machine/emul.h.
This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
Diffstat (limited to 'lib/libc/sparc64/fpu')
-rw-r--r-- | lib/libc/sparc64/fpu/fpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sparc64/fpu/fpu.c b/lib/libc/sparc64/fpu/fpu.c index 650cf1f..a35238e 100644 --- a/lib/libc/sparc64/fpu/fpu.c +++ b/lib/libc/sparc64/fpu/fpu.c @@ -241,7 +241,7 @@ fetch_reg(struct utrapframe *uf, int reg) * the frame. */ frm = (struct frame *)(uf->uf_out[6] + SPOFF); - return (frm->f_local[reg - IREG_L0]); + return (frm->fr_local[reg - IREG_L0]); } __fpu_panic("fetch_reg: bogus register"); } |