Breakpoints

David Williams davidwilliams@ozemail.com.au
Sat Apr 1 00:00:00 GMT 2000


Thanks,

So some targets may set multiple breakpoints. What I want to know is does 68K support
in gdb ever need to set multiple breakpoints? Which part of source code should I check
to see? I have had a quick look but got hopelessly lost I have not looked at the source
for gdb before.

TIA
David Williams
davidwilliams@ozemail.com.au

Andrew Cagney wrote:

> 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



More information about the Gdb mailing list