From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30625 invoked by alias); 11 Apr 2012 21:30:41 -0000 Received: (qmail 30617 invoked by uid 22791); 11 Apr 2012 21:30:40 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 21:30:27 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SI57S-0001YP-U9 from Carlos_ODonell@mentor.com for gdb@sourceware.org; Wed, 11 Apr 2012 14:30:26 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Apr 2012 14:30:26 -0700 Received: from [172.30.12.197] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Wed, 11 Apr 2012 14:30:26 -0700 Message-ID: <4F85F7F1.1070304@mentor.com> Date: Wed, 11 Apr 2012 21:30:00 -0000 From: Carlos O'Donell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Subject: Useful MI functions marked @ignore in gdb/doc/gdb.texinfo. Content-Type: text/plain; charset="ISO-8859-1" 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: 2012-04/txt/msg00074.txt.bz2 I was recently looking at the problem of displaying global and local variables from an IDE front-end that uses MI (Eclipse). I noticed that gdb/doc/gdb.texinfo has a list of what appear to be really useful MI functions for working with symbols. Unfortunately all of those functions are wraped with @ignore/@end ignore. None of these MI functions are implemented in gdb/mi/mi-symbol-cmds.c, and never have been (according to the CVS history, and yes I did work my way back through the DOS 8.3 rename into the attic). What's the story with these hidden, but documented MI functions? These functions look like they would be really useful to an front-end that wants to display variables that have global scope. Comments? Cheers, Carlos. -- Carlos O'Donell Mentor Graphics / CodeSourcery carlos_odonell@mentor.com carlos@codesourcery.com +1 (613) 963 1026