This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

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



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