Bug 15288 - ptype name is ambiguous if name is a type and an expression
Summary: ptype name is ambiguous if name is a type and an expression
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 15:25 UTC by dje
Modified: 2013-03-20 15:29 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dje 2013-03-20 15:25:42 UTC
There's no way to choose which "s" to print the type of here:

class s { int x; } x;
int s;

This is related to bug 15111, but the latter refers to the inability to print the value of variable s.