aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPaul Koning <pkoning@equallogic.com>2011-10-04 15:55:39 +0000
committerPaul Koning <pkoning@equallogic.com>2011-10-04 15:55:39 +0000
commit84ad80e63a333efa71a9a9658ee7f0a9e00f58ae (patch)
tree836b3042a8adc2841638c9d392d27aa9bcb00edd /gdb
parent699df94d5a8abbd5e3aaa2ab7f7334934457763c (diff)
downloadgdb-84ad80e63a333efa71a9a9658ee7f0a9e00f58ae.zip
gdb-84ad80e63a333efa71a9a9658ee7f0a9e00f58ae.tar.gz
gdb-84ad80e63a333efa71a9a9658ee7f0a9e00f58ae.tar.bz2
* NEWS: Add entry for Python gdb.Type mapping methods.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cc1a66b..6c92b9e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/NEWS b/gdb/NEWS
index 20e58a0..4d434c5 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -41,6 +41,11 @@
** 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