From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9808 invoked by alias); 3 Sep 2003 22:50:43 -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 9801 invoked from network); 3 Sep 2003 22:50:42 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 3 Sep 2003 22:50:42 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4D0882B7F; Wed, 3 Sep 2003 18:50:43 -0400 (EDT) Message-ID: <3F567043.9080706@redhat.com> Date: Wed, 03 Sep 2003 22:50:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lev Assinovsky Cc: gdb@sources.redhat.com Subject: Re: pa-risc 1.1 and breakpoint References: <3F6F4712B759A34ABD453A8B39C10D62C46A73@bagman.edm.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00043.txt.bz2 > Hello all! > Sometimes I need to insert breakpoint right in my gcc program code. > For Solaris x86 I use __asm__( "int $3" ); > When I run the program with gdb it stops and I can debug and continue of course. > I tried __asm__( "break 4,8" ) for pa-risc 1.1 but unsuccessfully. > gdb stops but can't continue. > > What must be the right instruction sequence for pa-risc 1.1? > Any help will be greatly appreciated! I don't know that this is supported. However, you could investigate permenant breakpoints. Andrew