summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-07-17 09:27:41 +0000
committerbde <bde@FreeBSD.org>1999-07-17 09:27:41 +0000
commita76708b594a6f9ebb518415654d5de82a83247ac (patch)
tree2bc715b99c03a541b42388d76a1b01e1b5ca2861 /usr.bin/kdump
parent53c130ee843d954d6f690233a9c285c00393017f (diff)
downloadFreeBSD-src-a76708b594a6f9ebb518415654d5de82a83247ac.zip
FreeBSD-src-a76708b594a6f9ebb518415654d5de82a83247ac.tar.gz
Decode new ptrace requests PT_GETDBREGS and PT_SETDBREGS.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 27ea544..c8d4602 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)kdump.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: kdump.c,v 1.13 1999/06/16 18:46:40 dt Exp $";
+ "$Id: kdump.c,v 1.14 1999/06/26 07:31:13 bde Exp $";
#endif /* not lint */
#define KERNEL
@@ -290,6 +290,14 @@ ktrsyscall(ktr)
else if (*ip == PT_SETFPREGS)
(void)printf("(%s", "PT_SETFPREGS");
#endif
+#ifdef PT_GETDBREGS
+ else if (*ip == PT_GETDBREGS)
+ (void)printf("(%s", "PT_GETDBREGS");
+#endif
+#ifdef PT_SETDBREGS
+ else if (*ip == PT_SETDBREGS)
+ (void)printf("(%s", "PT_SETDBREGS");
+#endif
else
(void)printf("(%ld", (long)*ip);
c = ',';
OpenPOWER on IntegriCloud