INF: DPMI Debug Registers Not Supported in Windows 3.0

ID Number: Q72636

3.00

WINDOWS

Summary:

As implemented in version 3.0 of the Microsoft Windows graphical

environment, the MS-DOS Protected Mode Interface (DPMI) for enhanced

mode Windows does not support the debugging registers.

More Information:

Version 3.0 of enhanced mode Windows does not completely implement

version 0.9 of the DPMI specification. The four debug register support

functions listed below are not implemented:

Function Description

-------- -----------

0B00h Set debug watchpoint

0B01h Clear debug watchpoint

0B02h Get state of debug watchpoint

0B03h Reset debug watchpoint

If an application calls one of these functions through Interrupt 31h,

the call returns with the carry flag set, indicating an error.

For more information on how to use the debugging registers, please

refer to the document titled "Creating Windows Hosted Debuggers,"

which is part of the Open Tools Summit documentation.

Windows 3.1 supports the debugging registers through the Tool Helper

dynamic-link library (TOOLHELP.DLL). For more information, see Chapter

8 of the "Microsoft Windows Software Development Kit: Programmer's

Reference, Volume 1: Overview" manual.

Additional reference words: 3.00 DDKDPMI