summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-02-18 16:36:47 +0000
committerTom Tromey <tromey@redhat.com>2010-02-18 16:36:47 +0000
commitde2e51824550d48679e3c696de3d652bb19c0d35 (patch)
tree8e7997223c426066762d17d04a54c66a1e9ac166
parent7280022eea7deed80338cf7d9e4a51771ac3e2d9 (diff)
downloadbinutils-gdb-de2e51824550d48679e3c696de3d652bb19c0d35.tar.gz
* NEWS: Add Python API Improvements section.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS14
2 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 866927297a7..d8abca5593f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/NEWS b/gdb/NEWS
index 662010db389..543b54898cc 100644
--- 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