Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 09:32:19 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        paul@mu.org (Paul Saab)
Subject:   Re: page fault
Message-ID:  <19971023093219.WB10314@uriah.heep.sax.de>
In-Reply-To: <199710230234.VAA00538@elvis.mu.org>; from Paul Saab on Oct 22, 1997 21:34:58 -0500
References:  <199710230234.VAA00538@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
As Paul Saab wrote:

>   My question is without debugging
> symbols it is not possible to find out what caused the crash is
> it?

Even without debugging symbols, the kernel usually has the default
symbol table, so you could find out in which function it happened.  My
normal way of analyzation is then to recompile parts of the kernel
(the interesting parts according to the stacktrace) with -g, and have
a closer look at them.  Fortunately, gcc usually produces the same
code with or without -g, provided the -O etc. flags remain the same.

Hava a look at the section about kernel debugging in the handbook.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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