Re: [Cgdb-devel] New libraries for CGDB
Brought to you by:
bobbybrasko,
crouchingturbo
|
From: Bob R. <bo...@br...> - 2004-03-03 15:01:28
|
On Wed, Mar 03, 2004 at 09:21:47AM -0500, Peter Kovacs wrote: > On Tue, Mar 02, 2004 at 10:10:01PM -0500, Bob Rossi wrote: > > As I am starting to think about the implementation of libkui, I am > > running into walls. It looks like CGDB is going to need some basic C > > data structures. It is probably unreasonable to think CGDB won't need > > basic data structures like linked lists, hash tables, ... > >=20 > > So, we have 2 options. Use a C library someone else has already written > > and tested, or go through the pain of writing our own, and making a new > > project, libadt ( or something ). I would really like to know what > > everyone thinks we should do here. >=20 > I would suggest you don't make yet another library. glib has all those > data structures you want, and I'm sure there are more just like it. I > really don't think we need to waste our time, writing, debugging, and > testing another adt library. Ok, it seems like we are interested in the glib data structures. At one point, I believe Ronald said that the library didn't port to Cygwin. I propose that we "rip out" the code we need from Glib. This will get us a minimal implementation of the functions necessary. Then when we think we need to update, I'll merge in the newest version.=20 I'll look into how coupled the ADT's in Glib are to other part's of Glib that we are not interested in. Hopefully if we just get these data structures, there will be nothing to port ( no OS related code ). Thanks, Bob Rossi |