X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FNEWS;h=191c8c9f679cf97b9f1ad3b5e6a3c1812e25a795;hb=de4112fa387b662c7c7a1dd3e334a1274ca54d28;hp=c73a40ebf078a2b2b505cff314e903f1d8fe6140;hpb=89743e04ff1ccfc4ff1e1a53b81fd43337ed0a4b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/NEWS b/gdb/NEWS index c73a40ebf0..191c8c9f67 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,75 @@ *** 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-*-* + +* New targets. + +Atmel AVR avr*-*-* + +* New native configurations + +Alpha NetBSD alpha*-*-netbsd* +SH NetBSD sh*-*-netbsdelf* + +* OBSOLETE configurations and files + +Configurations that have been declared obsolete in this release have +been commented out. Unless there is activity to revive these +configurations, the next release of GDB will have their sources +permanently REMOVED. + +* REMOVED configurations and files + +AMD 29k family via UDI a29k-amd-udi, udi29k +A29K VxWorks a29k-*-vxworks +AMD 29000 embedded, using EBMON a29k-none-none +AMD 29000 embedded with COFF a29k-none-coff +AMD 29000 embedded with a.out a29k-none-aout + +testsuite/gdb.hp/gdb.threads-hp/ directory + +* Changes in VAX configurations. + +Multi-arch support is enabled for all VAX configurations. + +* Changes in Alpha configurations. + +Multi-arch support is enabled for all Alpha configurations. + +* New command "set max-user-call-depth " + +This command allows the user to limit the call depth of user-defined +commands. The default is 1024. + +* Changes in FreeBSD/i386 native debugging. + +Support for the "generate-core-file" has been added. + * New commands "dump", "append", and "restore". These commands allow data to be copied from target memory