From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8590 invoked by alias); 20 Sep 2002 15:26:14 -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 8582 invoked from network); 20 Sep 2002 15:26:12 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 20 Sep 2002 15:26:12 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 28D053CF9; Fri, 20 Sep 2002 11:26:11 -0400 (EDT) Message-ID: <3D8B3E13.7000902@ges.redhat.com> Date: Fri, 20 Sep 2002 08:26:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Koning Cc: gdb@sources.redhat.com Subject: Re: Getting the i386 watchpoints into the taget vector? References: <3D8A8094.5080908@ges.redhat.com> <15755.9058.187528.886382@pkoning.dev.equallogic.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00314.txt.bz2 >>>>>> "Andrew" == Andrew Cagney writes: > > > Andrew> One thought is to change the config/i386/nm-i386.h macros to > Andrew> something native specific (native_insert_watchpoint()) and > Andrew> then have the various native targets (infptrace.c, ...) add > Andrew> these methods to their target vector. > > Andrew> It does restrict things to native targets. A remote target > Andrew> couldn't make use of GDB's built-in knowledge of watchpoint > Andrew> registers. > > General comment: for an embedded systems developer, it's a constant > source of bafflement to trip over gdb features that don't work in a > remote-target setting. It sure would be nice if the number of such > cases were going down, not up, over time. Can you document or bug report them? Of hand I can only think of gcore (and that largely requires someone to perform the leg work). Andrew