Whenever a breakpoint is encountered, a program check occurs. The message DMSDBG7281 DEBUG ENTERED BREAKPOINT II AT IIIIX appears on the terminal. Follow the same procedure to enter subcommands
and resume processing as with a regular program check. An external interrupt, which occurs when the CP issued, causes CMS to enter the debug environment. DMSDBG7281 DEBUG ENTERED EXTERNAL INTERRUPT EITERNAL co.mand is
The message
appears on the console. Any of the DEBUG subcommands may be issued. To
exit from the debug environment after an external interrupt, use GO. While CMS is in the debug environment, the control words and low
storage locations contain the debug program values. The debug program saves the control words and low storage contents (X'OO' through X'100') of the interrupted routine at location I'CO'. Nucleus Load Map
Each time the CMS resident nucleus is loaded on a DASD and an IPL can be
perforaed on that DASD, a load map is produced. Save this load map. It
lists the virtual storage locations of nucleus-resident routines and
work areas. Transient modules will not be included in this load map. When debugging CMS, you can locate routines using this map. The load map aay be saved as a disk file and printed at any time. A copy of the nucleus load map is contained on the system with file
identification of 'filename NUCMAP.' To determine the filename, issue
the command LISTFILE * NUCMAP *
To obtain a copy of the current nucleus load map, issue the command PRINT filename NUCMAP filemode Figure 11 shows a sample CMS load map. Notice that the DEBUG work
area (DBGSECT) and DKSINM module have been located.
66 IBM VM/370 System Programmer's Guide
FILE: LOAD CMSMAP C CONVERSATIONAL MONITOR SYSTEM INVALI!) CARD ••• :READ DMSNUC TEX'! C1 CMS191 9/21/72 9:01 * UPLIB MACLIB D1 CMS191 9/21/72 8:47
* CMSLIB MACLIB D1 CMS191 9/21/72 8:44
* OSMACRO MACLIB Y2 CMS19E 7/19/72 18:11
* DMSNUC ASSEMBLE C1 SOURCE 9/18/72 23:09 DMSNUC AT 000000 DMSNUCU AT 002800 NUCON AT 000000 SYSREF AT 000600 FEIBM AT 000274 CMNDLINE AT 0007AO SUBFLAG AT 0005E9 IADT AT 000644 DEVICE AT 0OO26C DEVTAB AT 000C90 CONSOLE AT 000C90 ADISK AT OOOCAO DDISK AT OOOCDO SDISK AT 000D10 YDISK AT 000D20 TABEND AT OOODFO ADTSECT AT OOODFO AFTSTART AT 001200 EXTSECT AT 001500 FXTPSW AT 0015A8 IOSECT AT 0015DO IONTABL AT 001610 PGMSECT AT 001660 PIE AT 001668 SVCSECT AT 0016F8 DIOSECT AT 001998 iVS AT 001A88 ADTFVS AT 001E48 KXFLAG AT 001C2F UFDBUSY AT 001C2E CMSCVT AT 001C80 DBGSECT AT 001D80 DMSERT AT 002098 DMSFRT AT 002208 DMSABW AT 002258 OPSECT AT 002800 DMSFRL AT 002935 TSOBLKS AT 0029BO SUBSECT AT 002A40 USERSECT AT 002AD8 INVALID CARD ••• :READ DMSINA TEXT C1 CMS191 mm/dd/yy 15:37 ABBREV AT 003000 USABRV AT 0030DO INVALID CARD ••• :READ Dl'1SINM TEXT C1 Cl'1S191 mm/dd/yy 20:36 CMSTIMER AT 003200 GETCLK AT 003200 DMSINM AT 003200 INVALID CARD ••• :READ DMSTIO TEXT C1 CMS191 mrr./dd/yy 10:33 TAPEIO AT 003308 DMSTIO AT 003308 Figure 11. Sample CMS Load Map Part 1. Debugging with VM/370 67
Previous Page Next Page