This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI solib notification
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Vladimir Prus <vladimir at codesourcery dot com>, Eli Zaretskii <eliz at gnu dot org>, drow at false dot org, gdb-patches at sources dot redhat dot com, nickrob at snap dot net dot nz
- Date: Tue, 17 Feb 2009 21:59:29 +0000
- Subject: Re: MI solib notification
- References: <200901310010.46738.vladimir@codesourcery.com> <u4oysx3qq.fsf@gnu.org> <200902172244.48437.vladimir@codesourcery.com>
On Tuesday 17 February 2009 19:44:48, Vladimir Prus wrote:
> @@ -4457,6 +4457,14 @@ disable_breakpoints_in_unloaded_shlib (struct so_list *solib)
> struct bp_location *loc;
> int disabled_shlib_breaks = 0;
>
> + /* SunOS a.out shared libraries are always mapped, so do not
> + disable breakpoints; they will only be reported as unloaded
> + through clear_solib when GDB discards its shared library
> + list. See clear_solib for more information. */
> + if (exec_bfd != NULL
> + && bfd_get_flavour (exec_bfd) != bfd_target_aout_flavour)
> + return;
> +
Isn't this check backwards?
--
Pedro Alves