From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28266 invoked by alias); 11 Jul 2005 18:41:24 -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 28247 invoked by uid 22791); 11 Jul 2005 18:41:18 -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 18:41:18 +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 j6BIeouv028508; Mon, 11 Jul 2005 20:40:51 +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 j6BIeo58021740; Mon, 11 Jul 2005 20:40:50 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j6BIeojH024633; Mon, 11 Jul 2005 20:40:50 +0200 (CEST) Date: Mon, 11 Jul 2005 18:41:00 -0000 Message-Id: <200507111840.j6BIeojH024633@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: bob@brasko.net CC: gdb-patches@sources.redhat.com In-reply-to: <20050711155155.GA32323@white> (message from Bob Rossi on Mon, 11 Jul 2005 11:51:55 -0400) Subject: Re: mi tty commands References: <20050601174149.GA17309@white> <20050602221644.GA21263@white> <20050613030732.GE9288@nevyn.them.org> <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> X-SW-Source: 2005-07/txt/msg00095.txt.bz2 Date: Mon, 11 Jul 2005 11:51:55 -0400 From: Bob Rossi > Bob, please make sure there are no regressions from your patch before > you check things in. I now get: > > FAIL: gdb.base/default.exp: tty > FAIL: gdb.base/help.exp: help tty > > because the output of the tty command changed. In the past we had: > > (gdb) tty > Argument required (terminal name for running target process). > > whereas now we have > > (gdb) tty > Argument required (filename to set it to.). > > I don't really consider this an improvement... Does anyone know why the "tty" command gives the "default" message when I have, /* add the filename of the terminal connected to inferior I/O */ add_setshow_filename_cmd ("inferior-tty", class_run, &inferior_io_terminal, _("\ Set terminal for future runs of program being debugged."), _("\ Show terminal for future runs of program being debugged."), _("\ Usage: set inferior-tty /dev/pts/1"), NULL, NULL, &setlist, &showlist); add_com_alias ("tty", "set inferior-tty", class_alias, 0); I would expect the alias to take on the usage note from the command it points to. Either that, or allow me to explicitly give it a usage note. Any suggestions? But it does take the usage nore from the command it points to: (gdb) set inferior-tty Argument required (filename to set it to.). Mark