Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!steinmetz!mozart!dchan From: dchan@mozart.steinmetz Newsgroups: comp.lsi,comp.unix.questions Subject: Help needed when using DBX and MAGIC Message-ID: <7671@steinmetz.steinmetz.UUCP> Date: Wed, 21-Oct-87 09:14:55 EDT Article-I.D.: steinmet.7671 Posted: Wed Oct 21 09:14:55 1987 Date-Received: Sat, 24-Oct-87 06:36:25 EDT Sender: root@steinmetz.steinmetz.UUCP Reply-To: pedicone@ge-crd.arpa (John Pedicone) Organization: General Electric CRD, Schenectady, NY Lines: 30 Keywords: dbx MAGIC sun Xref: mnetor comp.lsi:261 comp.unix.questions:4617 We need some help on our Sun's (SunOS 3.4) when debugging the 1986 Berkeley version of MAGIC (a VLSI layout tool). In particular, when we use dbx to debug some local modifications to MAGIC, we get the error Stopped (tty output) we get the prompt, then type reset (because echo is turned off) fg (because the job is in the background) and then we get the error signal IO (possible input/output) in ioctl at 0xee85c ioctl+6: bcss isatty+0x3c (dbx) When we try it without the debugger, the program runs properly. The normal behavior is to create a new window on the monitor, with a prompt in the original window. This looks like a problem with stdout, fork, and dbx. Can anyone give us a clue as to why this is occuring and how to debug MAGIC without adding a lot of printf statements? Thanks in advance. John Pedicone pedicone@ge-crd.arpa uunet!steinmetz!mozart!pedicone