lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.0 i386 watchpoint problems
On Fri, Sep 22, 2000 at 11:25:21AM -0700, Linus Torvalds wrote:
>
>
> On Fri, 22 Sep 2000, Andi Kleen wrote:
> > >
> > > No. The current process is always the same one we send the signal to, so
> > > that test ends up being irrelevant.
> >
> > Really ? I thought the original user wanted the signal to be sent to the
> > debugger (e.g. the idle process probably couldn't care less about hardware
> > breakpoints even when they hit in an interrupt handler which it is running)
>
> They get sent to the original process.

Unless I'm missing something switch_to does not clear debug registers on
context switch (unless another process also uses them)

So you could always get these traps in any process that happens to use the
same addresses (ok they would be sent to the wrong process in this case,
my braino)


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

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