GDB C plugin system, and STL container viewer as an example

Vincent Bénony bsr.dfk@gmail.com
Tue May 27 18:17:00 GMT 2008



Le 23 mai 08 à 16:30, Daniel Jacobowitz <drow@false.org> a écrit :

> On Fri, May 23, 2008 at 06:20:36PM +0400, Vladimir Prus wrote:
>> I don't see how you report that fact that the number of children of a
>> varobj has changed. Without that, I'm not sure how useful MI display
>> of vectors is. Am I missing something?
>
> Just my two cents but... rather than encourage further work on the C
> mechanism, is there anyone besides me who could start reviewing the
> Python patches, so that we can converge on a single mechanism and get
> it into the tree?  If everyone waits for me to get around to it, it's
> going to be a while.
>

You're right, please don't consider my "work" as a real solution. It's  
just a quick and dirty way to have a solution to inspect STL  
containers today. I try at work to encourage the use of free software,  
and I succeed to push the developpment of our software under Linux.  
But, as we heavily use STL, I had to find something to deal with it  
now, and by publishing the patch here, and just want to share it with  
people like me that need something today, although it's far from  
perfect. I'm pretty sure that your solution is the one that should be  
considered.


> Vincent, are you at all interested in taking the code you've written
> and integrating it with the gdb+python repository?  (If so, you'll
> need a copyright assignment, if you haven't got one already.)
>

Sure, I'll have a look at your API as soon as possible, and try to  
write a cleaner version of my.... euh... stuff ;-) do you have some  
kind of doc ? (sorry if you've already answered to this)

> FYI, I am unlikely to be reviewing patches for the next week or two
> unless my plans turn out to be much more boring than I expect :-)
>
> -- 
> Daniel Jacobowitz
> CodeSourcery



More information about the Gdb-patches mailing list