From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12653 invoked by alias); 11 Apr 2008 15:08:33 -0000 Received: (qmail 12645 invoked by uid 22791); 11 Apr 2008 15:08:32 -0000 X-Spam-Check-By: sourceware.org Received: from sca-es-mail-2.Sun.COM (HELO sca-es-mail-2.sun.com) (192.18.43.133) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 11 Apr 2008 15:08:06 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m3BF843s011058 for ; Fri, 11 Apr 2008 08:08:04 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JZ600M011WOXP00@fe-sfbay-10.sun.com> (original mail from Gordon.Prieur@Sun.COM) for gdb@sourceware.org; Fri, 11 Apr 2008 08:08:04 -0700 (PDT) Received: from [129.146.82.55] by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JZ600H1B21GSB50@fe-sfbay-10.sun.com>; Fri, 11 Apr 2008 08:08:04 -0700 (PDT) Date: Sat, 12 Apr 2008 22:46:00 -0000 From: Gordon Prieur Subject: Re: GDB MI Interface In-reply-to: To: Lokesh Kumar Cc: gdb@sourceware.org Message-id: <47FF7ECA.4090104@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: User-Agent: Thunderbird 1.5 (X11/20060113) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00101.txt.bz2 Lokesh Kumar wrote: > Hi all, > > I want to use the GDB MI interface to communicate with gdb in the > backend of my software. Surprisingly, the current information on this > topic is very less on the web. So I thought of turning to the gdb > community itself. I had the following questions to ask - > > 1. Does the parser for MI output already exists ? > No. You need to write your own. > 2. Are there some frontends debugger that are using this ? As far as I > know, the ddd and kdb both use the CLI option. > The NetBeans C/C++ gdb module uses gdb/mi. > 3. Has there been any documentation on how to use gdb-MI. The current > documentation is, as they say, like a reference manual. > Chapter 25 of the gdb manual (http://sourceware.org/gdb/current/onlinedocs/gdb_25.html) describes the interface. Gordon > Thanks in advance, > > -Lokesh > >