home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386src.zip / SD386.H < prev    next >
Text File  |  1995-12-01  |  6KB  |  85 lines

  1. /*****************************************************************************/
  2. /* File:                                             IBM INTERNAL USE ONLY   */
  3. /*   sd386.h                                                                 */
  4. /*                                                                           */
  5. /* Description:                                                              */
  6. /*   SD386 include stuff                                                     */
  7. /*                                                                           */
  8. /* History:                                                                  */
  9. /*                                                                           */
  10. /*   02/08/91 Creation of 32-bit SD86, from 16-bit version.                  */
  11. /*                                                                           */
  12. /*...Release 1.00 (After pre-release 1.08)                                   */
  13. /*...                                                                        */
  14. /*... 02/12/92  521   Joe       Port to C-Set/2.                             */
  15. /*...                                                                        */
  16. /*...Release 1.01 (04/03/92)                                                 */
  17. /*...                                                                        */
  18. /*... 05/08/92  701   Srinivas  Cua Interface.                               */
  19. /*...                                                                        */
  20. /*...Release 1.02 (10/22/92)                                                 */
  21. /*...                                                                        */
  22. /*... 04/13/93  803   Selwyn    Resolving imports.                           */
  23. /*... 04/14/93  819   Selwyn    Add /k option for keyboard only use.         */
  24. /*... 04/14/93  820   Selwyn    Add /u option to not flush k/b buffer.       */
  25. /*...                                                                        */
  26. /*...Release 1.04 (04/30/93)                                                 */
  27. /*...                                                                        */
  28. /*... 05/04/93  822   Joe   Add mte table handling.                          */
  29. /*... 05/05/94  919   Joe   Add child process support.                       */
  30. /*...                                                                        */
  31. /*****************************************************************************/
  32.  
  33. /*****************************************************************************/
  34. /* Dbg run time options.                                                  919*/
  35. /*****************************************************************************/
  36. typedef struct _dbgflags                                                /*919*/
  37. {                                                                       /*919*/
  38.  int   Verbose       : 1;               /* print verbose printf messages. 919*/
  39.  int   IsParentDbg   : 1;               /* Parent or Child Debugger.      919*/
  40.  int   UseExecPgm    : 1;               /* Use DosExecPgm for parent.     919*/
  41.  int   DebugChild    : 1;               /* Debug child process(es).       919*/
  42.  int   SingleMultiple: 1;               /* Single child or multiple.      919*/
  43.  int   DosDebugTrace : 1;               /* Trace DosDebug traffic.        919*/
  44.  int   UseDebug      : 1;               /* spawn a debugger instead of dbg.  */
  45.  int   MyAppType     : 3;               /* process type of parent debugger.  */
  46.  int   HotKey        : 1;               /* spawn a debugger instead of dbg.  */
  47.  int   UseMsh        : 1;               /* User MathShell/Rexx support.      */
  48.  int   Reserved      :20;               /* alt-esc/ctrl-esc on/off           */
  49. }DBG_FLAGS;                                                             /*919*/
  50.  
  51. typedef struct
  52. {
  53.  char           *pUserExe;              /* exe program name.                 */
  54.  char           *pUserParms;            /* exe program parameters.           */
  55.  int             CaseSens;              /* TRUE means be case sensitive      */
  56.  int             ShowInit;              /* TRUE means do not skip init code  */
  57.                                         /* at startup time.                  */
  58.  USHORT          SessionType;           /* user specified session type       */
  59.  UCHAR           ResolveImports;        /* TRUE - Resolve imports.           */
  60.  UCHAR           KeyboardOnly;          /* TRUE - Only keyboard input.       */
  61.  UCHAR           KBDBufferFlush;        /* TRUE - Do not flush KBD buffer.   */
  62.  UCHAR           Profile;               /* 1 => - Use SD386.PRO.             */
  63.  UCHAR           NoStopAtMain;          /* TRUE => don't stop at main.       */
  64.  DBG_FLAGS       DbgFlags;              /*                                919*/
  65.  char           *pChildProcesses;       /* response filespec for /b option919*/
  66.  ULONG           ProcessID;             /* pid this session is debugging.    */
  67.  ULONG           SessionID;             /* sid for the pid being debugged.   */
  68.  USHORT          EspPid;                /* pid of a local probe.             */
  69.  ULONG           EspSid;                /* sid of a local probe.             */
  70.  ULONG           ProcessType;           /* type of process being debugged.   */
  71.  LHANDLE         handle;                /* com port handle inherited from    */
  72.                                         /* the parent debugger.              */
  73. }CmdParms;
  74.  
  75. #define NOFLUSHNOW      1                                               /*820*/
  76. #define NOFLUSHALLTIMES 2                                               /*820*/
  77.  
  78.  
  79. /*****************************************************************************/
  80. /* - Some defines for setting single child process versus multiple           */
  81. /*   child process debugging.                                                */
  82. /*****************************************************************************/
  83. #define SINGLE   0
  84. #define MULTIPLE 1
  85.