From: K-mart Cashier on
How does a graphical interface like the DDD (Data Display Debugger)
interact with gdb (GNU debugger)? I mean, I don't think the people
that maintain gdb modified the source code so that it accompany coders
that wanted to add a graphical interface to a text based program.

Chad
From: Jens Thoms Toerring on
K-mart Cashier <cdalten(a)gmail.com> wrote:
> How does a graphical interface like the DDD (Data Display Debugger)
> interact with gdb (GNU debugger)? I mean, I don't think the people
> that maintain gdb modified the source code so that it accompany coders
> that wanted to add a graphical interface to a text based program.

I don't think the gdb maintainers had to modify anything. Since
gdb is a text-based application you simply can start if with its
input and output channels redirected to pipes and then send com-
mands to it and read the output and convert that to a graphic.
That's the advantage of text-based applications - it's rather
easy to wrap a GUI around them or use them from a program for
whatever purposes you might come up with.

Regards, Jens
--
\ Jens Thoms Toerring ___ jt(a)toerring.de
\__________________________ http://toerring.de