[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2.4.0 i386 watchpoint problems

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.

The debugger then catches the actual signal handler event, see

Remember: debug traps work even without debuggers. You can use a "int 3"
in your program if you want to have self-debug somewhere. Not many people
do it, of course, but there's nothing fundamentally wrong in just catching
SIGTRAP yourself, and doing something special on debug events.


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

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