Re: [patch] Add namespace aliasing support.

Sami Wagiaalla
2010-02-09T19:37:46Z

> Sorry for coming into this late. NEWS entry?
> [I mention it because I find the NEWS file really useful.]

How is this ?

Index: gdb/NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.352
diff -u -r1.352 NEWS
--- gdb/NEWS 19 Jan 2010 10:40:06 -0000 1.352
+++ gdb/NEWS 9 Feb 2010 19:34:46 -0000
@@ -3,6 +3,14 @@

*** Changes since GDB 7.0

+* Namespace Support
+
+ GDB now supports importing of namespaces in c++. This enables the
+ user to inspect variables from imported namespaces. Support for
+ namepace aliasing has also been added. So, if a namespace is
+ aliased in the current scope (e.g. namepace C=A; ) the user can
+ print variables using the alias (e.g. (gdb) print C::x).
+
* New targets

Xilinx MicroBlaze microblaze-*-*