This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: interfacing to the gdb
- To: gregerhaga at yahoo dot com
- Subject: Re: interfacing to the gdb
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 13 Apr 2000 12:39:24 +1000
- CC: "gdb at sourceware dot cygnus dot com" <gdb at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <38F2A2B1.D92467@yahoo.com>
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.
Andrew