This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Breakpoints


David Williams wrote:
> 
> I have seen gdb use breakpoints when steping at the source level. It mostly uses
> multiple 's' packets but occasionally uses a break point. Of course when stepping
> over a function (next) it always uses a breakpoint. No one has given me a
> definitive answer on this, but from my experience so far it would seem that gdb
> does not set multiple breakpoints when stepping (using either step or next). If
> anyone has had a different experience I would love to hear from you.

It's target dependant.  Some architectures don't know how to single step
and instead are forced to set multiple breakpoints.

Of hand the old RS6000 (pre PowerPC) would be an example.

	Andrew

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