From 585d1eb8a8b514120431298eeb64510448832e85 Mon Sep 17 00:00:00 2001 From: Phil Muldoon Date: Tue, 3 Aug 2010 09:38:16 +0000 Subject: 2010-08-03 Phil Muldoon * NEWS: Document Python value inferior function calls. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 9 +++++++++ 2 files changed, 13 insertions(+) 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 + + * 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 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. -- cgit v1.1