From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27827 invoked by alias); 15 Nov 2007 04:04:00 -0000 Received: (qmail 27819 invoked by uid 22791); 15 Nov 2007 04:03:59 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Nov 2007 04:03:56 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-247-244.inter.net.il [84.228.247.244]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EDG85572 (AUTH halo1); Thu, 15 Nov 2007 06:03:42 +0200 (IST) Date: Thu, 15 Nov 2007 04:04:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb-patches@sources.redhat.com In-reply-to: <200711142324.11319.vladimir@codesourcery.com> (message from Vladimir Prus on Wed, 14 Nov 2007 23:24:10 +0300) Subject: Re: delete_breakpoint: don't try to insert other breakpoints Reply-to: Eli Zaretskii References: <200711142324.11319.vladimir@codesourcery.com> 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: 2007-11/txt/msg00295.txt.bz2 > From: Vladimir Prus > Date: Wed, 14 Nov 2007 23:24:10 +0300 > > The delete_breakpoint function tries to check if the > breakpoint being deleted is inserted in inferior, and if > so, searched for breakpoints that are set at the same address > and tries to insert them. However, GDB removes breakpoint > from the inferior immediately when inferior is stopped, > so this code will never run. I think you are assuming that this code does and will always run synchronously. Is that a valid assumption?