RFC: MI - Detecting change of string contents with variable objects

Daniel Jacobowitz drow@false.org
Mon Dec 18 13:38:00 GMT 2006


On Mon, Dec 18, 2006 at 11:36:02AM +0300, Vladimir Prus wrote:
> If it's better be done in gdb, then I think we'd need Python binding, so that you can do:
> 
> 	define_python_function kdevelop_format_std_map ...........
> 
> 	-var-set-format-expression V "kdevelop_format_std_map($a)"
> 
> or something like that. But as I say, I don't yet sure such formatting should happen in gdb.

I think it will end up being a Guile binding, and I was working on it
over the weekend.  Should a varobj always report changed if the way GDB
would display the value has changed, in which case the special casing
isn't necessary?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list