From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24647 invoked by alias); 28 Oct 2005 09:52:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24634 invoked by uid 22791); 28 Oct 2005 09:52:24 -0000 Received: from fra-del-01.spheriq.net (HELO fra-del-01.spheriq.net) (195.46.51.97) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 09:52:24 +0000 Received: from fra-out-03.spheriq.net (fra-out-03.spheriq.net [195.46.51.131]) by fra-del-01.spheriq.net with ESMTP id j9S9qJ3n006474 for ; Fri, 28 Oct 2005 09:52:19 GMT Received: from fra-cus-01.spheriq.net (fra-cus-01.spheriq.net [195.46.51.37]) by fra-out-03.spheriq.net with ESMTP id j9S9q0oI024493 for ; Fri, 28 Oct 2005 09:52:16 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-01.spheriq.net with ESMTP id j9S9pvG1027163 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 28 Oct 2005 09:51:59 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DCB25DA66; Fri, 28 Oct 2005 09:50:59 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 60012) id D423347392; Fri, 28 Oct 2005 09:53:00 +0000 (GMT) Received: from zeta.dmz-eu.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 33DFF759AF; Fri, 28 Oct 2005 09:53:00 +0000 (UTC) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0A7C247387; Fri, 28 Oct 2005 09:52:58 +0000 (GMT) Received: from [164.129.15.13] (terrorhawk.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CEN01210 (AUTH "andrew stubbs"); Fri, 28 Oct 2005 10:50:07 +0100 (BST) Message-ID: <4361F3E3.9070701@st.com> Date: Fri, 28 Oct 2005 09:52:00 -0000 From: Andrew STUBBS User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb@sources.redhat.com Subject: Re: RFC: GDB as a loader 1/3: silent batch mode References: <4354DBFF.7000601@st.com> <43611474.7070609@st.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030404050406010506030402" X-O-Spoofed: Not Scanned X-O-General-Status: No X-O-Spam1-Status: Not Scanned X-O-Spam2-Status: Not Scanned X-O-URL-Status: Not Scanned X-O-Virus1-Status: No X-O-Virus2-Status: Not Scanned X-O-Virus3-Status: No X-O-Virus4-Status: No X-O-Virus5-Status: Not Scanned X-O-Image-Status: Not Scanned X-O-Attach-Status: Not Scanned X-SpheriQ-Ver: 4.1.07 X-SW-Source: 2005-10/txt/msg00178.txt.bz2 This is a multi-part message in MIME format. --------------030404050406010506030402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 700 Eli Zaretskii wrote: > Thanks. This is approved, provided that you fix the minor problems > mentioned below. OK, updated patch attached. Out of interest, why does 'GDB' have to be '@value{GDBN}'? What does that do? I can create the info file fine, but the PDF has errors. The only thing I can see wrong with the produced file is that the index is missing. Is this a known problem or am I using the wrong version of something? I have Texinfo 4.5. Still nobody has given an opinion on any of the three patches I sent adding new options. What do you want to do with them? Do we know if Daniel is back from holiday yet? I'll do the docs for the other two options soon. Thanks Andrew Stubbs --------------030404050406010506030402 Content-Type: text/plain; name="batch-silent-docs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="batch-silent-docs.patch" Content-length: 1066 2005-10-28 Andrew Stubbs * gdb.texinfo (Choosing modes): Add --batch-silent. Index: src/gdb/doc/gdb.texinfo =================================================================== --- src.orig/gdb/doc/gdb.texinfo 2005-10-27 18:49:39.000000000 +0100 +++ src/gdb/doc/gdb.texinfo 2005-10-28 10:37:07.000000000 +0100 @@ -994,6 +994,18 @@ Program exited normally. @value{GDBN} control terminates) is not issued when running in batch mode. +@item -batch-silent +@cindex @code{--batch-silent} +Run in batch mode exactly like @samp{-batch}, but totally silently. All +@value{GDBN} output to @code{stdout} is prevented (@code{stderr} is +unaffected). This is much quieter than @samp{-silent} and would be useless +for an interactive session. + +This is particularly useful when using targets that give @samp{Loading section} messages, for example. + +Note that targets that give their output via @value{GDBN}, as opposed to +writing directly to @code{stdout}, will also be made silent. + @item -nowindows @itemx -nw @cindex @code{--nowindows} --------------030404050406010506030402--