Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!evax!bush From: bush@evax.arl.utexas.edu (Joe Bush) Newsgroups: comp.unix.ultrix Subject: Re: GDB, Gnu debugger for Ultrix 4.0 Summary: Debugging across fork boundries Keywords: debugger, GNU, gdb, dbx, pdbx, forks Message-ID: <1990Nov7.210309.9450@evax.arl.utexas.edu> Date: 7 Nov 90 21:03:09 GMT Organization: Computer Science Engineering Univ. of Texas at Arlington Lines: 24 Speaking of GNU's gdb and other such tools, does anyone know of a debugger that will run under Ultrix and allows the user to debug across a fork boundry. By that I mean, automatically suspend both the parent and child processes a the fork and allow the user to select, say, a child process and trace its source code. Perhaps stepping back and forth between the parent and child a will. We recently acquired a Sequent Symmetry with a parallel debugger called pdbx that allows this function. It is real handy. GNU's gdb has an "attach" function but it does seem to work under Ultrix 3.1 on a uVAX 3900. Is this a limitation of the debugger, the "ptrace" system call, or the underlying architecture? -- bush@evax.arl.utexas.edu Vax Systems Manager (817) 273 - 3333 CSE Dept. UT-Arlington Office Rm 221 EB2 403 South Cooper P.O. Box 19015 Arlington, Texas 76019