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: Unwanted stepi caused by continue command in remote debugging


On Fri, Dec 07, 2007 at 07:43:22PM +0800, Wenbo Yang wrote:
> A "continue" command cause 2 "c" RSP packets, the first for stepi, the second 
> is the continue. I wonder if I can turnoff this feature(the unwanted stepi) by 
> change some macros or option variables in gdb source code? Thank you!

No, it is vital.  GDB is stepping past the breakpoint that it hit the
last time the program stopped.  If we just continued, we'd hit the
same breakpoint again immediately.

-- 
Daniel Jacobowitz
CodeSourcery


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