From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25465 invoked by alias); 6 May 2004 04:58:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25416 invoked from network); 6 May 2004 04:58:16 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 6 May 2004 04:58:16 -0000 Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1BLawq-0001Wk-1z; Thu, 06 May 2004 00:57:28 -0400 Date: Thu, 06 May 2004 04:58:00 -0000 Message-Id: From: Eli Zaretskii To: Orjan Friberg CC: weigand@i1.informatik.uni-erlangen.de, kettenis@chello.nl, gdb-patches@sources.redhat.com, drow@false.org In-reply-to: <4098A4F6.5020106@axis.com> (message from Orjan Friberg on Wed, 05 May 2004 10:25:26 +0200) Subject: Re: Display of read/access watchpoints when HAVE_NONSTEPPABLE_WATCHPOINT Reply-to: Eli Zaretskii References: <200405042208.AAA07379@faui1d.informatik.uni-erlangen.de> <4098A4F6.5020106@axis.com> X-SW-Source: 2004-05/txt/msg00148.txt.bz2 > Date: Wed, 05 May 2004 10:25:26 +0200 > From: Orjan Friberg > > Note that tm-frv.h and nm-hppah.h actually use the struct > target_waitstatus that is normally passed as an argument to the > STOPPED_BY_WATCHPOINT macro. Thanks for the heads-up. Thus, for the STOPPED_BY_WATCHPOINT trick to work, bpstat_stop_status needs to have access to the relevant parts of the inferior's struct execution_control_state variable. It doesn't seem to me too hard to pass that as an additional argument.