From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4652 invoked by alias); 12 Feb 2009 20:11:16 -0000 Received: (qmail 4642 invoked by uid 22791); 12 Feb 2009 20:11:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_13,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 20:11:03 +0000 Received: (qmail 30252 invoked from network); 12 Feb 2009 20:11:01 -0000 Received: from unknown (HELO wind.local) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Feb 2009 20:11:01 -0000 From: Vladimir Prus To: Tom Tromey Subject: Re: MI solib notification Date: Thu, 12 Feb 2009 20:17:00 -0000 User-Agent: KMail/1.9.10 Cc: Marc Khouzam , gdb-patches@sources.redhat.com, Nick Roberts References: <200901310010.46738.vladimir@codesourcery.com> <20090212180215.GA22097@caradoc.them.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902122311.05275.vladimir@codesourcery.com> 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: 2009-02/txt/msg00294.txt.bz2 On Thursday 12 February 2009 22:58:37 Tom Tromey wrote: > >>>>> "Daniel" == Daniel Jacobowitz writes: > > Daniel> I agree with your rationale. I almost suggested we push the aout > Daniel> check down into disable_breakpoints_in_unloaded_shlib... what do you > Daniel> think? > > It sounds reasonable to me. > Pedro also suggested this... great minds :-) Can you write down the comment that disable_breakpoints_in_unloaded_shlib would have to contain to explain all this? ;-) I assume it will go like this: Don't emit any message here for a.out, because for all the other targets some other code calls some other function that arranges for this message to not be printed when rerunning the program... In other words, the problem with checking for a.out is that it deeply depends on intricate details of some other code. I think disable_breakpoints_in_unloaded_shlib can either do: 1. Check for target_has_execution or similar 2. Check for a new parameter to the observer, like 'mass_murder' - Volodya > > Tom >