This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [3/3] RFC: fix PR mi/8444
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Wed, 16 Nov 2011 21:31:08 +0000
- Subject: Re: [3/3] RFC: fix PR mi/8444
- References: <m3obwbhm0i.fsf@fleche.redhat.com>
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