From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6872 invoked by alias); 2 Jan 2003 15:16:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6859 invoked from network); 2 Jan 2003 15:16:37 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by 209.249.29.67 with SMTP; 2 Jan 2003 15:16:37 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E289A3DE5; Thu, 2 Jan 2003 15:16:26 +0000 (GMT) Message-ID: <3E1457CA.8070201@redhat.com> Date: Thu, 02 Jan 2003 15:16:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steven Johnson Cc: gdb@sources.redhat.com Subject: Re: Hardware Watchpoints References: <3E13EC74.8090802@neurizon.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00007.txt.bz2 > Does anyone know if hardware watchpoints are supposed to work with the GDB standard remote protocol. They are documented in the protocol (Z packets), and there even appears to be code in remote.c, but there seems to be no way to activate them. What am I missing? > > Yes, i tried "set remote Z-packet on" which seems to do not much useful. > > Im using a very late snapshot just prior GDB 5.3, I don't recall seeing anything about this in the GDB 5.3 release notes. They, er, almost work. I found a problem when testing them just before taking my summer break. Need to get the patch integrated. Briefly, GDB thinks that the target supports zero hardware breakpoints and there is no way (minus editing a file) of changing this. Andrew