From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2893 invoked by alias); 15 Nov 2005 12:35:53 -0000 Received: (qmail 2878 invoked by uid 22791); 15 Nov 2005 12:35:48 -0000 Received: from fra-del-02.spheriq.net (HELO fra-del-02.spheriq.net) (195.46.51.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 15 Nov 2005 12:35:48 +0000 Received: from fra-out-03.spheriq.net (fra-out-03.spheriq.net [195.46.51.131]) by fra-del-02.spheriq.net with ESMTP id jAFCZeq4004972 for ; Tue, 15 Nov 2005 12:35:42 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-03.spheriq.net with ESMTP id jAFCZaRb015513 for ; Tue, 15 Nov 2005 12:35:39 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id jAFCZZOQ003158 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 15 Nov 2005 12:35:36 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 2C4EBDA42; Tue, 15 Nov 2005 12:35:35 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 60012) id 6313647390; Tue, 15 Nov 2005 12:38:33 +0000 (GMT) Received: from zeta.dmz-eu.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 24BFB75969; Tue, 15 Nov 2005 12:38:33 +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 22AF247381; Tue, 15 Nov 2005 12:38:31 +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 CGZ27331 (AUTH "andrew stubbs"); Tue, 15 Nov 2005 12:35:31 GMT Message-ID: <4379D57C.50208@st.com> Date: Tue, 15 Nov 2005 17:54:00 -0000 From: Andrew STUBBS User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Eli Zaretskii , 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> In-Reply-To: <20051115044045.GA12833@nevyn.them.org> Content-Type: multipart/mixed; boundary="------------010209010805070905020401" 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/msg00204.txt.bz2 This is a multi-part message in MIME format. --------------010209010805070905020401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 274 Daniel Jacobowitz wrote: >>OK for the documentation patch. > > > The code is fine too. Thanks, commited. > Should this go on the branch? Should it go in NEWS? My inclination is > "both". I have no objection to putting it in. How about the attached for NEWS? Andrew --------------010209010805070905020401 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: 700 2005-11-15 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-15 12:15:45.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 --------------010209010805070905020401--