Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Viesturs Veckalns <viesturs.veckalns@cern.ch>
Cc: gdb@sourceware.org
Subject: Re: GDB support: Couldn't find method
Date: Wed, 08 Aug 2018 00:27:00 -0000	[thread overview]
Message-ID: <b2da156f75c89f511a605787b2baea2c@polymtl.ca> (raw)
In-Reply-To: <3FAD73755234DA45BB9E7CAA811E9CB70102A57F27@CERNXCHG73.cern.ch>

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


  reply	other threads:[~2018-08-08  0:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-04 11:48 Viesturs Veckalns
2018-08-08  0:27 ` Simon Marchi [this message]
2018-08-08 11:15   ` Viesturs Veckalns
2018-08-20 15:03     ` Simon Marchi
2018-08-20 15:13 ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2da156f75c89f511a605787b2baea2c@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=gdb@sourceware.org \
    --cc=viesturs.veckalns@cern.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox