Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/arch/powerpc/include Pull up revision 1.8 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/3e7576409a52
branches:  netbsd-2-0
changeset: 560813:3e7576409a52
user:      tron <tron%NetBSD.org@localhost>
date:      Mon May 10 14:45:03 2004 +0000

description:
Pull up revision 1.8 (requested by matt in ticket #278):
Add PT_MACHDEP_STRINGS so that kdump(1) can print out the
PowerPC-specific
ptrace requests.

diffstat:

 sys/arch/powerpc/include/ptrace.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 35e577d61145 -r 3e7576409a52 sys/arch/powerpc/include/ptrace.h
--- a/sys/arch/powerpc/include/ptrace.h Mon May 10 14:44:18 2004 +0000
+++ b/sys/arch/powerpc/include/ptrace.h Mon May 10 14:45:03 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptrace.h,v 1.7 2003/06/29 22:28:48 fvdl Exp $  */
+/*     $NetBSD: ptrace.h,v 1.7.4.1 2004/05/10 14:45:03 tron Exp $      */
 
 #ifndef _POWERPC_PTRACE_H
 #define        _POWERPC_PTRACE_H
@@ -11,6 +11,12 @@
 #define        PT_GETVECREGS   (PT_FIRSTMACH + 5)
 #define        PT_SETVECREGS   (PT_FIRSTMACH + 6)
 
+#define        PT_MACHDEP_STRINGS                              \
+       "PT_STEP",                                      \
+       "PT_GETREGS",           "PT_SETREGS",           \
+       "PT_GETFPREGS",         "PT_SETFPREGS",         \
+       "PT_GETVECREGS",        "PT_SETVECREGS",
+
 #ifdef _KERNEL
 #ifdef _KERNEL_OPT
 #include "opt_altivec.h"



Home | Main Index | Thread Index | Old Index