Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 21:00:04 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mike Silbersack <silby@silby.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386    swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h
Message-ID:  <20040120203319.U3819@gamplex.bde.org>
In-Reply-To: <20040120015009.W39477@odysseus.silby.com>
References:  <200401192127.i0JLRBL3041817@repoman.freebsd.org> <20040120015009.W39477@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jan 2004, Mike Silbersack wrote:

> On Tue, 20 Jan 2004, Bruce Evans wrote:
>
> <much deleted>
>
> > This can be obtained by running a debugger on the panic dump.  Line
> > numbers and source file names can also be printed by the debugger
> > if the executable has at least line numbers in its debugging info.
>
> True, if you can convince the reporter to enable crashdumps and recreate
> the panic... having even roughly accurate line numbers would increase the
> usefulness of PRs quite a bit.

Just the text of the panic messages is all that you can hope for in that
case.

There are also some bugs in the details:
- the file and line are not printed in panicstr
- the file and line are printed on a separate line
- some style bugs, starting with duplicating code to print the line numbers
  in the newpanic and !newpanic cases despite the previous 2 bugs making
  the message about the line numbers being independent of newpanic.

Bruce



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