From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29315 invoked by alias); 6 Jan 2004 14:07:22 -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 29299 invoked from network); 6 Jan 2004 14:07:21 -0000 Received: from unknown (HELO marvin.codito.net) (203.197.88.2) by sources.redhat.com with SMTP; 6 Jan 2004 14:07:21 -0000 Received: from webmail.codito.com (localhost [127.0.0.1]) by marvin.codito.net (8.12.10/8.12.10/Debian-5) with SMTP id i06EJ8Fe002057; Tue, 6 Jan 2004 19:49:08 +0530 Received: from 203.199.140.162 (SquirrelMail authenticated user ramana.radhakrishnan) by webmail.codito.com with HTTP; Tue, 6 Jan 2004 19:49:08 +0530 (IST) Message-ID: <35305.203.199.140.162.1073398748.squirrel@webmail.codito.com> Date: Tue, 06 Jan 2004 14:07:00 -0000 Subject: Re: Hardware breakpoints / watchpoints From: "Ramana Radhakrishnan" To: jbeniston@compxs.com Cc: gdb@sources.redhat.com Reply-To: ramana.radhakrishnan@codito.com User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-01/txt/msg00049.txt.bz2 Thus spake Jon Beniston > Hi, > > Can anyone please shed a little more info on the current status of h/w > breakpoints and watchpoints? How do they fit in with multi arch targets? There are target methods for operating on hardware breakpoints / watchpoints. target.to_insert_hw_break(watch)point . So depending on the target specification the implementation is present. A case in study would be procf implementations of hw breakpoints / watchpoints with procfs . look at nto-procfs.c for the QNX Neutrino as a case study of stuff. You can also look at remote_insert_hw_breakpoint in remote.c . The simulator must also have such an interface since the simulator is one more target for gdb. cheers Ramana > Is there a standard interface for setting them in a simulator? > > Cheers, > JonB > > > ---- Ramana Radhakrishnan Codito Technologies