I am trying to print a 32 bit register in GDB with the command:
define gpioa_moder print /t *(uint32_t*)0x48000000 end
This is what I get:
+101000000000000000010010100000
However, I would like the two leading zeros to be absent as follows:
00 101000000000000000010010100000
thanks
source share