Date: Thu, 28 Jan 1999 15:40:21 +0000 From: Mark Ovens <marko@uk.radan.com> To: questions@FreeBSD.ORG Subject: [2nd attempt] Basic help with gdb Message-ID: <36B084E5.E4B99645@uk.radan.com>
next in thread | raw e-mail | index | archive | help
I didn't get any response the first time I asked this, so I'll try
again.
I'm trying to learn how to use gdb and can't seem to get the
``-tty=<device>'' option to work.
OK, I start 2 shell windows, ttyp1 and ttyp2.
Start gdb in ttyp1 with ``gdb -tty=/dev/ttyp2 prog''.
I get the ``(gbd)'' prompt.
Type ``r''
but then get an error in *ttyp2* ``cannot use /dev/tty for input''
(note it says ``tty'' not ``ttyp2'').
I'm using shelltool(1) under olvwm for this but I get the same problem
if I use xterms or the console (ttyv[012]).
How do you make this work? Can anyone help?
Thanks
--
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B084E5.E4B99645>
