This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Auto removing BPs on stop
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Fri, 10 Sep 2004 14:08:16 +0200
- Subject: Auto removing BPs on stop
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