* NEWS: Add entry for Python gdb.Type mapping methods.
authorPaul Koning <pkoning@equallogic.com>
Tue, 4 Oct 2011 15:55:39 +0000 (15:55 +0000)
committerPaul Koning <pkoning@equallogic.com>
Tue, 4 Oct 2011 15:55:39 +0000 (15:55 +0000)
gdb/ChangeLog
gdb/NEWS

index cc1a66bcbced144ab79a2aad0fa7091785998623..6c92b9ed1a9a71127c9750e208dae85cf0e4b422 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-04  Paul Koning  <paul_koning@dell.com>
+
+       * NEWS: Add entry for Python gdb.Type mapping methods.
+
 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
 
        PR python/12691: Add the inferior to Python exited event
index 20e58a0d18b596c3ea1f417b2d6ec6d2268251e9..4d434c53808dd4881b26572a37b13cbfa98faf28 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
   ** The "gdb.breakpoint" function has been deprecated in favor of
      "gdb.breakpoints".
 
+  ** Type objects for struct and union types now allow access to
+     the fields using standard Python dictionary (mapping) methods.
+     For example, "some_type['myfield']" now works, as does
+     "some_type.items()".
+
 * libthread-db-search-path now supports two special values: $sdir and $pdir.
   $sdir specifies the default system locations of shared libraries.
   $pdir specifies the directory where the libpthread used by the application
This page took 0.031097 seconds and 4 git commands to generate.