Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 12:01:36 -0700 (PDT)
From:      cj@accom.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8211: Script to search kernel for an address
Message-ID:  <199810081901.MAA12539@flea.accom.com>

next in thread | raw e-mail | index | archive | help

>Number:         8211
>Category:       bin
>Synopsis:       Script to search kernel for an address
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  8 12:10:00 PDT 1998
>Last-Modified:
>Originator:     Colin Jensen
>Organization:
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

Tested on FreeBSD 2.2 with both perl4 and perl5.

>Description:

When an experimental kernel crashes, it outputs a trap address to the
console.  To make a useful bug report, a user must translate this
address into the name of the offending function.  Current practice is
to have the user type nm kernel | sort | more and search for the
address by hand.  This program automates the process of looking up the
function by address.

begin 644 symfind.tgz
M'XL(`,@)'38``^U9;7/32!+F*_H5O=D4<0[;<2`)"P$6Q58273EVSI*332U[
M[%@:QP*]>/5"DEJXWWY/STBV$SBVKC#<??`4(%G3TR]/]_1T#]E--`YB_]ZW
M'-NMUI/=7;I'1(]VGJ@GT7;Y)-I[O/L$_^ZUGCQJ[>P]V<%<:_?Q]CUJ?5.M
MRE%DN4B)[GEOOTSG"QDE\??0Z+N.'W_8*K)T:Q3$6U.9AL:/U$ZF-VEP.<FI
MYFW2]M.G/^%3&,3T=QEG,J;GWEOU\DIX43-)+U]BC1F&I-9DE,I,IN^EWS1^
MQ,1`^D&6I\&HR(,D)A'[5&22P"U+BM23Z@N$B_2&QDD:976Z"O()):EZ)D4.
M)E'B!^/`$\RB3B*5!%6C(,^E3],T>1_X>,DG(L<_$FS",+D*XDORDM@/>%$&
M)KPLDODSO&XW[^B543*N%/(2'X2("EB2"RC*/,4H><]3)3+@@1$G>>#).@B"
MC$*P8RYS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-bugs" in the body of the message



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