Bug 15288

Summary: ptype name is ambiguous if name is a type and an expression
Product: gdb Reporter: dje
Component: symtabAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: HEAD   
Target Milestone: ---   
See Also: http://sourceware.org/bugzilla/show_bug.cgi?id=15111
Host: Target:
Build: Last reconfirmed:

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.