Unfortunately this is not possible for the locals.
You have to add separate watch variables and then right click -> properties -> hexadecimal.
As far as I can see there is no way to tell gdb to list locals or args in hexadecimal format.
C::B uses 'info locals' and 'info args' commands.
- i have an array of many variables
- they are memory pointers
- in this case, decimal integers are not useful
- right-clicking every single variable not possible
currently i am using windows calculator to convert from decimal to hex, because it is faster than;
- adding a new watchlist entry for a variable
- then right-clicking it
- then ticking a box in a a popup window
it is now 2019. is it possible with today's technology to display a hex number?