This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mi tty commands


On Wed, Jun 01, 2005 at 07:00:18AM +0300, Eli Zaretskii wrote:
> > Date: Tue, 31 May 2005 20:14:40 -0400
> > From: Bob Rossi <bob@brasko.net>
> > 
> > > I'm having trouble finding a particular spot in the manual for this
> > > command. Do you have any suggestions?
> > 
> > Eli, is the MI doco good enough? or do you want the doco for set/show?
> 
> I want both ;-)

OK. I can handle that.

> > If you want the set/show doco, please let me know where to put it in the
> > manual.
> 
> Very strange: I replied to this question 2 days ago, but I cannot find
> my response in the gdb-patches archives.
> 
> Here it is again.  Please note the question about the "tty" command.
> 
> > Date: Sun, 29 May 2005 16:54:35 -0400
> > From: Bob Rossi <bob@brasko.net>
> > Cc: gdb-patches@sources.redhat.com
> >
> > I'm having trouble finding a particular spot in the manual for this
> > command. Do you have any suggestions?
> 
> The node "Input/Output" seems like a perfect place.

OK, thanks.

> Which reminds me: now that you introduced "set tty", doesn't that mean
> we should remove the "tty" command as redundant?

I don't think so. Simply because the tty command has been around for
ages and FE's depend on it being there. Removing the tty command would
successfully break every front end. Then, it would be necessary for FE's
to start trying to figure out what version of GDB they are using to
determine how to give it a tty. This is a difficult in itself with the
MI interface, never mind the CLI.

On the other hand, if it is unacceptable to leave both commands in GDB,
I could send both commands 
   tty /dev/pts/1
   set inferior-tty /dev/pts/1
to GDB and not worry about the results.

Thanks,
Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]