* Allow up to 10 whitespace separated arguments to user defined
[binutils-gdb.git] / gdb / NEWS
index 70f22e0ad339771380d7d24493cbdb804f93ce99..0af1c67cfcf8c033e6f3ba7e8337fe460964868d 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -1,6 +1,28 @@
                What has changed since GDB-3.5?
                (Organized release by release)
 
+* User commands may accept up to 10 arguments separated by whitespace.
+Arguments are accessed within the user command via $arg0..$arg0.
+A trivial example:
+define adder
+  print $arg0 + $arg1 + $arg2
+
+To execute the command use:
+adder 1 2 3
+
+Defines the command "adder" which prints the sum of its three arguments.
+Note the arguments are text substitutions, so they may reference variables,
+use complex expressions, or even perform inferior function calls.
+
+* New "if" and "while" commands.  This makes it possible to write
+somewhat more sophisticated user-defined commands.
+
+* Most debugging facilities now work on dynamic executables for HPPAs
+running hpux9 or later.  See the GDB manual for the few minor problems
+and potential workarounds.
+
+* GDB can now read debug symbols produced by the HP C compiler on HPPAs
+(sorry, no C++, Fortran or 68k support).
 
 *** Changes in GDB-4.13: