This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: pa-risc 1.1 and breakpoint
- From: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- To: "Andrew Cagney" <ac131313 at redhat dot com>
- Cc: <gdb at sources dot redhat dot com>
- Date: Thu, 4 Sep 2003 13:12:50 +0400
- Subject: RE: pa-risc 1.1 and breakpoint
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!!
Thanks,
----
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
>
>
> > 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
>
>
>