This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: repo to work on python scripting support
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