This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1960: can't use typeid
- From: grover at kuchera dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 17 Jun 2005 21:19:13 -0000
- Subject: c++/1960: can't use typeid
- Reply-to: grover at kuchera dot com
>Number: 1960
>Category: c++
>Synopsis: can't use typeid
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jun 17 21:28:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: grover@kuchera.com
>Release: GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
>Organization:
>Environment:
>Description:
When I try expressions like
print typeid(*this).name()
I get the error
No symbol "typeid" in current context.
AFAIK, typeid is a C++ operator, not a local or global symbol. It would be very helpful if it were supported.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: