* NEWS: Add Python API Improvements section.

This commit is contained in:
Tom Tromey 2010-02-18 16:36:47 +00:00
parent 7280022eea
commit de2e518245
2 changed files with 18 additions and 0 deletions

View 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.

View File

@ -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