home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386src.zip / WPS.H < prev    next >
Text File  |  1994-10-10  |  2KB  |  52 lines

  1. /*****************************************************************************/
  2. /* File:                                             IBM INTERNAL USE ONLY   */
  3. /*   wps.h                                                                   */
  4. /*                                                                           */
  5. /* Description:                                                              */
  6. /*   Watch point window stuff.                                               */
  7. /*                                                                           */
  8. /*...Release 1.00 (03/03/92)                                                 */
  9. /*...                                                                        */
  10. /*... 03/10/92  602   Srinivas  Hooking up watch points.                     */
  11. /*****************************************************************************/
  12.  
  13. #define  PROMPTLEN   255                /* expression field length           */
  14. #define  ADDRESSLEN  8                  /* address field length              */
  15. #define  SCOPELEN    6                  /* scope field length                */
  16. #define  TYPELEN     9                  /* type field length                 */
  17. #define  STATUSLEN   6                  /* status field length               */
  18.  
  19. typedef struct _DEBUG_REGISTER {
  20.   UINT    Address;
  21.   UCHAR   Aligned;
  22.   UCHAR   Size;
  23.   UCHAR   Scope;
  24.   UCHAR   Type;
  25.   UCHAR   Status;
  26.   UINT    Wpindex;
  27.   UCHAR   Prompt[PROMPTLEN + 1];
  28. } DEBUG_REGISTER;
  29.  
  30. typedef struct _WP_REGISTER {
  31.   UINT    Address;
  32.   UCHAR   Size;
  33.   UCHAR   Scope;
  34.   UCHAR   Type;
  35.   UCHAR   Status;
  36.   UINT    Wpindex;
  37.   INT     IsSet;
  38. } WP_REGISTER;
  39.  
  40. #define  NODEBUGREGS 4
  41.  
  42. #define  WPS_LOCAL   0
  43. #define  WPS_GLOBAL  1
  44.  
  45. #define  READWRITE  0
  46. #define  WRITE      1
  47. #define  EXECUTE    2
  48.  
  49. #define  DISABLED 0
  50. #define  ENABLED  1
  51. #define  ARMED    2
  52.