Bug 18260

Summary: "pt $ps" on i386 -> type = i386_eflagstype not handled in c_type_print_varspec_prefix()
Product: gdb Reporter: dje
Component: tdepAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: ssbssa
Priority: P2    
Version: HEAD   
Target Milestone: 8.0   
Host: Target:
Build: Last reconfirmed:

Description dje 2015-04-14 00:12:51 UTC
bash$ make run
(gdb) file a.out # i386 binary
(gdb) start
(gdb) p $ps
$1 = [ SF IF ]
(gdb) pt $ps
type = i386_eflagstype not handled in c_type_print_varspec_prefix()
Comment 1 Hannes Domani 2024-01-12 16:19:48 UTC
Works since gdb-8.0:
```
(gdb) pt $ps
type = flag i386_eflags {
    bool CF @0;
    bool @1;
    bool PF @2;
    bool AF @4;
    bool ZF @6;
    bool SF @7;
    bool TF @8;
    bool IF @9;
    bool DF @10;
    bool OF @11;
    bool NT @14;
    bool RF @16;
    bool VM @17;
    bool AC @18;
    bool VIF @19;
    bool VIP @20;
    bool ID @21;
}
```