From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11717 invoked by alias); 17 Jun 2009 12:32:08 -0000 Received: (qmail 11653 invoked by uid 22791); 17 Jun 2009 12:32:07 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Wed, 17 Jun 2009 12:31:58 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 70BD52BAB44; Wed, 17 Jun 2009 08:31:56 -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 APxBjoJJ6Eka; Wed, 17 Jun 2009 08:31:56 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2912F2BAB47; Wed, 17 Jun 2009 08:31:56 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 05F30F596C; Wed, 17 Jun 2009 05:31:53 -0700 (PDT) Date: Wed, 17 Jun 2009 12:32:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: Pierre Muller , gdb-patches@sourceware.org, 'Eli Zaretskii' Subject: Re: [PING][RFA-v2] Fix troubles with watchpoints in DJGPP Message-ID: <20090617123152.GA7582@adacore.com> References: <001401c9de9f$928b9f80$b7a2de80$@u-strasbg.fr> <200906162359.43456.pedro@codesourcery.com> <000601c9eed8$fcfaa0c0$f6efe240$@u-strasbg.fr> <200906170046.22746.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906170046.22746.pedro@codesourcery.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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-06/txt/msg00432.txt.bz2 > /* If the user sets watchpoints before execution having started, > then she gets software watchpoints, because GDB can't know which > target will end up being pushed, or if it supports hardware > watchpoints or not. breakpoint_re_set takes care of promoting > watchpoints to hardware watchpoints if possible, however, if this > new inferior doesn't load shared libraries or we don't pull in > symbols from any other source on this target/arch, > breakpoint_re_set is never called. Call it now so that software > watchpoints get a chance to be promoted to hardware watchpoints > if the now pushed target supports hardware watchpoints. */ > breakpoint_re_set (); Best Comment Of The Year Award! I love comments like these. -- Joel