On Sat, Oct 02, 2004 at 01:15:13AM -0400, mmu...@cs... wrote:
> Hi James,
>=20
> Thanks for the email. At the moment our only focus is making cgdb work
> with gdb, but hopefully the framework is in place to support any
> text-based debugger. If someone (hint hint) wanted to adapt tgdb to work
> with dbx, it should be possible. :)
>=20
> Mike
>=20
> > Hi,
> >
> > I have been using cgdb with Linux, and I would like to use
> > it on SUN Solaris with dbx as well. Does cgdb support using
> > the dbx debugger or do I have to use gdb?
James,
TGDB is the library within CGDB that does all communication with the
debuggers. The interface for TGDB is currently rediculously simple
because so far, it only really supports communicating with GDB using the
annotate 2 interface. I am currently working on the MI interface to GDB
which will give TGDB a much more powerful interface.
For example, it really only deals with breakpoints, and the current
executing line of the program being debugged. It does only a few other
things.
In order to support dbx, you would have to figure out how dbx
communicates with front ends. If there is no offical way, and front
ends simply speak to it over the CLI interface, then essentially, we
would just have to parse the output of dbx to get the info we need. It
would probably take a month or two of work to get TGDB working with that
interface.
Since I don't currently need that feature (and I'm working on GDB's MI), I'=
m not=20
interested in working on it. If you'd like to take the time to do it, I
can give you all the support you need.
If you can wait a few years, I might get around to it :)
Thanks,
Bob Rossi
|