From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30061 invoked by alias); 19 Feb 2006 18:20:41 -0000 Received: (qmail 30053 invoked by uid 22791); 19 Feb 2006 18:20:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 19 Feb 2006 18:20:40 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FAtAk-000580-Fc for gdb@sourceware.org; Sun, 19 Feb 2006 13:20:38 -0500 Date: Sun, 19 Feb 2006 18:38:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: MI: reporting of multiple breakpoints Message-ID: <20060219182038.GB19352@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org References: <20060217194426.GA28988@nevyn.them.org> <17398.11182.747232.774924@gargle.gargle.HOWL> <20060217200712.GB30145@nevyn.them.org> <17398.12047.624911.347942@gargle.gargle.HOWL> <20060217202047.GC30881@nevyn.them.org> <17398.15554.431196.208031@gargle.gargle.HOWL> <20060217211942.GA609@nevyn.them.org> <17400.46121.875000.537237@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17400.46121.875000.537237@gargle.gargle.HOWL> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00251.txt.bz2 On Sun, Feb 19, 2006 at 01:08:41PM -0500, Paul Koning wrote: > My point is that, at least on some of the platforms, a watchpoint > exception will deliver the PC of the instruction doing the store, or > that PC can be deduced. Therefore, on such platforms, that is the PC > that should be reported, which will make the report point to the right > source line. Of course, the resume will not resume there, but GDB > already has machinery for that. I've got no idea what you mean by "GDB already has machinery for that". Want to clarify? We present a source location based on the current frame, which is a PC derived from the current register values. What you see is what you get when you continue. -- Daniel Jacobowitz CodeSourcery