This is the mail archive of the gdb@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: show inferior-tty


----Original Message----
>From: Nick Roberts
>Sent: 12 July 2005 14:36

>  > > What has worked like this for years?  "show inferior-tty" is new
>  isn't it? >
>  > Sorry for the lack of information. The "inferior-tty" is simply a
>  better > "tty" command. The tty command has had this documentation,
>  >    (gdb) help tty
>  >    Set terminal for future runs of program being debugged.
>  >
>  > > The phrase "of program being debugged" seems redundant to me (what
>  other > > possibilities are there?).  It might be even more clear to say:
>  > >
>  > > Default terminal for future runs is "/dev/pts/1".
>  > >
>  > > since the redirection overrides this.
>  >
>  > I like your suggestion. There is still 1 ambiguity though. Is the
>  "Default > terminal for future runs" for GDB's I/O? or for the
>  inferior's I/O? I think > this question is why the phrase "program being
> debugged" is used. 
> 
> I guess thats the reason for "of program being debugged" and explains why
> it was a dumb suggestion.

  It's not an entirely dumb suggestion.  It's a clumsy piece of wording and
could do with being improved.  

  And since "program being debugged" == "inferior", I'd think the best
choice of wording would be ...

>    (gdb) help tty
>    Set terminal for future runs of inferior.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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