lkml.org 
[lkml]   [2001]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: What is i386 thread.trapno?
Date
On Sat, 02 Jun 2001 21:31:42 -0500, 
Jeff Dike <jdike@karaya.com> wrote:
>The i386 page fault handler sets trap_no to 14, so the fault isn't coming from
>there, but I can't see where a SIGSEGV is being delivered to a process with
>thread.trap_no == 1.
>
>So:
> What do these trap numbers mean?
> Where can I read about them?

Intel Architecture Software Developer's Manual Volume 3: System
Programming. Interrupt and Exception Handling, table 5.1 (postscript
extract of that table has been copied in separate private mail).
intel-ia32-arch-vol3-24319202.pdf.

>and
> Where's this segfault coming from?

Probably do_debug() which sets trapno = 1 and also uses
handle_vm86_trap(,,1).

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

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