This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI solib notification
On Tue, Feb 17, 2009 at 10:44:48PM +0300, Vladimir Prus wrote:
> commit c1091d19fe7c4b02bb5ea623761e4caa0d6fe537
> Author: Vladimir Prus <vladimir@codesourcery.com>
> Date: Fri Jan 30 20:50:50 2009 +0300
>
> Implement MI notification for library loading/unloading
>
> gdb/doc/
> * gdb.texinfo (GDB/MI Async Records): Document the
> =library-loaded and =library-unloaded notifications.
>
> gdb/
> * mi/mi-interp.c (mi_solib_loaded, mi_solib_unloaded): New.
> (mi_interpreter_init): Register the above.
> * solib.c (clear_solib): Notify solib unload.
> * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Do not
> disable breakpoints on a.out targets.
>
> gdb/testsuite/
> * gdb.mi/mi-nonstop.exp (notifs): Adjust for library notifications.
> * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
> * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
> * lib/mi-support.exp (library_loaded_re): New.
> (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
The code portions of this are OK now, thanks.
> +static void mi_solib_loaded (struct so_list *solib)
> +static void mi_solib_unloaded (struct so_list *solib)
Newline after void please.
--
Daniel Jacobowitz
CodeSourcery