From: Phil Muldoon Date: Tue, 3 Aug 2010 09:38:16 +0000 (+0000) Subject: 2010-08-03 Phil Muldoon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=585d1eb8a8b514120431298eeb64510448832e85;p=binutils-gdb.git 2010-08-03 Phil Muldoon * NEWS: Document Python value inferior function calls. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6515db7697e..d90fb7d3b8a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-08-03 Phil Muldoon + + * NEWS: Document Python value inferior function calls. + 2010-08-02 Doug Evans * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature. diff --git a/gdb/NEWS b/gdb/NEWS index 0aea3fb3494..73f79a51aa5 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.