From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14287 invoked by alias); 24 Mar 2005 23:32:13 -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 14060 invoked from network); 24 Mar 2005 23:32:07 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 24 Mar 2005 23:32:07 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DEboV-0003Z1-Qw; Thu, 24 Mar 2005 18:32:31 -0500 Date: Thu, 24 Mar 2005 23:32:00 -0000 From: Daniel Jacobowitz To: "Decker, Paul" Cc: Ramana Radhakrishnan , gdb@sources.redhat.com, amit bhor Subject: Re: RFC : Handling breakpoints on archs. with imprecise exceptions. Message-ID: <20050324233231.GA13653@nevyn.them.org> Mail-Followup-To: "Decker, Paul" , Ramana Radhakrishnan , gdb@sources.redhat.com, amit bhor References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00227.txt.bz2 On Thu, Mar 24, 2005 at 05:52:07PM -0500, Decker, Paul wrote: > Hi all, > > Could you just save and restore 4 instructions for each breakpoint, and > have a jump back to the original breakpoint address minus 1? No. For instance, you will now hit the breakpoint if an instruction two later in the stream is a branch target. Using more than one instruction for a breakpoint is a real losing proposition. -- Daniel Jacobowitz CodeSourcery, LLC