mi tty commands

Mark Kettenis mark.kettenis@xs4all.nl
Mon Jul 11 20:55:00 GMT 2005


   Date: Mon, 11 Jul 2005 16:44:14 -0400
   From: Bob Rossi <bob@brasko.net>

   On Mon, Jul 11, 2005 at 04:01:39PM -0400, Daniel Jacobowitz wrote:
   > On Mon, Jul 11, 2005 at 04:00:11PM -0400, Bob Rossi wrote:
   > > Whoa, OK. I just realized that add_setshow_filename_cmd is borked.
   > > The "set_doc" doesn't work, but the "show_doc" does. 
   > > 
   > > Look at this command (which I had nothing to do with),
   > > 
   > >      add_setshow_filename_cmd ("remotelogfile", no_class,
   > >      &serial_logfile, _("\
   > >      Set filename for remote session recording."), _("\
   > >      Show filename for remote session recording."), _("\
   > >      This file is used to record the remote session for future
   > >      playback\n\
   > >      by gdbserver."), ...
   > > 
   > >      (gdb) set remotelogfile
   > >      Argument required (filename to set it to.).
   > >      (gdb) show remotelogfile
   > >      Filename for remote session recording is "".
   > >  
   > > I'll look into this.
   > 
   > No, there are three docs:
   >   help set inferior-tty
   >   help show inferior-tty
   >   set inferior-tty
   > 
   > Mark's complaining about the third of the batch.  Personally, I think
   > it's not much of a loss.

   O, I see now. Mark, with that said, I think the output is correct,
   although I still need to fix the regressions's. Do you agree with this?

   (gdb) help set inferior-tty
   Set terminal for future runs of program being debugged.
   Usage: set inferior-tty /dev/pts/1
   (gdb) help show inferior-tty
   Show terminal for future runs of program being debugged.
   Usage: set inferior-tty /dev/pts/1
   (gdb) set inferior-tty
   Argument required (filename to set it to.).

Well, I think the previous message in this case was a bit more
helpful, but I can't say I really care that much.  So go ahead and fix
the testsuite ;-).

   (gdb) show inferior-tty
   Terminal for future runs of program being debugged is "".



More information about the Gdb-patches mailing list