🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72208

Gdb question...

#72208
From: Jeff Cooper
Date: Fri, 13 Mar 1992 19:06
24 lines
1438 bytes
I have a question about Gdb.  I'm running on a NeXTstation (v2.1) and
I'm trying to debug a program that takes over the terminal window
(the program is Omega v.75, a Dungeons and Dragons type game).  I would 
like to know if it's possible to redirect the stdout and stdin of Gdb 
to another tty.  What I'd like to be able to do is run Gdb in one window 
and see the output from the program in another window.

I've tried this:

gdb> run testfile > /dev/ttyp2

That will show the output on ttyp2 but it doesn't clear the screen correctly
and it doesn't take keystrokes from that window (ttyp2).

Does anyone have any suggestions on how to go about this?

Thanks much!


-- 
"Life is pain Highness, anyone	|  Jeff Cooper
who tells you different is	|  cooper@plains.nodak.edu
selling something."		|  NeXTMail: cooper%midkemia@plains.nodak.edu
    - The Dread Pirate Roberts	|  (701) 298-0893
Technical Details
Message-ID: <15932@plains.NoDak.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!plains!cooper@plains.NoDak.edu

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,66a99433ed0a4d6f,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-03-13 11:23:28 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!plains!cooper@plains.NoDak.edu
From: cooper@plains.NoDak.edu (Jeff Cooper)
Newsgroups: gnu.misc.discuss
Subject: Gdb question...
Message-ID: <15932@plains.NoDak.edu>
Date: 13 Mar 92 19:06:16 GMT
Article-I.D.: plains.15932
Organization: North Dakota State University
Lines: 24