Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: rth@dot.cygnus.com (Richard Henderson)
Subject: Re: Debugging unaligned trap
Date: 1998/03/06	[thread overview]
Message-ID: <6doeoo$oep$1@dot.cygnus.com> (raw)
In-Reply-To: slrn6fp792.oh.kag@kag.citysource.com


In article <slrn6fp792.oh.kag@kag.citysource.com>,
Kenneth A Graves <kag@kag.citysource.com> wrote:
>Could someone point me to a FAQ about chasing down unaligned traps
>in the kernel.  (That is, how do I take output like ...
>and determine where the problem is in the kernel source.)

>kernel: unaligned trap at fffffc0000385d00: fffffc00022ca036 28 2

The first number is the address of the kernel instruction that
faulted, the second is the unaligned address that was referenced
during the fault.

Easiest is to compile the kernel with -g, then use gdb's `l *addr'
command.


r~



      reply	other threads:[~1998-03-06  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-04  5:00 Debugging unaligned trap Kenneth A Graves
1998-03-06  5:00 ` Richard Henderson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox