[gnu.gdb.bug] ptrace errors for Sun4, gdb 3.5

edg%galileo.Berkeley.EDU@JADE.BERKELEY.EDU (02/25/90)

I am debugging a g++ program which causes a seg fault.  After the
segmentation fault, the "where" command causes a ptrace error:

Program received signal 11, Segmentation fault
totalSize__9SpaceWalkR6Galaxy ($this=(SpaceWalk *) 0xf7fff568, galaxy=(Galaxy &)
 (0x0 &) = ptrace: I/O error.
Cannot read memory: address 0x0 out of bounds.
(gdb) where
#0  totalSize__9SpaceWalkR6Galaxy ($this=(SpaceWalk *) 0xf7fff568, galaxy=(Galax
y &) (0x0 &) = ptrace: I/O error.
Cannot read memory: address 0x0 out of bounds.
---------

I am using:

Sun4, OS 4.0.3c.
gdb 3.5, g++ 1.36.4, gcc 1.37.1, libg++ 1.36.4

    -Ed