This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3/3] RFC: fix PR mi/8444


On Wednesday 16 November 2011 20:04:29, Tom Tromey wrote:

> @@ -11144,6 +11195,9 @@ internal_bkpt_print_it (bpstat bs)
>  	 variable?  (If so, we report this as a generic, "Stopped due
>  	 to shlib event" message.) */
>        printf_filtered (_("Stopped due to shared library event\n"));
> +      if (ui_out_is_mi_like_p (uiout))
> +	ui_out_field_string (uiout, "reason",
> +			     async_reason_lookup (EXEC_ASYNC_SOLIB_EVENT));

TARGET_WAITKIND_LOADED targets print this elsewhere, as
they don't use a shared library event breakpoint.  See
infrun.c:normal_stop.  Can you give that the same treatment?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]