Re: [Cgdb-devel] New libraries for CGDB
Brought to you by:
bobbybrasko,
crouchingturbo
|
From: Bob R. <bo...@br...> - 2004-03-03 03:23:17
|
> > Seems reasonable enough to me, but for the time being, I'll keep to por= ting. > > However, one thing that may be of interest for cgdb is the container=20 > > library I wrote for Jail-ust (also on SourceForge) which I think will= =20 > > respond to the needs for a hashing implementation discussed here earlie= r. > > If you check it out like this: > > $ export CVSROOT=3D:pserver:an...@cv...:/cvsroot/jail-u= st > > $ cvs login > > anoncvs > > $ cvs co release-libcontain > > you'll get the current version with all of its dependencies (libreplace= =20 > > and the architecture-dependent code) >=20 > This sounds interesting. Unfortunately, it was written in C++ and cgdb is > written only in C. The reason CGDB is written in C is because we believe > it should be able to port anywhere that GDB does. This way, it can be > used in all the same environments. 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, ... 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. What does everyone think? Do any of the distro maintainers know of a good portable C library that provides data structures? Thanks, Bob Rossi |