From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11146 invoked by alias); 16 Nov 2005 12:52:10 -0000 Received: (qmail 11135 invoked by uid 22791); 16 Nov 2005 12:52:06 -0000 Received: from lon-del-01.spheriq.net (HELO lon-del-01.spheriq.net) (195.46.50.97) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 16 Nov 2005 12:52:06 +0000 Received: from lon-out-01.spheriq.net ([195.46.50.129]) by lon-del-01.spheriq.net with ESMTP id jAGCq3eL000322 for ; Wed, 16 Nov 2005 12:52:03 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-01.spheriq.net with ESMTP id jAGCq05G010157 for ; Wed, 16 Nov 2005 12:52:01 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id jAGCpxUU021254 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 16 Nov 2005 12:52:00 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 29AA2DA43; Wed, 16 Nov 2005 12:51:59 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 60012) id CC76747389; Wed, 16 Nov 2005 12:54:57 +0000 (GMT) Received: from zeta.dmz-eu.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8CAED75969; Wed, 16 Nov 2005 12:54:57 +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 C3A5F47396; Wed, 16 Nov 2005 12:54:56 +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 CGZ36446 (AUTH "andrew stubbs"); Wed, 16 Nov 2005 12:51:55 GMT Message-ID: <437B2AD2.8050505@st.com> Date: Wed, 16 Nov 2005 14:43:00 -0000 From: Andrew STUBBS User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Eli Zaretskii Cc: drow@false.org, gdb-patches@sources.redhat.com Subject: Re: $argc variable References: <436F35E9.4070808@st.com> <20051107133538.GA2331@nevyn.them.org> <43709E94.4070004@st.com> <4371D9A6.40109@st.com> <43731C16.2040203@st.com> <20051113173524.GC1945@nevyn.them.org> <4378BB1A.9070606@st.com> <20051115044045.GA12833@nevyn.them.org> <4379D57C.50208@st.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------040606000004020307080209" 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 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00226.txt.bz2 This is a multi-part message in MIME format. --------------040606000004020307080209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 612 Eli Zaretskii wrote: >>Date: Tue, 15 Nov 2005 12:33:00 +0000 >>From: Andrew STUBBS >>Cc: Eli Zaretskii , gdb-patches@sources.redhat.com >> >>How about the attached for NEWS? > > > Fine, but please use two blanks after a period that ends a sentence > > >>+to use $argc to determine now many arguments have been passed. See the > > ^^^ here > I have commited the code to the 6.4 branch and the NEWS to both branches. The actual NEWS patch, with the modification above, is attached. Thanks Andrew Stubbs --------------040606000004020307080209 Content-Type: text/plain; name="6.4-news-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="6.4-news-2.patch" Content-length: 701 2005-11-16 Andrew Stubbs * NEWS (6.4): Mention $argc. Index: src/gdb/NEWS =================================================================== --- src.orig/gdb/NEWS 2005-11-15 12:09:47.000000000 +0000 +++ src/gdb/NEWS 2005-11-16 12:30:19.000000000 +0000 @@ -70,6 +70,12 @@ behavior. GDB now supports the not-quite-ieee VAX F and D floating point formats. +* User-defined command support + +In addition to using $arg0..$arg9 for argument passing, it is now possible +to use $argc to determine now many arguments have been passed. See the +section on user-defined commands in the user manual for more information. + *** Changes in GDB 6.3: * New command line option --------------040606000004020307080209--