Auto removing BPs on stop

Fabian Cenedese Cenedese@indel.ch
Fri Sep 10 12:09:00 GMT 2004


Hi

Whenever the target stops gdb will remove all breakpoints from the target
and set them again before stepping/continuing. What functionality in gdb
depends on this? Backtrace? Breakpoint handling?
In our multitasking system a thread can stop on a breakpoint while the
others are still running, so the breakpoints are still useful and shouldn't
be removed.
What would break in gdb if I just removed those calls to unset/re-set
the breakpoints? I know that the setting is partly necessary as new
breakpoints aren't yet set.

Thanks

bye  Fabi




More information about the Gdb mailing list