From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15771 invoked by alias); 16 Nov 2011 21:31:27 -0000 Received: (qmail 15762 invoked by uid 22791); 16 Nov 2011 21:31:26 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Nov 2011 21:31:13 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RQn4a-0003DW-7G from pedro_alves@mentor.com ; Wed, 16 Nov 2011 13:31:12 -0800 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 Nov 2011 21:31:10 +0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [3/3] RFC: fix PR mi/8444 Date: Wed, 16 Nov 2011 21:31:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-12-generic; KDE/4.7.2; x86_64; ; ) Cc: Tom Tromey References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201111162131.09204.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00455.txt.bz2 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