Function syntax (Was: [RFC][patch 1/9] initial Python support)

Daniel Jacobowitz drow@false.org
Mon Jun 9 18:43:00 GMT 2008


On Mon, Jun 09, 2008 at 10:36:21AM -0300, Thiago Jung Bauermann wrote:
> What about separating argument by commas, and treating each CSV as an
> expression to be evaluated? The Python function would then receive
> arguments as value objects.
> 
> This also means that convenience variables (and variables in the
> inferior) would work.
> 
> The Python function would also return a value object.

I've no objection to this; it sounds almost foolproof, though it would
be nice to have some examples and see how well it fits in practice.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list