Are you sure that this didn't work on Solaris 1 (SunOS 4) only ?

AFAICT this never worked with any official version of GDB on any version
of Solaris 2.x.
See also the following comment from gdb/config/sparc/tm-sun4sol2.h:

#if 0   /* FIXME Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */

> Recently moved from gdb 4.17 on solaris 2.[56]
> to gdb 4.18 on solaris 7, and have noticed that gdb no longer steps over
> a longjmp call as it  used to do.
> 
> That is, if you are single stepping (nexting actually), and you come to a
> longjmp call, when you say "n" the program just continues and runs to
> completion or the next breakpoint, if one is set.
> Previously, it would stop correctly at the first statement after in the "if
> setjmp" clause.
> 
> Is this a know bug/limitation, or is it supposed to work?
> Thanks for any tips...

-- 
Peter Schauer                   [EMAIL PROTECTED]

Reply via email to