This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Interface to GDB
Jim Blandy writes:
>
> "Manoj Verma, Noida" <manojv@noida.hcltech.com> writes:
> > If that is the case, just for an idea .........
> > is it possible if I somehow bypass the CLI related code from the GDB source
> > code and call the basic functions like set_breakpoint(), remove_breakpoint()
> > etc..etc.. from my IDE code..
> >
> > If any one has done similar things, pl. provide some guidance..
>
> I think MI is pretty useable. But for what it's worth, Insight, the
> Tcl/Tk-based GUI for GDB, works the way you describe.
>
> http://sources.redhat.com/insight/
Yep, but please do not do that. The approach has serious
limitations. Please use MI. That is the supported gdb interface for
GUIs. Eclipse uses it pretty successfully.
elena