This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Python: gdb.Type.template_argument method issue


<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]