From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32508 invoked by alias); 24 Feb 2008 20:08:14 -0000 Received: (qmail 32498 invoked by uid 22791); 24 Feb 2008 20:08:13 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 24 Feb 2008 20:07:53 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-241-165.inter.net.il [84.228.241.165]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id JHB65762 (AUTH halo1); Sun, 24 Feb 2008 22:03:19 +0200 (IST) Date: Mon, 25 Feb 2008 09:05:00 -0000 Message-Id: From: Eli Zaretskii To: "Yakov Lerner" CC: gdb-patches@sourceware.org In-reply-to: (iler.ml@gmail.com) Subject: Re: 'eval' command with printf-like args, take 2 Reply-to: Eli Zaretskii References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00370.txt.bz2 > Date: Sun, 24 Feb 2008 17:38:55 +0200 > From: "Yakov Lerner" > > + add_cmd ("eval", class_support, eval_command, _("\ > +eval \"printf-like format string\", arg1, arg2, arg3, ..., argn\n\ > +Execute gdb command from a string generated by printf-like format and\n\ > +arguments."), The first line of the doc string cannot have commas and periods, because GDB will stop at the first such character when it displays the short one-line version of help for a command. I suggest to modify this as follows: + add_cmd ("eval", class_support, eval_command, _("\ +Execute command generated by printf-like format and arguments.\n\ +Usage: eval \"format string\", arg1, arg2, arg3, ..., argn\n\