summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-02-09 08:26:26 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-02-09 08:26:26 +0000
commit05687ccaf22d9ae8ead3105d6794f38b3301a986 (patch)
treebebe6a2d8001651b92d511a2d21a848820b15fa6
parent2bd5ac330fe8c2e433d9457277e365b4cd41a7df (diff)
Notes
-rw-r--r--sys/sys/user.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 0b31fcdc964b..1f69bf96af21 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -172,30 +172,4 @@ struct user {
struct md_coredump u_md; /* machine dependent glop */
};
-/*
- * Redefinitions to make the debuggers happy for now... This subterfuge
- * brought to you by coredump() and trace_req(). These fields are *only*
- * valid at those times!
- */
-#ifdef __i386__
-#define U_ar0 u_kproc.kp_proc.p_md.md_regs /* copy of curproc->p_md.md_regs */
-#endif
-#ifdef __alpha__
-#define U_ar0 u_kproc.kp_proc.p_md.md_tf /* copy of curproc->p_md.md_tf */
-#endif
-#define U_tsize u_kproc.kp_eproc.e_vm.vm_tsize
-#define U_dsize u_kproc.kp_eproc.e_vm.vm_dsize
-#define U_ssize u_kproc.kp_eproc.e_vm.vm_ssize
-#define U_sig u_kproc.kp_proc.p_sig
-#define U_code u_kproc.kp_proc.p_code
-
-#ifndef _KERNEL
-#define u_ar0 U_ar0
-#define u_tsize U_tsize
-#define u_dsize U_dsize
-#define u_ssize U_ssize
-#define u_sig U_sig
-#define u_code U_code
-#endif
-
#endif