From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13355 invoked by alias); 25 Feb 2008 19:19:59 -0000 Received: (qmail 13337 invoked by uid 22791); 25 Feb 2008 19:19:57 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Feb 2008 19:19:35 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 166763C18E; Mon, 25 Feb 2008 11:19:33 -0800 (PST) Subject: Re: [RFA] Try2: Ignore breakpoints when reading memory. From: Michael Snyder To: Vladimir Prus Cc: gdb-patches@sources.redhat.com In-Reply-To: <200802241750.41264.vladimir@codesourcery.com> References: <200802241750.41264.vladimir@codesourcery.com> Content-Type: text/plain Date: Mon, 25 Feb 2008 19:30:00 -0000 Message-Id: <1203967172.19253.273.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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: 2008-02/txt/msg00374.txt.bz2 On Sun, 2008-02-24 at 17:50 +0300, Vladimir Prus wrote: > This patch is the immediate prerequisite for the > patch that makes breakpoints always inserted. Hmmm? Did I miss this discussion? I'm not sure leaving breakpoints always inserted is a good idea. If gdb becomes unexpectedly disconnected from the target/child, these breakpoints become an instant problem, and even if you can manage to re-connect, it's not a given that you can then remove them. This can already happen (eg. if you have a remote target, and you lose the serial connection while the target is in a "run" state), but it seems like this change would increase the likelyhood of this happening.