pa-risc 1.1 and breakpoint

Andrew Cagney ac131313@redhat.com
Wed Sep 3 22:50:00 GMT 2003


> 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




More information about the Gdb mailing list