dwarf, step over
Posted: Sun Jul 18, 2010 9:26 am
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).
Now I put breakpoint after the current line to execute 'step over' but in this case it isnt good.
My small example
http://www.sendspace.com/file/dt0ljg
Thanks
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).
Code: Select all
if (a == 1)
x = 1; //Point1
else if (a == 2)
x = 1;
z = 1;
My small example
http://www.sendspace.com/file/dt0ljg
Thanks