From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4310 invoked by alias); 10 Aug 2004 15:27:08 -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 4295 invoked from network); 10 Aug 2004 15:27:07 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 10 Aug 2004 15:27:07 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i7AFR2e3018529 for ; Tue, 10 Aug 2004 11:27:02 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i7AFR2a13000; Tue, 10 Aug 2004 11:27:02 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4EC042B9D; Tue, 10 Aug 2004 11:26:55 -0400 (EDT) Message-ID: <4118E93F.3060902@gnu.org> Date: Tue, 10 Aug 2004 15:27:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Monika Chaddha Cc: gdb@sources.redhat.com Subject: Re: break instruction does not work for mips simulator References: <000801c47ec2$cb6eadc0$5100a8c0@monika> In-Reply-To: <000801c47ec2$cb6eadc0$5100a8c0@monika> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00149.txt.bz2 > Hi > > 'Break' instruction does not work for mips32 and mips16 targets in a > user program (asm file). When I try to execute 'break'instruction, the > control does not proceed, again and again the same instruction 'break' > executes and also I don't get any break point exception. > > Is it any known bug in GDB? This behavior is to be expected. Since GDB didn't insert the breakpoint it has no reason to remove/skip it. You can set: handle SIGTRAP pass noprint nostop and GDB will pass such traps back to the inferior, however, no guarantee on what happens next. Andrew