From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19501 invoked by alias); 24 Jan 2012 17:22:49 -0000 Received: (qmail 19483 invoked by uid 22791); 24 Jan 2012 17:22:47 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr3.ericy.com (HELO imr3.ericy.com) (198.24.6.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 17:22:34 +0000 Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id q0OHMWBd010110 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 24 Jan 2012 11:22:32 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.142]) by eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) with mapi; Tue, 24 Jan 2012 12:22:31 -0500 From: Marc Khouzam To: "'Tom Tromey'" , "'Pedro Alves'" CC: "'gdb-patches@sourceware.org'" Date: Tue, 24 Jan 2012 17:28:00 -0000 Subject: RE: [4/4] RFC: implement catch load and catch unload Message-ID: References: <4F19B998.2030308@redhat.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-01/txt/msg00831.txt.bz2 > -----Original Message----- > From: Tom Tromey [mailto:tromey@redhat.com]=20 > Sent: Tuesday, January 24, 2012 11:56 AM > To: Pedro Alves > Cc: gdb-patches@sourceware.org; Marc Khouzam > Subject: Re: [4/4] RFC: implement catch load and catch unload >=20 > CC'ing Marc Khouzam for this one sub-thread. >=20 > Pedro> I know Eclipse used to rely "set stop-on-solib-events=20 > 1". Not sure they > Pedro> still do. So if it doesn't convert to the MI events,=20 > it'll break. Maybe > Pedro> just one more reason to make sure they do adjust. :-) >=20 > I think the change here occurred with the patch to PR 8444.=20=20 > That patch > changed a printf_filtered to ui_out_text. I can add the=20 > printf_filtered > back -- but I think it would be better for Eclipse and other=20 > MI clients > to just start examining the new *stopped reasons. (The MI docs have a > list of these...) >=20 > Marc, I am curious to know what Eclipse uses this for. The default GDB integration (DSF) does not use it. In fact, we don't offer that feature to our users (but we should). However, the legacy GDB integration (CDI) does use it: [1,327,424,864,825] 8-gdb-set stop-on-solib-events 1 [1,327,424,864,826] 8^done Not having this command won't prevent CDI from debugging, but will have two impacts, as far as I know: 1- no more user feature to stop on lib events 2- breakpoints set on non-loaded libs will no longer be installed (since CDI does not use pending breakpoints, but tries to plant failed bps at each new lib load event) We do tell people that CDI is not being maintained. I guess eventually, we have to expect some degradation as GDB keeps evolving. Thanks for keeping me in the loop. Once you decide how you want GDB to move forward, if needed, I'll open a bug on CDI to track the breakage. Thanks Marc