Mail Archives: djgpp/2000/06/21/04:10:08
On Tue, 20 Jun 2000, Richard Dawe wrote:
> Eli Zaretskii wrote:
> > I fail to see how calling a VxD can disable a breakpoint. A
> > breakpoint is a special instruction written to the program's code;
> > unless Windows is smart enough to remove that special instruction and
> > replace it with the original one, it can do nothing to interfere.
>
> I didn't say that I understood why this was happening.
I guess this makes two of us ;-)
> I only observed
> that gdb would not break when I used normal breakpoints; I could make it
> break using hardware breakpoints. I have no idea if Windows is removing
> the instructions.
I find it hard to believe that Windows removes the breakpoint
instructions. What is probably happening is that somehow the
breakpoint exception (exception 3) is blocked or disabled, by whatever
reason that is triggered during libsock operation. Hardware
breakpoints use a different exception (exception 1), so they still
work.
- Raw text -