From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 636 invoked by alias); 2 Aug 2010 08:09:42 -0000 Received: (qmail 620 invoked by uid 22791); 2 Aug 2010 08:09:41 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Aug 2010 08:09:37 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7289Z03028939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 2 Aug 2010 04:09:35 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7289XLk001540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Aug 2010 04:09:35 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o7289XJI016646; Mon, 2 Aug 2010 10:09:33 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o7289WBx016645; Mon, 2 Aug 2010 10:09:32 +0200 Date: Mon, 02 Aug 2010 08:09:00 -0000 From: Jan Kratochvil To: Shrikanth Kamath Cc: gdb@sourceware.org Subject: Re: GDB hardware watchpoint information on i386 Message-ID: <20100802080932.GA15770@host1.dyn.jankratochvil.net> References: <20100802065802.GA12049@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00006.txt.bz2 On Mon, 02 Aug 2010 09:55:02 +0200, Shrikanth Kamath wrote: > I mean there would be > foo_service_watchpoint() > { > /* map actions to this watchpoint */ > } > > which is this function? It is caught by bpstat_stop_status but you should not touch the existing breakpoint list there. Otherwise print_it_typical but I am not completely sure you cannot miss the watchpoint in some cases of multiple events at once (but the same applies for normal watchpoints themselves). Anyway I do not much understand why don't you connect externally. Jan