Specifications
Debugging a Device Driver
11.4 Troubleshooting Network Failures
Example 11–15 Using the Show Image Command
- SRC: module C_TEST_ROUTINES -scroll-source------------------------------------
%DEBUG-W-SCRNOSRCLIN, no source line for address 80002010 for display in SRC
45: Source line not available
46: Source line not available
47: #pragma noinline(test_c_code,test_c_code2,test_c_code3)
48: extern volatile int64 xdt$fregsav[34]; /* Lie and say these are integer
49: use iregsav because the debugger will r
50: be using those!*/
51:
52: int test_c_code3(int subrtnCount)
53: {
54: subrtnCount = subrtnCount - 1;
55: if (subrtnCount != 0)
56: subrtnCount = test_c_code3(subrtnCount);
-> 57: return subrtnCount;
58: }
59: int test_c_code2(int64 in64,int in32, int64 test, int64* pVar)
60: {
61: xdt$fregsav[5] = in64;
62: xdt$fregsav[6] = in32;
63: if (xdt$fregsav[9] > 0)
64: *pVar = (*pVar + xdt$fregsav[17])%xdt$fregsav[9];
65: else
--------------------------------------------------------------------------------
NPRW0 80852C00 80853000
PRO1 824AA000 824ADE00
PRW2 824AE000 824AE600
*SYSTEM_DEBUG yes 00000000 00034000
NPRO0 80028000 80048C00
NPRW1 80823200 8082B600
SYSTEM_PRIMITIVES no 00000000 0002A000
NPRO0 8004A000 80064200
NPRW1 8082B600 80831E00
SYSTEM_SYNCHRONIZATION no 00000000 00016000
NPRO0 80066000 8006FA00
NPRW1 80831E00 80833C00
total images: 43 bytes allocated: 713656
- PROMPT -error-program-prompt--------------------------------------------------
DBG> go
DBG> step
DBG> step/return
DBG> examine r0
DBG> go
DBG> show image
DBG>
11–27