From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 704 invoked by alias); 8 Aug 2018 00:27:55 -0000 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 Received: (qmail 693 invoked by uid 89); 8 Aug 2018 00:27:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*ch, Hx-languages-length:906, sk:debugf, sk:debug-f X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Aug 2018 00:27:53 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w780RkCI009074 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 7 Aug 2018 20:27:51 -0400 Received: by simark.ca (Postfix, from userid 112) id 8AE8C1EF36; Tue, 7 Aug 2018 20:27:46 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 0A8701E012; Tue, 7 Aug 2018 20:27:45 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 08 Aug 2018 00:27:00 -0000 From: Simon Marchi To: Viesturs Veckalns Cc: gdb@sourceware.org Subject: Re: GDB support: Couldn't find method In-Reply-To: <3FAD73755234DA45BB9E7CAA811E9CB70102A57F27@CERNXCHG73.cern.ch> References: <3FAD73755234DA45BB9E7CAA811E9CB70102A57F27@CERNXCHG73.cern.ch> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00021.txt.bz2 On 2018-08-04 07:48, Viesturs Veckalns wrote: > Hello! > I compile a binary by linking a library: > > -L${LIBDIR}/lib -lCompoundHisto > > In the debug session the library is listed under > > info sharedlibrary > > Additionally, I requested to read symbols from the relevant source > files by > > set debug-file-directory ${LIBDIR}/interface > set debug-file-directory ${LIBDIR}/src > > Nevertheless, I encounter the following problem: > > p GetLevel(resultcode) -> GetHU(mo) > Couldn't find method CompoundHistoUnfolding::Level::GetHU > > The methods are described in the source to build libCompoundHisto.so > > What is wrong? > > My gdb version is 7.11. > Viesturs Hi Viesturs, A sanity check to see if GDB knows about any GetHU method would to do (gdb) ptype GetLevel(resultcode) or (gdb) ptype CompoundHistoUnfolding::Level Do you see GetHU listed? Simon