From 84ad80e63a333efa71a9a9658ee7f0a9e00f58ae Mon Sep 17 00:00:00 2001 From: Paul Koning Date: Tue, 4 Oct 2011 15:55:39 +0000 Subject: [PATCH] * NEWS: Add entry for Python gdb.Type mapping methods. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 5 +++++ 2 files changed, 9 insertions(+) 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 + + * NEWS: Add entry for Python gdb.Type mapping methods. + 2011-10-04 Kevin Pouget 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 -- 2.7.4