From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14469 invoked by alias); 9 Aug 2002 16:26:12 -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 14407 invoked from network); 9 Aug 2002 16:26:11 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 9 Aug 2002 16:26:11 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 30E513C71; Fri, 9 Aug 2002 12:26:09 -0400 (EDT) Message-ID: <3D53ED21.6090001@ges.redhat.com> Date: Fri, 09 Aug 2002 09:26:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020802 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grace Sainsbury Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] hardware breakpoints -- remote targets References: <20020806121916.A24815@tomago.toronto.redhat.com> <20020808130648.A27850@tomago.toronto.redhat.com> <3D52B8B9.6070409@ges.redhat.com> <20020809114146.A29942@tomago.toronto.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00215.txt.bz2 > I made the sugested changes, and removed the set and show functions > from this patch. > > ok? > > grace > > 2002-08-09 Grace Sainsbury > > * remote.c: (remote_wait, remote_async_wait): Add check for awatch > T-packets; the 'a' is not taken as a register number. > (remote_check_watch_resources, remote_stopped_by_watchpoint) > (remote_stopped_data_address): New functions; add to target > vector. > (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change > prototypes to match other implementations of this > function. replace integer argument with pointer -- the length > field in the Z-packet is the length of what is pointed to or 1 if > pointer is null. Add to target vector. > (remote_insert_watchpoint, remote_remove_watchpoint): Add to > target vector. > Yes. Thanks! I suspect the set/show stuff is going to need a bit of brainstorming (and knowing GDB's luck, a refinement to the remote protocol). Hmm, now you get to the tricky bit. Getting a single native i386-unknown-linux-gnu gdb to use remote watchpoints when remote but native watchpoints when native ... :-) enjoy, Andrew