• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: splitting output in gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >splitting output in gdb (From: Markian Hlynka <email@hidden>)

  • Prev by Date: splitting output in gdb
  • Next by Date: Getting built products to copy to a different location?
  • Previous by thread: splitting output in gdb
  • Next by thread: Getting built products to copy to a different location?
  • Index(es):
    • Date
    • Thread