g++ 4.3.2 and 4.4 don't emit good enough debug info for typedefs inside class scopes nor for templates

Solution Verified - Updated -

Issue

  • Customer can not see or use in the debugger typedef types defined in classes.
  • They are unrecognized.
  • gdb can't find type NotTemplate::value_type
  • The templates need to be fixed as well, otherwise the users are going to still be unable to see or use typedef types defined in classes in the debugger as they will be unrecognised.

Environment

  • Red Hat Enterprise Linux 6
  • gcc 4.3 and 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content