Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2011 12:52:08 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r222126 - stable/8/usr.bin/kdump
Message-ID:  <201105201252.p4KCq8NZ084812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Fri May 20 12:52:08 2011
New Revision: 222126
URL: http://svn.freebsd.org/changeset/base/222126

Log:
  MFC r220756: kdump: Show code for signals with default action.
  
  This information is available as of kernel r222125. Trace files from older
  kernels will always have 0.

Modified:
  stable/8/usr.bin/kdump/kdump.c
Directory Properties:
  stable/8/usr.bin/kdump/   (props changed)

Modified: stable/8/usr.bin/kdump/kdump.c
==============================================================================
--- stable/8/usr.bin/kdump/kdump.c	Fri May 20 12:48:39 2011	(r222125)
+++ stable/8/usr.bin/kdump/kdump.c	Fri May 20 12:52:08 2011	(r222126)
@@ -1138,7 +1138,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?201105201252.p4KCq8NZ084812>