This is the mail archive of the gdb-prs@sources.redhat.com 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]

c++/1960: can't use typeid


>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:


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