From: Phil Muldoon <pmuldoon@redhat.com>
To: <Paul_Koning@Dell.com>
Cc: <gdb@sourceware.org>
Subject: Re: Python: gdb.Type.template_argument method issue
Date: Thu, 15 Sep 2011 11:17:00 -0000 [thread overview]
Message-ID: <m3pqj2jbs1.fsf@redhat.com> (raw)
In-Reply-To: <09787EF419216C41A903FD14EE5506DD0307EF93D7@AUSX7MCPC103.AMER.DELL.COM> (Paul Koning's message of "Wed, 14 Sep 2011 14:33:37 -0500")
<Paul_Koning@Dell.com> writes:
> The template_argument method assumes that all template arguments are types. While that's the most common, other things are also found in the wild. My C++ book says that the arguments can be integers, enums, pointers, references, or pointer-to-member constant values. (GCC doesn't want to accept pointers and references, perhaps because it thinks they are relocatable.)
http://sourceware.org/bugzilla/show_bug.cgi?id=11060
> Any hints on where to look?
If that is the issue you are encountering, it looks like it has been
fixed in GDB, but you need a newer GCC to take advantage of it.
Cheers
Phil
next prev parent reply other threads:[~2011-09-15 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 19:33 Paul_Koning
2011-09-15 11:17 ` Phil Muldoon [this message]
2011-09-15 14:06 ` Paul_Koning
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=m3pqj2jbs1.fsf@redhat.com \
--to=pmuldoon@redhat.com \
--cc=Paul_Koning@Dell.com \
--cc=gdb@sourceware.org \
/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