Re: dwarf, step over

2010-07-10 Thread Ian Lance Taylor
John Smith writes: > Im working on a C source level debugger. The debug info available in elf > format. How could be 'step over' implemented? > The problem is at 'Point1', anyway I can wait for the > next source line (reading it from the .debug_line table). > > Thanks > > > ... > if (a == 1) > x

dwarf, step over

2010-07-10 Thread John Smith
Hi, Im working on a C source level debugger. The debug info available in elf format. How could be 'step over' implemented? The problem is at 'Point1', anyway I can wait for the next source line (reading it from the .debug_line table). Thanks ... if (a == 1) x = 1; //Point1 else if (a == 2) x