From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17022 invoked by alias); 13 Feb 2007 16:56:31 -0000 Received: (qmail 16986 invoked by uid 22791); 13 Feb 2007 16:56:30 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Feb 2007 16:56:21 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 781E8122ED; Tue, 13 Feb 2007 17:56:18 +0100 (CET) From: Andreas Schwab To: Thomas Richter Cc: gdb@sourceware.org Subject: Re: [BUG] Tab Expansion for C++ References: <200702131613.l1DGDWVX009239@mersenne.math.TU-Berlin.DE> X-Yow: .. I have a VISION! It's a RANCID double-FISHWICH on an ENRICHED BUN!! Date: Tue, 13 Feb 2007 19:00:00 -0000 In-Reply-To: <200702131613.l1DGDWVX009239@mersenne.math.TU-Berlin.DE> (Thomas Richter's message of "Tue, 13 Feb 2007 17:13:32 +0100 (CET)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2007-02/txt/msg00108.txt.bz2 Thomas Richter writes: > Consider finding the constructor of A (clearly, a contrived example) > > (gdb) break A:: > > now type TAB to get the members of A: > > A __do_global_dtors_aux char > A::A(int) __dso_handle completed.5556 > A::getA() const __fini_array_end data_start > A::~A() __fini_array_start frame_dummy > _DYNAMIC __i686.get_pc_thunk.bx int > _GLOBAL_OFFSET_TABLE_ __init_array_end long int > _IO_stdin_used __init_array_start long long int > __CTOR_END__ __libc_csu_fini long long unsigned int > __CTOR_LIST__ __libc_csu_init long unsigned int > __DTOR_END__ __libc_start_main@plt main > __DTOR_LIST__ _edata p.5554 > __FRAME_END__ _end short int > __JCR_END__ _fini short unsigned int > __JCR_LIST__ _fp_hw signed char > __bss_start _init unsigned char > __data_start _start unsigned int > __do_global_ctors_aux call_gmon_start ~A > (gdb) See (gdb)Completion, you need to put a single quote before the word to be completed, so that gdb know where it starts. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."