From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14615 invoked by alias); 20 Feb 2003 01:09:03 -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 14604 invoked from network); 20 Feb 2003 01:09:03 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by 172.16.49.205 with SMTP; 20 Feb 2003 01:09:03 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id TAA02575; Wed, 19 Feb 2003 19:57:22 -0500 Received: from dash ([192.168.20.35]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id UAA14912; Wed, 19 Feb 2003 20:09:01 -0500 Message-ID: <002101c2d87d$27d02820$2a00a8c0@dash> From: "Kris Warkentin" To: "Andrew Cagney" Cc: References: <00e201c2d2ce$deb672b0$0202040a@catdog> <042801c2d459$ba442080$0202040a@catdog> <3E542550.2010207@redhat.com> Subject: Re: patch to add HAVE_CONTINUABLE_BREAKPOINT to target_ops Date: Thu, 20 Feb 2003 01:09:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2003-02/txt/msg00461.txt.bz2 The original message pasted below. You had asked me to submit a separate patch. cheers, Kris >> > #define HAVE_CONTINUABLE_WATCHPOINT > >> >> Hmm, this poses an interesting problem. The other i386 targets have >> this in their nm.h file, since they consider hardware watchpoints as a >> native-only feature. However, this isn't necessarily right since we >> might support hardware breakpoints via the remote protocol. If you >> can live with the native-only approach, please move this to your nm.h >> file. Otherwise we might need to multi-arch this definition. > > > Okay, file that under TODO along with the solib stuff. We have hardware > breakpoints on all our remote targets that support them. Just FYI, this needs to be added to the target vector (target.h) and not the architecture vector. For examples, see STOPPED_BY_WATCHPOINT et.al. A bit of manipulation of the existing nm-*.h files will be needed - have them define the value as 1. Can you please submit a separate patch that does just this. Andrew ----- Original Message ----- From: "Andrew Cagney" To: "Kris Warkentin" Cc: Sent: Wednesday, February 19, 2003 7:46 PM Subject: Re: patch to add HAVE_CONTINUABLE_BREAKPOINT to target_ops > Kris, > > I remember asking a question about debug info (so that set debug target > 1) did something useful (or did I misremember?). > > Andrew > >