* NEWS: Add Python API Improvements section.
authorTom Tromey <tromey@redhat.com>
Thu, 18 Feb 2010 16:36:47 +0000 (16:36 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 18 Feb 2010 16:36:47 +0000 (16:36 +0000)
gdb/ChangeLog
gdb/NEWS

index 8669272..d8abca5 100644 (file)
@@ -1,3 +1,7 @@
+2010-02-17  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Add Python API Improvements section.
+
 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * NEWS: Correct typo.
index 662010d..543b548 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -210,6 +210,20 @@ show ada trust-PAD-over-XVS
    off, but this introduces a slight performance penalty.  The default
    is on.
 
+* Python API Improvements
+
+  ** GDB provides the new class gdb.LazyString.  This is useful in
+     some pretty-printing cases.  The new method gdb.Value.lazy_string
+     provides a simple way to create objects of this type.
+
+  ** The fields returned by gdb.Type.fields now have an
+     `is_base_class' attribute.
+
+  ** The new method gdb.Type.range returns the range of an array type.
+
+  ** The new method gdb.parse_and_eval can be used to parse and
+     evaluate an expression.
+
 * New remote packets
 
 QTDV