From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16940 invoked by alias); 22 Oct 2009 16:28:09 -0000 Received: (qmail 16923 invoked by uid 22791); 22 Oct 2009 16:28:08 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Oct 2009 16:28:04 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N10W9-0008Ab-0f for gdb@sources.redhat.com; Thu, 22 Oct 2009 18:28:01 +0200 Received: from h86-62-88-129.ln.rinet.ru ([86.62.88.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Oct 2009 18:28:01 +0200 Received: from vladimir by h86-62-88-129.ln.rinet.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Oct 2009 18:28:01 +0200 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Re: GDB/MI list Date: Thu, 22 Oct 2009 18:07:00 -0000 Message-ID: References: <2f03c2a30910220822x42e12a13rfc0181d68419613a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 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-10/txt/msg00341.txt.bz2 Mauro Baluda wrote: > hallo I'm completely new to GDB/MI and looking at the documentation > I'm not able to tell what would be an equivalent to the list command > in the usual interface > > I only need to print the next line that willl be executed, is there a > way to do it in MI? No, there is none. Most frontends have some editor component, and therefore need only file name and line number to show the current line. - Volodya