This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: $argc variable


Eli Zaretskii wrote:
Date: Tue, 15 Nov 2005 12:33:00 +0000
From: Andrew STUBBS <andrew.stubbs@st.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 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
2005-11-16  Andrew Stubbs  <andrew.stubbs@st.com>

	* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]