Added regs for trace.

This commit is contained in:
ragge 1995-04-12 15:26:49 +00:00
parent 2bc91b9c2c
commit 4807c769ca
3 changed files with 25 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.7 1995/04/10 12:42:36 mycroft Exp $ */
/* $NetBSD: pmap.h,v 1.8 1995/04/12 15:26:54 ragge Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -93,7 +93,6 @@ struct pmap kernel_pmap_store;
#define pmap_kernel() (&kernel_pmap_store)
extern char *vmmap; /* map for mem, dumps, etc. */
#endif KERNEL
/* Routines that are best to define as macros */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptrace.h,v 1.2 1994/10/26 08:02:24 cgd Exp $ */
/* $NetBSD: ptrace.h,v 1.3 1995/04/12 15:26:49 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@ -33,4 +33,7 @@
/* All bugs are subject to removal without further notice */
#define PT_STEP (PT_FIRSTMACH + 0)
#define PT_GETREGS (PT_FIRSTMACH + 1)
#define PT_SETREGS (PT_FIRSTMACH + 2)

View File

@ -1,4 +1,4 @@
/* $NetBSD: reg.h,v 1.2 1994/10/26 08:02:25 cgd Exp $ */
/* $NetBSD: reg.h,v 1.3 1995/04/12 15:26:52 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@ -33,4 +33,23 @@
/* All bugs are subject to removal without further notice */
struct reg {
int r0; /* General registers saved upon trap/syscall */
int r1;
int r2;
int r3;
int r4;
int r5;
int r6;
int r7;
int r8;
int r9;
int r10;
int r11;
int ap; /* Argument pointer on user stack */
int fp; /* Stack frame pointer */
int sp;
int pc; /* User pc */
int psl; /* User psl */
};