aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-07-15 20:16:28 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-07-15 20:16:28 +0000
commita22401deb1638657e28d0fdfd4dd18fa74724912 (patch)
tree2e79e8c28e1decb33514a5e066004fcc9d3d0637 /sys/alpha/include
parent6a5694427a50461f0f5dd3733b206458cc4937fc (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/proc.h10
-rw-r--r--sys/alpha/include/ptrace.h5
2 files changed, 13 insertions, 2 deletions
diff --git a/sys/alpha/include/proc.h b/sys/alpha/include/proc.h
index 6cb6d1beb457..6a1af705706e 100644
--- a/sys/alpha/include/proc.h
+++ b/sys/alpha/include/proc.h
@@ -1,4 +1,4 @@
-/* $Id: proc.h,v 1.1.1.1 1998/03/09 05:43:16 jb Exp $ */
+/* $Id: proc.h,v 1.2 1998/06/10 10:55:17 dfr Exp $ */
/* From: NetBSD: proc.h,v 1.3 1997/04/06 08:47:36 cgd Exp */
/*
@@ -32,10 +32,18 @@
* Machine-dependent part of the proc struct for the Alpha.
*/
+struct mdbpt {
+ vm_offset_t addr;
+ u_int32_t contents;
+};
+
struct mdproc {
u_long md_flags;
struct trapframe *md_tf; /* trap/syscall registers */
struct pcb *md_pcbpaddr; /* phys addr of the pcb */
+ struct mdbpt md_sstep[2]; /* two single step breakpoints */
};
#define MDP_FPUSED 0x0001 /* Process used the FPU */
+#define MDP_STEP1 0x0002 /* Single step normal instruction */
+#define MDP_STEP2 0x0004 /* Single step branch instruction */
diff --git a/sys/alpha/include/ptrace.h b/sys/alpha/include/ptrace.h
index 2b4a9cb103f4..27f3b2423082 100644
--- a/sys/alpha/include/ptrace.h
+++ b/sys/alpha/include/ptrace.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ptrace.h 8.1 (Berkeley) 6/11/93
- * $Id: ptrace.h,v 1.6 1998/05/19 00:00:12 tegge Exp $
+ * $Id: ptrace.h,v 1.1 1998/06/10 10:55:24 dfr Exp $
*/
#ifndef _MACHINE_PTRACE_H_
@@ -45,7 +45,10 @@
#define PT_GETFPREGS (PT_FIRSTMACH + 3)
#define PT_SETFPREGS (PT_FIRSTMACH + 4)
+#define FIX_SSTEP(p) ptrace_clear_single_step(p)
+
#ifdef KERNEL
+int ptrace_clear_single_step __P((struct proc *p));
int ptrace_read_u_check __P((struct proc *p, vm_offset_t off, size_t len));
#endif /* !KERNEL */