This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RFA: another NEWS update
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 17 Feb 2010 13:35:10 -0700
- Subject: RFA: another NEWS update
- Reply-to: tromey at redhat dot com
This updates NEWS to list all the Python API improvements since 7.0.
Ok?
Tom
2010-02-17 Tom Tromey <tromey@redhat.com>
* NEWS: Add Python API Improvements section.
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.354
diff -u -r1.354 NEWS
--- NEWS 17 Feb 2010 20:08:24 -0000 1.354
+++ NEWS 17 Feb 2010 20:34:05 -0000
@@ -210,6 +210,20 @@
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