diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cc1a66bcbc..6c92b9ed1a 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 20e58a0d18..4d434c5380 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