From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9564 invoked by alias); 4 Sep 2003 09:13:30 -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 9553 invoked from network); 4 Sep 2003 09:13:27 -0000 Received: from unknown (HELO gate.algorithm.aelita.com) (212.176.18.2) by sources.redhat.com with SMTP; 4 Sep 2003 09:13:27 -0000 Received: from bagman.edm.com ([10.0.0.4]) by gate.algorithm.aelita.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with ESMTP id com for ; Thu, 4 Sep 2003 13:14:17 +0400 content-class: urn:content-classes:message Subject: RE: pa-risc 1.1 and breakpoint MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 04 Sep 2003 09:13:00 -0000 Message-ID: <3F6F4712B759A34ABD453A8B39C10D62F60C0B@bagman.edm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lev Assinovsky" To: "Andrew Cagney" Cc: X-SW-Source: 2003-09/txt/msg00052.txt.bz2 I found how work around. Instead of "continue" I "jump" to the line following "break". Now I have mutch bigger problem!! gdb doesn't see the shared libraries loaded explicitly! I need help!! =20 Thanks,=20 ---- Lev Assinovsky Aelita Software Corporation O&S Core Division, Programmer ICQ# 165072909 > -----Original Message----- > From: Andrew Cagney [mailto:ac131313@redhat.com] > Sent: Thursday, September 04, 2003 2:51 AM > To: Lev Assinovsky > Cc: gdb@sources.redhat.com > Subject: Re: pa-risc 1.1 and breakpoint >=20 >=20 > > Hello all! > > Sometimes I need to insert breakpoint right in my gcc=20 > program code. > > For Solaris x86 I use __asm__( "int $3" ); > > When I run the program with gdb it stops and I can debug=20 > and continue of course. > > I tried __asm__( "break 4,8" ) for pa-risc 1.1 but unsuccessfully. > > gdb stops but can't continue. > >=20 > > What must be the right instruction sequence for pa-risc 1.1? > > Any help will be greatly appreciated! >=20 > I don't know that this is supported. However, you could investigate=20 > permenant breakpoints. >=20 > Andrew >=20 >=20 >=20