From a76708b594a6f9ebb518415654d5de82a83247ac Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 17 Jul 1999 09:27:41 +0000 Subject: Decode new ptrace requests PT_GETDBREGS and PT_SETDBREGS. --- usr.bin/kdump/kdump.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'usr.bin/kdump') 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 = ','; -- cgit v1.1