Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb Mailing List <gdb@sources.redhat.com>
Subject: Re: Cannot resolve method to any overloaded instance
Date: Tue, 15 Apr 2008 15:00:00 -0000	[thread overview]
Message-ID: <20080415131039.GA6049@caradoc.them.org> (raw)
In-Reply-To: <20080415084614.GA18034@geppetto>

On Tue, Apr 15, 2008 at 10:46:14AM +0200, Stefano Sabatini wrote:
> Hi all,
> 
> I'm trying to debug a C++ application, and I need to invoke an
> AsString() method to see an human readable representation of an
> object, but I can't since I got:
> 
> (gdb) p msg.AsString()
> Cannot resolve method (null)AsString to any overloaded instance
> 
> I googled without too much luck, many occurrence but no explanation.
> Can you explain this message?

Is AsString inlined?  That often prevents function calling.

Can you provide a test case?

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2008-04-15 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 11:44 Stefano Sabatini
2008-04-15 15:00 ` Daniel Jacobowitz [this message]

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=20080415131039.GA6049@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /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