Bug 4232

Summary: array of TYPE - look through typedef?
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: ASSIGNED ---    
Severity: normal CC: tthomas
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Andrew Cagney 2007-03-21 13:58:30 UTC
 
Comment 1 Andrew Cagney 2007-11-19 17:40:57 UTC
for instance:
   typedef struct foo { int i; } foo;
   foo arr[10];
print: arr

is the debug-info read correctly?
is this printed correctly?
Comment 2 Teresa Thomas 2007-11-19 18:16:06 UTC
Test code:
typedef struct foo { int i; } foo;
foo arr[3];
------------------------

(fhpd) print arr   
[0.0]
{{
  i=0,
},{
  i=0,
},{
  i=0,
}}
(fhpd) print arr --type
[0.0]
foo [3]
(fhpd) print arr[1] --type
[0.0]
foo