From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23698 invoked by alias); 8 Sep 2003 19:58:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23689 invoked from network); 8 Sep 2003 19:58:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Sep 2003 19:58:51 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h88Jwkl05480 for ; Mon, 8 Sep 2003 15:58:46 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h88Jwjs11330 for ; Mon, 8 Sep 2003 15:58:45 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h88JwiXS001420; Mon, 8 Sep 2003 15:58:45 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 52F6E2CA3D; Mon, 8 Sep 2003 16:07:29 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16220.57728.861537.806462@localhost.redhat.com> Date: Mon, 08 Sep 2003 19:58:00 -0000 To: Jim Blandy Cc: "Manoj Verma, Noida" , gdb@sources.redhat.com, Bob Rossi Subject: Re: Interface to GDB In-Reply-To: References: X-SW-Source: 2003-09/txt/msg00105.txt.bz2 Jim Blandy writes: > > "Manoj Verma, Noida" 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