From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1164 invoked by alias); 3 Jan 2008 22:23:22 -0000 Received: (qmail 1146 invoked by uid 22791); 3 Jan 2008 22:23:20 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Jan 2008 22:19:33 +0000 Received: from kahikatea.snap.net.nz (102.60.255.123.dynamic.snap.net.nz [123.255.60.102]) by viper.snap.net.nz (Postfix) with ESMTP id BDA403D9E43; Fri, 4 Jan 2008 11:19:25 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 5CC708FC6D; Fri, 4 Jan 2008 11:19:11 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18301.24414.446805.541914@kahikatea.snap.net.nz> Date: Thu, 03 Jan 2008 22:23:00 -0000 To: Gordon Prieur Cc: Eli Zaretskii , Daniel Jacobowitz , vicshen@gmail.com, gdb@sourceware.org Subject: Re: gdb cannot understand some type with STL X-Mailer: VM 7.19 under Emacs 23.0.50.21 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: 2008-01/txt/msg00015.txt.bz2 > In which case "whatis 'std::list TAB" (note the single quote) should > complete the correct text to type, right? > Is this solution likely to work in mi mode? I've run into similar issues with > gdb/mi in the NetBeans gdb module. I know nothing about NetBeans but Emacs uses the "complete" command for completion. Maybe NetBeans could use it too: (gdb) complete whatis 'std::list >::_M_create_node(int const&)\n" ~"whatis 'std::list >::_M_insert(std::_List_iterator, int const&)\n" ~"whatis 'std::list >::end()\n" ~"whatis 'std::list >::list(std::allocator const&)\n" ~"whatis 'std::list >::push_back(int const&)\n" ~"whatis 'std::list >::~list()\n" ~"whatis 'std::list >\n" ^done (gdb) or better still use: -interpreter-exec console "complete whatis 'std::list