[gnu.gdb.bug] glitch in gdb-3.0/encore

grunwald@M.CS.UIUC.EDU (Dirk Grunwald) (01/11/89)

There appears to be a bug in GDB-3.0, that I've been unable to narrow
down, although I would beleive it's with the COFF code.

I have a set of subroutines (the ``zopen'' routines mentioned on the net
that read/write compress-format files) that use ``setjmp'' and ``longjmp''.

There's an error in the code that is raised after a longjmp occurs.

On the Encore/UMAX, GDB-3.0 reports the error as occuring in a routine
called `sv', which is related to the setjmp/longjmp code. It gives no line
numbers in the stack trace.

SDB on the other hand, shows the error as occuring at a specific line in
the routine, with a backtrace.

I can send the code to anyone wishing to tackle this.

Dirk Grunwald
Univ. of Illinois
grunwald@m.cs.uiuc.edu