HomeFreeBSD

db_pprint: Properly handle complex pointer types

Description

db_pprint: Properly handle complex pointer types

The existing pretty-printing code fails to properly print complex
pointer types. This commit fixes this behaviour by traversing the
chain of CTF types until a base type is encountered.

Approved by: markj (mentor)
Fixes: c21bc6f3c242

Details

Provenance
bnovkovAuthored on Jul 21 2024, 4:51 PM
Parents
rG82f5dfc12139: db_pprint: Fix offset calculation for struct members
Branches
Unknown
Tags
Unknown