lkml.org 
[lkml]   [1999]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: a small doubt
On Thu, Oct 07, 1999 at 02:34:36PM +0200, Jes Sorensen wrote:
> >>>>> "Matthew" == Matthew Wilcox <Matthew.Wilcox@genedata.com> writes:
>
> Matthew> On Thu, Oct 07, 1999 at 02:47:45PM +0530, CHANDRIKA H V
> Matthew> wrote:
> >> *(int *)0 = 0 ;
> >>
> >> What is the meaning/significance of this ?
>
> Matthew> This is a normal way of causing an Oops. It gets you a stack
> Matthew> backtrace and register dump which may help you find the cause
> Matthew> of the problem.
>
> And a very bad one indeed since some architectures have page 0 mapped.

I didn't realise that. Do you have a better suggestion?

--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.077 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site