This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Library interface to GDB


>>>>> "Martin" == Martin Baulig <martin@home-of-linux.org> writes:

Martin> The problem I see at the moment is that the only way to
Martin> communicate with gdb is to open a pipe and parse it's
Martin> output. This affects xxgdb, dryad and any other GUI.

Yes.

Gdbtk works by inserting its own code into gdb and running the
interface inside the gdb process.  This might be doable for other GUIs
as well, but it is probably painful as it means re-releasing gdb with
the GUI.

Martin> This means that the first thing every author of any gdb GUI
Martin> needs to do is to write a parser. Such a parser is difficult
Martin> to write, very inefficient and it will always be buggy.

I agree.

Martin> libgdb (Tom, you wrote it?) was already a good start to solve
Martin> this problem, but sure it has its problems.

Nope, I didn't write libgdb.

Tom

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