From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
To: gdb Mailing List <gdb@sources.redhat.com>
Subject: Cannot resolve method to any overloaded instance
Date: Tue, 15 Apr 2008 11:44:00 -0000 [thread overview]
Message-ID: <20080415084614.GA18034@geppetto> (raw)
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?
There is some option/trick I have to know in order to be able to call
the method from gdb?
My gdb version:
stefano@geppetto ~> gdb --version
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Many thanks in advance.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
next reply other threads:[~2008-04-15 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 11:44 Stefano Sabatini [this message]
2008-04-15 15:00 ` Daniel Jacobowitz
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=20080415084614.GA18034@geppetto \
--to=stefano.sabatini-lala@poste.it \
--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