Changeset 637 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/DebugMiddleFile.cpp
- Timestamp:
- Jun 11, 2008, 10:10:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/DebugMiddleFile.cpp
r636 r637 141 141 BOOST_FOREACH( const SourceLine &sourceLine, oldSourceLines ) 142 142 { 143 *(long *)(buffer+i2) = sourceLine.GetLineNum();144 i2+=sizeof(long);145 146 143 *(long *)(buffer+i2) = sourceLine.GetNativeCodePos(); 147 144 i2+=sizeof(long); 148 145 149 *(long *)(buffer+i2) = sourceLine.GetRelationalObjectModuleIndex();150 i2+=sizeof(long);151 152 *(long *)(buffer+i2) = sourceLine.GetSourceCodePos();153 i2+=sizeof(long);154 155 146 *(long *)(buffer+i2) = sourceLine.GetCodeType(); 147 i2+=sizeof(long); 148 149 *(long *)(buffer+i2) = sourceLine.GetSourceCodePosition().GetRelationalObjectModuleIndex(); 150 i2+=sizeof(long); 151 152 *(long *)(buffer+i2) = sourceLine.GetSourceCodePosition().GetPos(); 156 153 i2+=sizeof(long); 157 154 … … 245 242 i2+=sizeof(long); 246 243 for(i3=0;i3<maxLineInfoNum;i3++){ 247 int lineNum = *(long *)(buffer+i2);248 i2+=sizeof(long);249 250 244 int nativeCodePos = *(long *)(buffer+i2); 251 245 i2+=sizeof(long); 252 246 253 int sourceIndex = *(long *)(buffer+i2); 247 DWORD sourceLineType = *(DWORD *)(buffer+i2); 248 i2+=sizeof(long); 249 250 int relationalObjectModuleIndex = *(long *)(buffer+i2); 254 251 i2+=sizeof(long); 255 252 256 253 int sourceCodePos = *(long *)(buffer+i2); 257 i2+=sizeof(long);258 259 DWORD sourceLineType = *(DWORD *)(buffer+i2);260 254 i2+=sizeof(long); 261 255 262 256 _oldSourceLines.push_back( 263 257 SourceLine( 264 lineNum,265 258 nativeCodePos, 266 sourceIndex, 267 sourceCodePos, 268 sourceLineType 259 sourceLineType, 260 SourceCodePosition( relationalObjectModuleIndex, sourceCodePos ) 269 261 ) 270 262 );
Note:
See TracChangeset
for help on using the changeset viewer.