Add support for target specific command line switches to old-style simualtors.
[deliverable/binutils-gdb.git] / gdb / NEWS
index 468158f76f2c3a62870cb4bfad6a9a4effbce0ac..191c8c9f679cf97b9f1ad3b5e6a3c1812e25a795 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,28 @@
 
 *** Changes since GDB 5.2:
 
+* GDB now supports C/C++ preprocessor macros.
+
+GDB now expands preprocessor macro invocations in C/C++ expressions,
+and provides various commands for showing macro definitions and how
+they expand.
+
+Most compilers don't include information about macros in the debugging
+information by default.  In GCC 3.1, for example, you need to compile
+your program with the options `-gdwarf-2 -g3'.  If the macro
+information is present in the executable, GDB will read it.
+
+Here are the new commands for working with macros:
+
+** macro expand EXPRESSION
+
+Expand any macro invocations in expression, and show the result.
+
+** show macro MACRO-NAME
+
+Show the definition of the macro named MACRO-NAME, and where it was
+defined.
+
 * Multi-arched targets.
 
 NEC V850                                       v850-*-*
This page took 0.023807 seconds and 4 git commands to generate.