From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14323 invoked by alias); 27 Apr 2006 02:10:38 -0000 Received: (qmail 14313 invoked by uid 22791); 27 Apr 2006 02:10:37 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 27 Apr 2006 02:10:33 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FYvxe-0003bg-RE; Wed, 26 Apr 2006 22:10:30 -0400 Date: Thu, 27 Apr 2006 02:10:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb-patches@sourceware.org Subject: Re: [RFC] problem fetching inferior memory due to breakpoint Message-ID: <20060427021030.GA13830@nevyn.them.org> Mail-Followup-To: Michael Snyder , gdb-patches@sourceware.org References: <20060426190517.GA930@adacore.com> <20060426191946.GA28844@nevyn.them.org> <20060426211817.GB930@adacore.com> <20060426213923.GA6253@nevyn.them.org> <20060426221801.GC930@adacore.com> <20060426222904.GA9745@nevyn.them.org> <44500338.4090808@redhat.com> <20060427004221.GA12481@nevyn.them.org> <4450204A.1020503@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4450204A.1020503@redhat.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00357.txt.bz2 On Wed, Apr 26, 2006 at 06:37:14PM -0700, Michael Snyder wrote: > If the breakpoints_inserted flag were made globally available > (thru an accessor method, of course), then there is a really > inexpensive way to determine that the list-walking step may > be skipped. Right, but my point is that the concept of an "all breakpoints are inserted" flag may have its days numbered. If we want to scale to large numbers of breakpoints - e.g. on an inlined function - I don't think we can remove all breakpoints. -- Daniel Jacobowitz CodeSourcery