Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2011 21:11:55 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220756 - head/usr.bin/kdump
Message-ID:  <201104172111.p3HLBtxV049806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sun Apr 17 21:11:55 2011
New Revision: 220756
URL: http://svn.freebsd.org/changeset/base/220756

Log:
  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

Modified:
  head/usr.bin/kdump/kdump.c

Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c	Sun Apr 17 21:03:23 2011	(r220755)
+++ head/usr.bin/kdump/kdump.c	Sun Apr 17 21:11:55 2011	(r220756)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104172111.p3HLBtxV049806>