Re: [PATCH v2 20/24] dyndbg: WIP towards debug-print-class based callsite controls

From: Joe Perches
Date: Sat Jun 13 2020 - 15:22:14 EST


On Sat, 2020-06-13 at 09:57 -0600, Jim Cromie wrote:
> 3- pr_class:5 gives 32 print-classes
> we can map [1-9a-w] to select any pr_class with 1 char
> then "12", "af" work as noted.
> it is succinct, but arcane.

arcane generally isn't useful.

> but it does allow mnemonic choices of pr_class
> - l,m,h low, mid, hi
> - l,r left right

I believe there to be no value in mnemonic input
to debug_<class>

I think 0x<hex_mask>, 0b<binary_bits>, 0<octal_bits>
and <decimal> level is more than enough.

And likely just 0x<hex> and <decimal> is enough.