[patch] Fix breakpoints in unloaded shared libraries

Tom Tromey tromey@redhat.com
Tue Dec 22 18:49:00 GMT 2009


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> breakpoints after:
Jan> 	warning: Temporarily disabling breakpoints for ...
Jan> are currently not handled correctly and GDB does even crash (with
Jan> -lmcheck).

Jan> 2009-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> gdb/
Jan> 	* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
Jan> 	(print_breakpoint_location): New comment.  Check LOC->SHLIB_DISABLED.
Jan> 	Check LOC validity before printing it.  Use LOC instead of B->LOC.
Jan> 	Swap the if conditionals order.

This is ok.  Thanks.

Tom



More information about the Gdb-patches mailing list