lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: year old problem
From
Date
Eric.Pouech@wanadoo.fr (Eric Pouech) writes:

> Can someone explain me why the debug registers from an i386
> are no longer saved in the tss (especially DR6). This was the
> case in the 2.0.x series and was removed in 2.1.0
> (arch/i386/kernel/entry.S).
>
> Is there a good reason for that ? Without this, there is no
> way you can do decent hardware assisted debugging under Linux.
>
> thanks for your answers

They are saved/restored on a task switch. See arch/i386/kernel/process.c:__switch_to()

What isn't saved/restore (yet) are the performance counters.

-Andi

--
This is like TV. I don't like TV.

-
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:55    [W:0.120 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site