]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2010-08-03 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Tue, 3 Aug 2010 09:38:16 +0000 (09:38 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Tue, 3 Aug 2010 09:38:16 +0000 (09:38 +0000)
* NEWS: Document Python value inferior function calls.

gdb/ChangeLog
gdb/NEWS

index 6515db7697ee3028c97ad7dbb09e73d513b21c7b..d90fb7d3b8a92a3a505ff630d55c7a7644a84347 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-03  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Document Python value inferior function calls.
+
 2010-08-02  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature.
index 0aea3fb3494e9587827c07795bf1c3f6799485d0..73f79a51aa528c8eb49c20f6e003a27f1b0a1604 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,15 @@
 
 *** Changes since GDB 7.2
 
+* Python scripting
+
+  ** GDB values in Python are now callable if the value represents a
+     function.  For example, if 'some_value' represents a function that
+     takes two integer parameters and returns a value, you can call
+     that function like so:
+
+     result = some_value (10,20)
+
 * GDB now has some support for using labels in the program's source in
   linespecs.  For instance, you can use "advance label" to continue
   execution to a label.