summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-04-17 21:11:55 +0000
committerjilles <jilles@FreeBSD.org>2011-04-17 21:11:55 +0000
commit329bcae0e70a7c70ce98e2dd54ddb45ace4724b9 (patch)
tree3c31c78eef0cac150a5c876961e4b9ee23dd67ba
parentd9e6052d4ec703f14849c7b8cad2795fc141edec (diff)
downloadFreeBSD-src-329bcae0e70a7c70ce98e2dd54ddb45ace4724b9.zip
FreeBSD-src-329bcae0e70a7c70ce98e2dd54ddb45ace4724b9.tar.gz
kdump: Show code for signals where the default action was taken.
This information is available as of kernel r220740. Trace files from older kernels will always have 0. MFC after: 1 week
-rw-r--r--usr.bin/kdump/kdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 6cd8cda..1c3807c 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1134,7 +1134,7 @@ ktrpsig(struct ktr_psig *psig)
else
(void)printf("SIG %d ", psig->signo);
if (psig->action == SIG_DFL)
- (void)printf("SIG_DFL\n");
+ (void)printf("SIG_DFL code=0x%x\n", psig->code);
else {
(void)printf("caught handler=0x%lx mask=0x%x code=0x%x\n",
(u_long)psig->action, psig->mask.__bits[0], psig->code);
OpenPOWER on IntegriCloud