From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10176 invoked by alias); 1 Dec 2004 17:30:36 -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 9527 invoked from network); 1 Dec 2004 17:30:20 -0000 Received: from unknown (HELO arwen.tausq.org) (64.81.244.109) by sourceware.org with SMTP; 1 Dec 2004 17:30:20 -0000 Received: by arwen.tausq.org (Postfix, from userid 1000) id DE46443810; Wed, 1 Dec 2004 09:30:18 -0800 (PST) Date: Wed, 01 Dec 2004 17:30:00 -0000 From: Randolph Chung To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch/RFA] multiarch INSTRUCTION_NULLIFIED Message-ID: <20041201173018.GG6359@tausq.org> Reply-To: Randolph Chung References: <20041128184141.GG6359@tausq.org> <41AA2D08.3030304@gnu.org> <20041129033013.GJ6359@tausq.org> <41AB3C1D.80509@gnu.org> <20041201061924.GZ6359@tausq.org> <20041201171137.GA8037@nevyn.them.org> <20041201171712.GE6359@tausq.org> <20041201171910.GA8771@nevyn.them.org> <20041201172530.GF6359@tausq.org> <20041201172811.GA9227@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041201172811.GA9227@nevyn.them.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.6+20040722i X-SW-Source: 2004-12/txt/msg00028.txt.bz2 > How do you detect that an instruction is nullified, or where the next > instruction executed will be? Is there a bit in some status register? yes, there's a bit in the processor status word to tell if the current instruction is nullified. the pa has a 2-level instruction pointer. (in gdb we call them pcoqh and pcoqt). pcoqt is the next instruction to be executed. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/