repo to work on python scripting support

Daniel Jacobowitz drow@false.org
Wed Mar 26 18:41:00 GMT 2008


On Wed, Mar 26, 2008 at 11:16:37AM -0600, Tom Tromey wrote:
> Are you concerned about the parsing problem for C-defined functions?
> We could push the parsing-style declarations down to the C level to
> solve that.

No, I'm concerned about what the C-defined functions would include
or call to interpret the details.  I don't want them including any
of GDB's normal headers.

> Daniel> print $(py "this is a python \"program\"")
> 
> I was thinking some functions could ask for an uninterpreted string.
> 
>   print $(py do something in python)

But what if there's quotes in there?  Or parentheses, or both?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list