-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Currently set print compact-capabilities 0 only seems to have an effect when explicitly printing expressions of type __uintcap_t:
(gdb) set print compact-capabilities 0
(gdb) p argv
$52 = (char **) 0xfffffffff6a0 [rwxRWE,0x0-0x1000000000000]
(gdb) p (__uintcap_t)argv
$53 = {tag = 1, address = 0xfffffffff6a0, permissions = {[ Global Executive User0 MutableLoad BranchUnseal System StoreLocalCap StoreCap LoadCap Execute Store Load ] range = [0x0 - 0x1000000000000)}}
It would be good for it to affect the printing of all capability types. It is more debatable whether it should affect capabilities printed in other contexts (e.g. backtraces), as that may be too verbose.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels