This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix breakpoints in unloaded shared libraries
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 22 Dec 2009 11:49:44 -0700
- Subject: Re: [patch] Fix breakpoints in unloaded shared libraries
- References: <20091025152004.GA14740@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "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