diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-29 20:57:02 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-29 20:57:02 +0000 |
commit | 8b75b1460f0cabc8bf7e7f04cf84fe56130e7ac1 (patch) | |
tree | 4034d7f34ca9fe0f558c823af9462d6fa6e45b25 /sys | |
parent | b55ac812cfe11cc582a67fd14cb850133fab07a2 (diff) |
save fpregs in coredump
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/vm_machdep.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/include/pcb.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c index 7a2d9920649..6198eb2b0fb 100644 --- a/sys/arch/hppa/hppa/vm_machdep.c +++ b/sys/arch/hppa/hppa/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.48 2003/01/22 16:23:24 mickey Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.49 2003/01/29 20:57:01 mickey Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -72,6 +72,7 @@ cpu_coredump(p, vp, cred, core) core->c_cpusize = sizeof(md_core); process_read_regs(p, &md_core.md_reg); + process_read_fpregs(p, &md_core.md_fpreg); CORE_SETMAGIC(cseg, CORESEGMAGIC, MID_HPPA, CORE_CPU); cseg.c_addr = 0; diff --git a/sys/arch/hppa/include/pcb.h b/sys/arch/hppa/include/pcb.h index 0bfb9e79ede..d711056cf2b 100644 --- a/sys/arch/hppa/include/pcb.h +++ b/sys/arch/hppa/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.6 2000/01/12 07:24:35 mickey Exp $ */ +/* $OpenBSD: pcb.h,v 1.7 2003/01/29 20:57:00 mickey Exp $ */ /* * Copyright (c) 1999-2000 Michael Shalayeff @@ -46,6 +46,7 @@ struct pcb { struct md_coredump { struct reg md_reg; + struct fpreg md_fpreg; }; |