debug registers

From: Wendy E. McCaughrin (wemccaug_at_bluestem.prairienet.org)
Date: 04/29/04

  • Next message: NoDot: "Re: DirectX in HLA"
    Date: Wed, 28 Apr 2004 22:05:06 +0000 (UTC)
    
    

    Can the debug registers (DR0...DR3 for breakpoint, D6,D7) be used to
    monitor another program for a certain instruction to execute? E.g.,
    say I wanted a program to monitor a child process for execution of
    a LIDT instruction: I can do that without the debug regs easily
    enough, but is there a more efficient way with them?

    Thanks!


  • Next message: NoDot: "Re: DirectX in HLA"

    Relevant Pages

    • Re: Why do Intels processors provide four debug registers rather than only one?
      ... there are four debug registers inside ... to executes the instruction at address 5, ... What makes you think that the program will execute the instruction at 5 ...
      (comp.lang.asm.x86)
    • Re: Re: debug registers
      ... >> monitor another program for a certain instruction to execute? ... not for a specific instruction. ... If the child process is not privileged, ...
      (comp.lang.asm.x86)
    • Re: debug registers
      ... > monitor another program for a certain instruction to execute? ... > a LIDT instruction: I can do that without the debug regs easily ...
      (comp.lang.asm.x86)
    • Re: programming language
      ... you will find the source code to my bf interpreter. ... instruction_pointer is the index of the instruction currently being executed in the instruction array. ... execute() is where the action happens. ... executegets a pointer to a bf_vm, where it executes one instruction, increments the instruction pointer of the bf_vm so that it points to the next instruction (or does a loop), and returns. ...
      (comp.programming)
    • Re: Load ordering by introducing dependencies
      ... instruction, but the time when the processor "commits" the store (since ... If you're talking about the actual write to memory, you're right, it ... The PowerPC spec doesn't specify in with order the above stores will be ... doesn't execute instructions in random orders. ...
      (comp.lang.asm.x86)