Re: Accessing Debug Registers in Linux
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 02:15:22 +0000 (UTC)
WahJava <spamtrap@xxxxxxxxxx> wrote:
> But my problem, how it happens in Linux. In Linux, context
> structure, i.e. ucontext (or similar) is defined asm/ucontext.h
> header file, and it doesn't includes space for Debug Registers
> present in IA32(e) processors. So, how does GDB (GNU Debugger)
> provides hardware debugging support.
You might have noticed ucontext.h does provide space for
regular, FP or SSE registers either! See:
/usr/src/linux/include/asm-i386/debugreg.h
-- Robert
.
- References:
- Accessing Debug Registers in Linux
- From: WahJava
- Accessing Debug Registers in Linux
- Prev by Date: Shadow RAM control
- Next by Date: Re: Shadow RAM control
- Previous by thread: Accessing Debug Registers in Linux
- Next by thread: From NASM to Visusal Studio source debugging
- Index(es):