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


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
2005-11-15  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-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

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