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



   Date: Tue, 08 Jun 1999 00:36:37 +0000
   From: Brendan Simon <brendan@dgs.monash.edu.au>

   How do other GUIs (DDD, VIDE, etc) currently interface with GDB ?

Usually by running GDB as a subprocess and controlling all the command
input and output.  This works better than one might imagine, since the
GDB commands were specified on the back of the stone tablets that
Moses brought down from Mt Sinai, and thus don't change often :-), and
the output has a fairly consistent form as well.

On the other hand, as someone commented, you do have to do some
parsing work, and there is no guarantee that the command interface
won't change in some way that is deemed helpful for users, but
confuses the GUI.

								Stan

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