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: interfacing to the gdb


Andrew Cagney wrote:
Greger Haga wrote:
>
> Hi all,
>
> I was just wondering how does the gdb work with interface, I am in the
> process ( a long process ) of writing a IDE for linux and would like
> to incorporate the gdb in it, and would like to know how to interface
> to it, any input much appreciated.

Were you looking to have gdb linked into your application or as a
separate program. If it is a separate program, then I'd look at the MI
interface (see gdb/mi/gdbmi.texinfo).

If you're looking to link gdb in then the longer term libGDB objective
may be more relevant.  The MI interface as a set of function calls is
what is hoped libGDB will eventually provide.

I really don't know. I need a way of interfacing to it. gdb can be run as a separate thread or process. I want to build a gui to it, be able to send commands to it and retrieve information about the debugging process, I am in a long process of writing a IDE for linux, might take years actually and started to think about how to interface to a debugger. I don't know anything about the topic so any ideas about how to do this is much appreciated. Ideally it would be integrated into the IDE that would be best.

Greger

 

        Andrew

 
-- 
Greger Haga (gregerhaga@yahoo.com)
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]