From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3968 invoked by alias); 30 Jul 2008 05:24:04 -0000 Received: (qmail 3957 invoked by uid 22791); 30 Jul 2008 05:24:03 -0000 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jul 2008 05:23:42 +0000 Received: from nat-inn.mentorg.com ([202.75.206.226] helo=svr-inn-exc-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1KO4A0-0000yb-Nt from Pankaj_Pal@mentor.com for gdb@sources.redhat.com; Tue, 29 Jul 2008 22:23:41 -0700 Received: from [137.202.216.79] ([137.202.216.79]) by svr-inn-exc-02.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Jul 2008 10:53:38 +0530 Message-ID: <488FFADA.7040306@mentor.com> Date: Wed, 30 Jul 2008 06:53:00 -0000 From: Pankaj Pal User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Query regarding GDB-Mi interface Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-07/txt/msg00312.txt.bz2 We have a debugging front end which uses gdb-6.6 We were using annotations till now but as annotations have been made obsolete we are shifting to MI interpreter. I have a few queries regarding MI. 1) Why few commands are still un implemented like attach, info program etc. Is there any plan to support them. 2) Is there any way to stop the MI interpreter like we have with annotations (set annotate 0 whenever we wish to do so). 3) We need 'info line *addr' command when we are shifting to MI from annotations. I have been doing few changes in the gdb source code to get this information (source file and line number), however annotations have this information. I would like to know is there any known issue due to which this command has not been implemented. 4) In the gdb manual I can see that 'call' command in gdb is equivalent to '-data-evaluate-expression' in MI. But with annotations, the 'call' command sequence is as follows :: ^z^z starting --->> do the call command functionality ^z^z stopped However, with MI, we are not getting the 'running' and 'stopped' tokens. -- Thanks & Regards, Pankaj Pal Extn. 4529 Mentor Graphics, Noida