From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2072 invoked by alias); 19 Oct 2006 09:52:43 -0000 Received: (qmail 2062 invoked by uid 22791); 19 Oct 2006 09:52:43 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-02.spheriq.net (HELO fra-del-02.spheriq.net) (195.46.51.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Oct 2006 09:52:40 +0000 Received: from fra-out-03.spheriq.net (fra-out-03.spheriq.net [195.46.51.131]) by fra-del-02.spheriq.net with ESMTP id k9J9qZUD001877 for ; Thu, 19 Oct 2006 09:52:35 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-03.spheriq.net with ESMTP id k9J9qZIt000561 for ; Thu, 19 Oct 2006 09:52:35 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id k9J9qYJ7014706 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 19 Oct 2006 09:52:34 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F1177DA49; Thu, 19 Oct 2006 09:52:33 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3C25D472FF; Thu, 19 Oct 2006 09:52:32 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CIC83308 (AUTH stubbsa); Thu, 19 Oct 2006 10:52:30 +0100 (BST) Message-ID: <45374ADE.3040401@st.com> Date: Thu, 19 Oct 2006 09:52:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Michael Snyder Cc: GDB List Subject: Re: Breakpoints in delay slots References: <453608FC.2040201@st.com> <1161197474.9942.11.camel@localhost.localdomain> In-Reply-To: <1161197474.9942.11.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00138.txt.bz2 Michael Snyder wrote: > Sorry to be terse, but... > > (1) -O0 Actually it can still happen that the first instruction in a line is the nop in the delay slot, but that can be considered a compiler bug. > (2) "Don't do that". That's hardly the developer's choice. In the real world people sometimes have to debug optimised code and "don't do it" is not a useful answer. Andrew