From: Daniel Jacobowitz <drow@false.org>
To: "Raúl Huertas" <raulh39@ya.com>
Cc: GDB maillist <gdb@sourceware.org>
Subject: Re: <incomplete type> in a C++ program compiled with gcc 4.0.1
Date: Fri, 10 Nov 2006 19:11:00 -0000 [thread overview]
Message-ID: <20061110191143.GA1188@nevyn.them.org> (raw)
In-Reply-To: <4554CDC5.5030309@ya.com>
On Fri, Nov 10, 2006 at 08:06:45PM +0100, Raúl Huertas wrote:
> This is my first post to this mail list, and I'm not sure if it is the
> correct one. In case I'm wrong, can you please tell me wich mail list is
> the correct one?
This one is fine.
> The program works as expected, but when I run it in GDB setting a
> breakpoint in the "cout" line, I cannot print the content of "a_example".
> Here is the output of gdb:
>
> (gdb) p a_example
> $1 = <incomplete type>
Unfortunately this is a GCC problem - I am not sure whether to call it
a bug or not. This might work if you had a debugging build of
libstdc++, but debug information about some classes is only emitted
with their key methods. You'll have to report this to the GCC
developers, probably via bugzilla.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-11-10 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 19:07 Raúl Huertas
2006-11-10 19:11 ` Daniel Jacobowitz [this message]
2006-11-10 19:24 ` Raúl Huertas
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=20061110191143.GA1188@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=raulh39@ya.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