Re: splitting output in gdb
Re: splitting output in gdb
- Subject: Re: splitting output in gdb
- From: Jim Ingham <email@hidden>
- Date: Wed, 30 Mar 2005 16:19:45 -0800
Open a terminal window, and notice the pty - by default it's in the
window title. Start up gdb in another terminal window, and do:
(gdb) tty /dev/ttyp1
or whatever you got for the new tty (the window title usually just
has the "ttyp1" part).
Then run your app like normal, and the input & output will go to the
other terminal.
Jim
On Mar 30, 2005, at 3:17 PM, Markian Hlynka wrote:
y'know how when you debug in xcode you have the gdb console window
and the stdio window?
Does anyone know how to do that from the command-line? ie, if I
invoke gdb in a terminal, when I run my app, it would be useful to
pipe the I/O from the app to a different tty or something (ie
different terminal window).
I presume this is possible, since xcode does it, but I haven't been
able to figure it out yet.
Ideas?
Markian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden