(gdb) b 691
Note: breakpoint 1 also set at pc 0x8097234.
Breakpoint 3 at 0x8097234: file verify.c, line 691.
(gdb) run ./a.out
Starting program: /usr/local/bin/ilrun ./a.out
[Thread debugging using libthread_db enabled]
[New Thread 1076140576 (LWP 20339)]
[Switching to Thread 1076140576 (LWP 20339)]
Breakpoint 1, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:691
691 coderFlags = ILCoderGetFlags(coder);
(gdb) b 692
Breakpoint 4 at 0x8097242: file verify.c, line 692.
(gdb) run ./a.out
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/ilrun ./a.out
[Thread debugging using libthread_db enabled]
[New Thread 1076140576 (LWP 20344)]
[Switching to Thread 1076140576 (LWP 20344)]
Breakpoint 1, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:691
691 coderFlags = ILCoderGetFlags(coder);
(gdb) continue
Continuing.
Breakpoint 4, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:692
692 isStatic = ILMethod_IsStatic(method);
(gdb) b 693
Breakpoint 5 at 0x8097260: file verify.c, line 693.
(gdb) b 694
Breakpoint 6 at 0x8097283: file verify.c, line 694.
(gdb) run ./a.out
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/ilrun ./a.out
[Thread debugging using libthread_db enabled]
[New Thread 1076140576 (LWP 20364)]
[Switching to Thread 1076140576 (LWP 20364)]
Breakpoint 1, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:691
691 coderFlags = ILCoderGetFlags(coder);
(gdb) step
JITCoder_GetFlags (_coder=0x810b0c0) at jitc_setup.c:168
168 return (_ILCoderToILJITCoder(_coder))->flags;
(gdb) next
169 }
(gdb) next
JITCoder_GetFlags (_coder=0x8140e20) at jitc_setup.c:168
168 return (_ILCoderToILJITCoder(_coder))->flags;
(gdb) next
169 }
(gdb) next
Breakpoint 4, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:692
692 isStatic = ILMethod_IsStatic(method);
(gdb) next
691 coderFlags = ILCoderGetFlags(coder);
(gdb) next
692 isStatic = ILMethod_IsStatic(method);
(gdb) next
Breakpoint 5, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:693
693 isSynchronized = ILMethod_IsSynchronized(method);
(gdb) next
692 isStatic = ILMethod_IsStatic(method);
(gdb) next
693 isSynchronized = ILMethod_IsSynchronized(method);
(gdb) next
Breakpoint 6, _ILVerify (coder=0x8140e20, start=0xbffff53c, method=0x40293180, code=0xbffff540, unsafeAllowed=-1,
thread=0x8172f80) at verify.c:696
696 result = 0;
(gdb) next
702 ILMemZero(allocator.buffer, sizeof(allocator.buffer));
(gdb) next
696 result = 0;
(gdb) next
702 ILMemZero(allocator.buffer, sizeof(allocator.buffer));
(gdb) next
697 labelList = 0;
(gdb) next
698 hasRethrow = 0;
(gdb) next
702 ILMemZero(allocator.buffer, sizeof(allocator.buffer));
(gdb) next
698 hasRethrow = 0;
(gdb) next
702 ILMemZero(allocator.buffer, sizeof(allocator.buffer));
(gdb) next
703 allocator.posn = 0;
(gdb) nex
Ambiguous command "nex": next, nexti.
(gdb) next
707 if(!ILCoderSetup(coder, start, method, code))
(gdb) next
704 allocator.overflow = 0;
(gdb) next
707 if(!ILCoderSetup(coder, start, method, code))
(gdb) next
713 jumpMask = (unsigned long *)TempAllocate
(gdb) next
715 if(!jumpMask)
(gdb) next
723 len = code->codeLen;
(gdb) next
722 pc = code->code;
(gdb) next
723 len = code->codeLen;
(gdb) next
722 pc = code->code;
(gdb) next
724 while(len > 0)
(gdb) next
722 pc = code->code;
(gdb) next
723 len = code->codeLen;
(gdb) next
724 while(len > 0)
(gdb) next
101 {
(gdb) next
103 jumpMask[offset / (sizeof(unsigned long) * 8)] |=
(gdb) next
101 {
(gdb) next
102 offset *= 3;
(gdb) next
103 jumpMask[offset / (sizeof(unsigned long) * 8)] |=
(gdb) next
730 opcode = (unsigned)(pc[0]);
(gdb) next
103 jumpMask[offset / (sizeof(unsigned long) * 8)] |=
(gdb) next
730 opcode = (unsigned)(pc[0]);
(gdb) nex
Ambiguous command "nex": next, nexti.
(gdb) next
731 if(opcode != IL_OP_PREFIX)
(gdb) next
730 opcode = (unsigned)(pc[0]);
(gdb) next
731 if(opcode != IL_OP_PREFIX)
(gdb) next
734 insnSize = (ILUInt32)(MAIN_OPCODE_TABLE[opcode].size);
(gdb) next
735 if(len < insnSize)
(gdb) next
734 insnSize = (ILUInt32)(MAIN_OPCODE_TABLE[opcode].size);
(gdb) next
735 if(len < insnSize)
(gdb) next
739 insnType = MAIN_OPCODE_TABLE[opcode].args;
(gdb) next
763 switch(insnType)
(gdb) next
876 pc += insnSize;
(gdb) next
877 len -= insnSize;
(gdb) next
881 exception = exceptions;
(gdb) next
882 while(exception != 0)
(gdb) next
986 len = code->codeLen;
(gdb) next
987 while(len > 0)
(gdb) next
986 len = code->codeLen;
(gdb) next
987 while(len > 0)
(gdb) next
989 --len;
(gdb) next
144 offset = offset * 3 + 1;
(gdb) next
143 {
(gdb) next
999 stack = (ILEngineStackItem *)TempAllocate
(gdb) next
1001 if(!stack)
(gdb) next
1008 signature = ILMethod_Signature(method);
(gdb) next
1005 stackSize = 0;
(gdb) next
1008 signature = ILMethod_Signature(method);
(gdb) next
1009 numArgs = ILTypeNumParams(signature);
(gdb) next
1010 if(ILType_HasThis(signature))
(gdb) next
1015 if(code->localVarSig)
(gdb) next
1022 localVars = 0;
(gdb) next
1023 numLocals = 0;
(gdb) next
1027 if(exceptions || isSynchronized)
(gdb) next
1033 pc = code->code;
(gdb) next
1034 len = code->codeLen;
(gdb) next
1038 if (isSynchronized)
(gdb) next
1033 pc = code->code;
(gdb) next
1034 len = code->codeLen;
(gdb) next
1033 pc = code->code;
(gdb) next
1035 lastWasJump = 0;
(gdb) next
1038 if (isSynchronized)
(gdb) next
1034 len = code->codeLen;
(gdb) next
1035 lastWasJump = 0;
(gdb) next
1038 if (isSynchronized)
(gdb) next
1044 while(len > 0)
(gdb) next
1047 offset = (ILUInt32)(pc - (unsigned char *)(code->code));
(gdb) next
1048 opcode = pc[0];
(gdb) next
1047 offset = (ILUInt32)(pc - (unsigned char *)(code->code));
(gdb) next
1048 opcode = pc[0];
(gdb) next
1049 if(opcode != IL_OP_PREFIX)
(gdb) next
1048 opcode = pc[0];
(gdb) next
1049 if(opcode != IL_OP_PREFIX)
(gdb) next
1059 insnSize = (ILUInt32)(insn->size);
(gdb) next
144 offset = offset * 3 + 1;
(gdb) next
1059 insnSize = (ILUInt32)(insn->size);
(gdb) next
144 offset = offset * 3 + 1;
(gdb) next
143 {
(gdb) next
1071 else if(lastWasJump)
(gdb) next
1085 if(haveDebug)
(gdb) next
1091 if(stackSize < ((ILUInt32)(insn->popped)) ||
(gdb) next
1099 lastWasJump = 0;
(gdb) next
1100 switch(opcode)
(gdb) next
1099 lastWasJump = 0;
(gdb) next
1100 switch(opcode)
(gdb) next
1932 returnType = ILTypeGetReturn(signature);
(gdb) next
1933 if(returnType != ILType_Void)
(gdb) next
1962 if (isSynchronized)
(gdb) next
1969 ILCoderReturnInsn(coder, ILEngineType_Invalid, ILType_Void);
(gdb) next
1972 lastWasJump = 1;
(gdb) next
1974 break;
(gdb) next
1125 pc += insnSize;
(gdb) next
1126 len -= insnSize;
(gdb) next
1131 if(!lastWasJump)
(gdb) next
1137 ILCoderMarkEnd(coder);
(gdb) next
1140 if(exceptions != 0 || isSynchronized)
(gdb) next
1146 result = ILCoderFinish(coder);
(gdb) next
1149 if(result == IL_CODER_END_RESTART)
(gdb) next
1155 else if(result == IL_CODER_END_TOO_BIG)
(gdb) next
1167 result = (result == IL_CODER_END_OK);
(gdb) next
1171 TempAllocatorDestroy(&allocator);
(gdb) next
1172 if(exceptions)
(gdb) next
1176 return result;
(gdb) next
1177 }
(gdb) next
ConvertMethod (thread=0x8172f80, method=0x40293180, errorCode=0xbffff594, errorInfo=0xbffff598) at convert.c:107
107 *errorCode = IL_CONVERT_OK;
(gdb) next
108 return 1;
(gdb) next
109 }
(gdb) next
_ILConvertMethod (thread=0x8172f80, method=0x1) at convert.c:502
502 if(start)
(gdb) next
501 unsigned char *start = ConvertMethod(thread, method, &errorCode, &errorInfo);
(gdb) next
502 if(start)
(gdb) next
565 }
(gdb) next
_ILJitOnDemandFunc (func=0x827c998) at jitc.c:863
863 }
(gdb) next
_jit_function_compile_on_demand (func=0x827c998) at jit-function.c:1106
1106 if(result == JIT_RESULT_OK)
(gdb) next
1105 result = (*(func->on_demand))(func);
(gdb) next
1106 if(result == JIT_RESULT_OK)
(gdb) next
1109 if(!(func->is_compiled))
(gdb) next
1111 if(jit_function_compile(func))
(gdb) next
1117 result = JIT_RESULT_OUT_OF_MEMORY;
(gdb) next
1125 _jit_function_free_builder(func);
(gdb) next
1133 jit_context_build_end(func->context);
(gdb) next
1134 if(result != JIT_RESULT_OK)
(gdb) next
1136 jit_exception_builtin(result);
(gdb) next
A builtin JIT exception could not be handled:
Out of memory
Program exited with code 01.
(gdb) next
The program is not being run.
(gdb)