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


 > > Secondly, if I don't set the tty, I get:
 > > 
 > > (gdb) show inferior-tty
 > > Terminal for future runs of program being debugged is "".
 > > 
 > > I think that it should still display a value.  Also perhaps it could just
 > > say e.g
 > > 
 > > Terminal for future runs is "/dev/pts/1".
 > 
 > Well, I think this is just preference. GDB has worked like this for
 > years. I don't mind it the way it is, but if others want it changed,
 > that's fine too.

What has worked like this for years?  "show inferior-tty" is new isn't it?
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.

Nick


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