From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28472 invoked by alias); 11 Jul 2005 20:55:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28457 invoked by uid 22791); 11 Jul 2005 20:55:46 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 11 Jul 2005 20:55:46 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j6BKtcNP026810; Mon, 11 Jul 2005 22:55:38 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j6BKtbV4010566; Mon, 11 Jul 2005 22:55:37 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j6BKtXJg005990; Mon, 11 Jul 2005 22:55:33 +0200 (CEST) Date: Mon, 11 Jul 2005 20:55:00 -0000 Message-Id: <200507112055.j6BKtXJg005990@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: bob@brasko.net CC: gdb-patches@sources.redhat.com In-reply-to: <20050711204414.GB585@white> (message from Bob Rossi on Mon, 11 Jul 2005 16:44:14 -0400) Subject: Re: mi tty commands References: <20050617210811.GA27959@white> <20050617211427.GA15201@nevyn.them.org> <20050618122921.GA30774@white> <20050703184325.GH13811@nevyn.them.org> <20050706145449.GA17788@white> <200507102108.j6AL8C9B031138@elgar.sibelius.xs4all.nl> <20050711155155.GA32323@white> <200507111840.j6BIeojH024633@elgar.sibelius.xs4all.nl> <20050711200011.GA585@white> <20050711200139.GA11511@nevyn.them.org> <20050711204414.GB585@white> X-SW-Source: 2005-07/txt/msg00100.txt.bz2 Date: Mon, 11 Jul 2005 16:44:14 -0400 From: Bob Rossi 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 "".