diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2010-08-03 09:38:16 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2010-08-03 09:38:16 +0000 |
commit | 585d1eb8a8b514120431298eeb64510448832e85 (patch) | |
tree | 806dacd4ff2a948657c4c751a703dbdd1771c212 /gdb | |
parent | 562131722825e18cba3a5d7411f9b37e14095e35 (diff) | |
download | gdb-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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/NEWS | 9 |
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. @@ -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. |