Messages in this thread | | | Subject | Re: year old problem | From | Andi Kleen <> | Date | 15 Nov 1999 23:20:24 +0100 |
| |
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/
| |