[lkml]   [2005]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 1/3] x86_64: Add a notify_die() call to the "no context" part of do_page_fault()
On Tue, Aug 30, 2005 at 07:50:31AM -0700, George Anzinger wrote:
> Tom Rini wrote:
> >"no context" is the label we're in, in the code. What it's actually
> >used for is "hey, we (== kgdb) tried to read/write a very very bogus
> >addr, time to longjmp". If it's not true that kgdb is at fault then we
> >drop to the debugger anyhow, and the user can see where they came from.
> >
> No. What the user sees is the offending code (i.e. prior to the trap to
> page_fault), NOT how kgdb happend to be called. The "no_context" is IN
> the _context_ of page_fault, but that is lost by the time you get to
> kgdb and ask to see _why_ (via, hint, hint: "p kgdb_info").

So you're suggesting changing what we pass in so that if we also modify
kgdb_info to contain the 'where' thing you talked about before, it would
be more useful, yes? If so, I think that can wait just a bit. :)

Tom Rini
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-30 21:56    [W:0.029 / U:2.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site