From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20549 invoked by alias); 8 Jul 2003 21:02:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20542 invoked from network); 8 Jul 2003 21:02:23 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 8 Jul 2003 21:02:23 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BA1B52B5F; Tue, 8 Jul 2003 17:02:22 -0400 (EDT) Message-ID: <3F0B315E.7000702@redhat.com> Date: Tue, 08 Jul 2003 21:02:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: "Gdb@Sources.Redhat.Com" Subject: Re: [rfc] Print solib events in mi-mode References: <062401c34590$97cd09b0$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00088.txt.bz2 > What do you think of something like this? When stop-on-solib-events is set, > this will print the reason as being a shared-lib-event. > > Our Eclipse team wants to be able to set breakpoints in shared libraries > that aren't loaded yet. If they get notification of shlib-events, then they > can re-examine the list of loaded libraries and set any breakpoints that > have been enabled in the project's libs. See: [RFC] add 'save-breakpoints' command http://sources.redhat.com/ml/gdb-patches/2001-12/threads.html#00114 (but check for other related threads). The resolution was interesting, instead of adding a new command, modify the existing command so that it would add breakpoints that would be automatically enabled later. Andrew (although the patch is probably also useful)