From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7205 invoked by alias); 7 Nov 2009 01:14:21 -0000 Received: (qmail 7196 invoked by uid 22791); 7 Nov 2009 01:14:20 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS,SUBJ_ALL_CAPS X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Nov 2009 01:14:14 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id nA71E73B027354; Fri, 6 Nov 2009 19:14:07 -0600 Received: from eusrcmw751.eamcs.ericsson.se ([138.85.77.56]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Nov 2009 19:14:03 -0600 Received: from eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Nov 2009 19:14:02 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.4]) by eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) with mapi; Fri, 6 Nov 2009 20:14:02 -0500 From: Marc Khouzam To: Daniel Jacobowitz , Marco Menegazzi CC: Nick Roberts , =?iso-8859-1?Q?S=E9rgio_Durigan_J=FAnior?= , "gdb@sourceware.org" Date: Sat, 07 Nov 2009 11:22:00 -0000 Subject: RE: GDB GUI Message-ID: References: <100F84AB-4BCE-427F-9796-3D2162D97DC9@gmail.com> <200911021436.46359.sergiodj@linux.vnet.ibm.com> <0F6AD058-C87F-4E6E-9CA2-0B7F2342AD5E@gmail.com> <19186.34927.781254.301460@totara.tehura.co.nz> <3FD374F3-B19F-4764-B85D-4A8CC85816F1@gmail.com> <20091106214946.GA22297@caradoc.them.org> In-Reply-To: <20091106214946.GA22297@caradoc.them.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2009-11/txt/msg00072.txt.bz2 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Daniel Jacobowitz > Sent: November-06-09 4:50 PM > To: Marco Menegazzi > Cc: Nick Roberts; S=E9rgio Durigan J=FAnior; gdb@sourceware.org > Subject: Re: GDB GUI >=20 > On Fri, Nov 06, 2009 at 11:59:10AM +0100, Marco Menegazzi wrote: > >=20 > > So if I am not interested in future developements of gdb, because I > > am not working on a gdb frontend but I only need to use gdb under my > > graphical application, could it be useful to interact with gdb > > instead of gdb/mi ? It is just a question to understand if I really > > need to use gdb-mi in my case ... > > Thank you all for the answers. >=20 > I really strongly recommend you use GDB/MI. If you want an example you can look at some Eclipse code. Below is some information on how to check it out with CVS. But in case that is too intimidating, you can look at the code on the web. Here are the interesting files: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclips= e.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/?root=3DToo= ls_Project look for MIParser.java In fact, here is the link to the MIParser.java: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclips= e.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIParser.ja= va?revision=3D1.1&root=3DTools_Project&view=3Dmarkup To check out using CVS: pserver:anonymous@proxy.eclipse.org:80 under /cvsroot/tools under HEAD/org.eclipse.cdt/dsf-gdb get the plugin org.eclipse.cdt.dsf.gdb and look at MIParser.java Marc