This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: break of close loop
- From: Daniel Jacobowitz <drow at false dot org>
- To: Efim Monjak <ymonyak at lipowsky dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 4 Nov 2005 09:27:02 -0500
- Subject: Re: break of close loop
- References: <436B2677.4020802@lipowsky.de>
On Fri, Nov 04, 2005 at 10:14:31AM +0100, Efim Monjak wrote:
> Hi,
>
> as I see the step for debugger is not the same as stepi.
> After step command debugger try to go to the next source line.
> I think it checks for number of source line.
> I mean many single steps can be done before an another source
> line is recognised. Recognising of an other source line is need
> to complete the step command.
> After single step command only one single step is done. I don't know
> if for an other address is checked or single step responce is enougth
> to complete the single step.
Then your stub is simply wrong. GDB expects a single step instruction
to execute a single instruction, not until the address changes.
--
Daniel Jacobowitz
CodeSourcery, LLC