aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2010-08-03 09:38:16 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2010-08-03 09:38:16 +0000
commit585d1eb8a8b514120431298eeb64510448832e85 (patch)
tree806dacd4ff2a948657c4c751a703dbdd1771c212
parent562131722825e18cba3a5d7411f9b37e14095e35 (diff)
downloadgdb-585d1eb8a8b514120431298eeb64510448832e85.zip
gdb-585d1eb8a8b514120431298eeb64510448832e85.tar.gz
gdb-585d1eb8a8b514120431298eeb64510448832e85.tar.bz2
2010-08-03 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Document Python value inferior function calls.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS9
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6515db7..d90fb7d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/NEWS b/gdb/NEWS
index 0aea3fb..73f79a5 100644
--- 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.