[3/3] RFC: fix PR mi/8444
Pedro Alves
pedro@codesourcery.com
Wed Nov 16 21:31:00 GMT 2011
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
More information about the Gdb-patches
mailing list