From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1947 invoked by alias); 25 May 2007 12:50:43 -0000 Received: (qmail 1926 invoked by uid 22791); 25 May 2007 12:50:37 -0000 X-Spam-Check-By: sourceware.org Received: from dmz.mips-uk.com (HELO dmz.mips-uk.com) (194.74.144.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 May 2007 12:50:36 +0000 Received: from internal-mx1 ([192.168.192.240] helo=ukservices1.mips.com) by dmz.mips-uk.com with esmtp (Exim 3.35 #1 (Debian)) id 1HrZFZ-0005aU-00; Fri, 25 May 2007 13:50:33 +0100 Received: from perivale.mips.com ([192.168.192.200]) by ukservices1.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1HrZ4o-0004JD-00; Fri, 25 May 2007 13:39:26 +0100 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 4.63) (envelope-from ) id 1HrZ4n-0004T7-Ur; Fri, 25 May 2007 13:39:25 +0100 Date: Fri, 25 May 2007 12:50:00 -0000 From: "Maciej W. Rozycki" To: Daniel Jacobowitz cc: gdb-patches@sourceware.org, Chris Dearman , "Maciej W. Rozycki" Subject: Re: mips-tdep.c: Adjust breakpoints in branch delay slots In-Reply-To: Message-ID: References: <20070524183129.GA10094@caradoc.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MIPS-Technologies-UK-MailScanner: Found to be clean X-MIPS-Technologies-UK-MailScanner-From: macro@mips.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00389.txt.bz2 On Fri, 25 May 2007, Maciej W. Rozycki wrote: > In principle on bare iron it should be doable, but the problem is, IIRC, > the state of cp0.cause.bd is not propagated under Linux to userland in any > way. And at the moment I'm not sure how this would affect EJTAG debugging > either. FYI, I have now checked Linux and it should be fine -- must have been my bad memory. EJTAG has provisions for handling this correctly (cp0.debug.dbd), but I'm not sure if associated software gets it right. Maciej