From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21693 invoked by alias); 4 Nov 2009 14:36:24 -0000 Received: (qmail 21682 invoked by uid 22791); 4 Nov 2009 14:36:22 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-mx06.nokia.com) (192.100.122.233) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Nov 2009 14:36:12 +0000 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nA4EZgwX019770 for ; Wed, 4 Nov 2009 16:36:08 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Nov 2009 16:35:56 +0200 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Nov 2009 16:35:55 +0200 Received: from gar.localnet (bettdhcp167121.europe.nokia.com [172.25.167.121]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nA4EZr7F020447 for ; Wed, 4 Nov 2009 16:35:53 +0200 From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb@sourceware.org Subject: Re: GDB GUI Date: Wed, 04 Nov 2009 14:36:00 -0000 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; i686; ; ) References: <100F84AB-4BCE-427F-9796-3D2162D97DC9@gmail.com> <200911021436.46359.sergiodj@linux.vnet.ibm.com> <0F6AD058-C87F-4E6E-9CA2-0B7F2342AD5E@gmail.com> In-Reply-To: <0F6AD058-C87F-4E6E-9CA2-0B7F2342AD5E@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911041533.48451.andre.poenitz@nokia.com> X-Nokia-AV: Clean 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/msg00036.txt.bz2 On Wednesday 04 November 2009 15:32:49 Marco Menegazzi wrote: > > Thank you. > > I've already seen that documentation but my problem is that it does > not explain how to connect to this interface through code. It explains > how it is but not how to use it ... I want to connect through my java > code but the only idea I have is to call it directly from the code > with Runtime.exec ... but then I ask myself why to use gdb/mi that > returns a more complex output instead of calling directly gdb and > parse the stout to get what I want? The MI output is _much_ simpler to parse than the command line output. Andre'