This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB stub question?


On Wed, Apr 26, 2006 at 03:32:25PM +0530, Inder wrote:
> Hi Daniel
> Thanks for your responce. The problem was with the signals received
> from the target which promoted the inf to abort.
> 
> I do have another question, now GDB for single source stepping
> receives control after every instruction step. This makes single
> stepping very slow if you have a slow serial interface.
> 
> Is there any way we could revert back to the old way (i.e)
>   - set breakpoint at the next address
>   - continue
>   - remove breakpoint.

GDB has never done this to implement source single stepping, so I don't
know what you want.  You can't predict the next address that far ahead;
what if the current line contains a branch?

You might want to look at the T packet response if you aren't already
using it; supplying a few registers there can make stepping much
faster.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]