GDB stub question?

Daniel Jacobowitz drow@false.org
Mon Apr 24 12:32:00 GMT 2006


On Mon, Apr 24, 2006 at 01:59:02PM +0530, Inder wrote:
> Hi Ramana
> 
> The stub is capable of single steping but can only step one
> instruction at a time, when debugging C code, the next or step should
> acutally step to the next source line, but in my case for every next
> or step i am only able to step one instruction.
> 
> The stub has no information about the source lines so the host is
> capable of doing this, by reading the debug info.

What's going wrong then?  GDB implements source level single stepping
by doing instruction level single stepping until the source line
changes.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list