From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6024 invoked by alias); 6 Feb 2004 15:26:47 -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 6017 invoked from network); 6 Feb 2004 15:26:47 -0000 Received: from unknown (HELO smtp.web.de) (217.72.192.208) by sources.redhat.com with SMTP; 6 Feb 2004 15:26:47 -0000 Received: from emagic-gw.de ([212.86.34.67] helo=web.de) by smtp.web.de with asmtp (WEB.DE 4.99 #605) id 1Ap7sU-0005oF-00 for gdb@sources.redhat.com; Fri, 06 Feb 2004 16:26:46 +0100 Message-ID: <4023B234.6050201@web.de> Date: Fri, 06 Feb 2004 15:26:00 -0000 From: Heiko Panther User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: gdb-5.3: how to avoid soft breakpoints? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00055.txt.bz2 I have an embedded target running gdb stub on an openrisc processor (www.opencores.org). The application is running from ROM, so I cannot set soft breakpoints. I worked the gdb stub so it will ERR Z0 packets, and use Z[123] packets. This works perfectly well with hbreak. break will attempt to set a soft breakpoint and fail. So do "next" and "finish" when they try to set a breakpoint. Is there any way around that? Can I have gdb totally avoid soft breakpoints? Heiko