This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]