From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18605 invoked by alias); 15 Mar 2010 01:08:08 -0000 Received: (qmail 18596 invoked by uid 22791); 15 Mar 2010 01:08:07 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Mar 2010 01:08:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3BC9A2BAB6A; Sun, 14 Mar 2010 21:08:02 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HouS+wKdow2i; Sun, 14 Mar 2010 21:08:02 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0CFFF2BAB64; Sun, 14 Mar 2010 21:08:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 25F4CF5917; Sun, 14 Mar 2010 18:08:00 -0700 (PDT) Date: Mon, 15 Mar 2010 01:08:00 -0000 From: Joel Brobecker To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org, Pedro Alves Subject: Re: [RFC/7.1] Reset breakpoints after load Message-ID: <20100315010800.GH3045@adacore.com> References: <20100314162107.GG9310@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100314162107.GG9310@caradoc.them.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-03/txt/msg00520.txt.bz2 > * Don't read from the target during prologue analyzers; only read from > the executable file. I like this solution best, and it has other > merits (it's faster!). But it's the most work. I like this solution best too, but ... > 2010-03-14 Daniel Jacobowitz > > * symfile.c (generic_load): Reset breakpoints after loading. ... this seems fine, at least as a temporary measure. The only drawback I can see is performance, but I don't think it will be noticeable. -- Joel