From de2e51824550d48679e3c696de3d652bb19c0d35 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 18 Feb 2010 16:36:47 +0000 Subject: [PATCH] * NEWS: Add Python API Improvements section. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 866927297a..d8abca5593 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-02-17 Tom Tromey + + * NEWS: Add Python API Improvements section. + 2010-02-18 Daniel Jacobowitz * NEWS: Correct typo. diff --git a/gdb/NEWS b/gdb/NEWS index 662010db38..543b54898c 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