[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <13471.1153287221@kao2.melbourne.sgi.com>
Date: Wed, 19 Jul 2006 15:33:41 +1000
From: Keith Owens <kaos@....com.au>
To: "Jesper Juhl" <jesper.juhl@...il.com>
cc: "Chuck Ebbert" <76306.1226@...puserve.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
"Andrew Morton" <akpm@...l.org>,
"Linus Torvalds" <torvalds@...l.org>, "Andi Kleen" <ak@...e.de>
Subject: Re: [patch] i386: show_registers(): try harder to print failing code
"Jesper Juhl" (on Wed, 19 Jul 2006 00:12:32 +0200) wrote:
>On 18/07/06, Chuck Ebbert <76306.1226@...puserve.com> wrote:
>> show_registers() tries to dump failing code starting 43 bytes
>> before the offending instruction, but this address can be bad,
>> for example in a device driver where the failing instruction is
>> less than 43 bytes from the start of the driver's code. When that
>> happens, try to dump code starting at the failing instruction
>> instead of printing no code at all.
>>
>Shouldn't the kernel be printing some info noting that this fallback
>is in use then? Or will that be completely obvious and I'm just not
>able to see that?
The instruction at the EIP is bracketed, which makes it obvious if you
got any preceding instructions or not.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists