Bug 18260 - "pt $ps" on i386 -> type = i386_eflagstype not handled in c_type_print_varspec_prefix()
Summary: "pt $ps" on i386 -> type = i386_eflagstype not handled in c_type_print_varspe...
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: tdep (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: 8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-14 00:12 UTC by dje
Modified: 2024-01-12 16:19 UTC (History)
1 user (show)

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 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;
}
```