This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix bug with std::terminate handler
Also see a couple of PRs I just opened related to this.
A real issue/bug, PR11328
<http://sourceware.org/bugzilla/show_bug.cgi?id=11328>
GDB can miss catching std::terminate calls. Making
breakpoint resetting not wipe the std::terminate breakpoint
should fix this as well. Your patch wouldn't fix this.
Cosmetic issue, PR11327:
<http://sourceware.org/bugzilla/show_bug.cgi?id=11327>
With your patch, gdb would show "Breakpoint -5", or some other
negative number instead. This must have been the problem that
let to the make_breakpoint_silen workaround I mentioned before.
--
Pedro Alves