Mail Archives: djgpp-workers/1996/07/15/09:21:27
> breakpoints, so it seems. ANY breakpoint that is set by writing the CCh
> opcode (Int 03) seems to not work under Windows, in either GDB or FSDB.
> Both the debuggers get Exception 0Dh with an error code of 80000000h
> (does that error code mean anything?).
Ah, this might explain alot. Rainer told me a long, long time ago that
he couldn't make GDB work under Windows since breakpoint int 3's wouldn't
work. I never investigated. I was under the assumption we were using
debug registers everywhere.
Only the low 16 bits of the error code are defined, so no, this doesn't
mean anything. However, a full register listing would tell alot :-)
> Another thing that I saw is that the address where Exception 0Dh happens
> is NOT the address where the breakpoint was set, but somewhat after that.
>
> If anybody has any clue as to where to look further, please tell me.
> I've checked all the code around the place where the breakpoint is set
> and didn't find anything that even remotedly seems suspicious.
It might be a selector problem. Are CS,DS,ES,SS,FS,GS as expected?
Is the exception really in the child or in the debugger or in the DPMI
provider? Is the instruction of pukage a memory access, where all the
ones before were register only?
- Raw text -