I am checking assembly code of a program and would like to highlight a specific value:
gdb a.out
b main
run
s ... until where I want to focus my attention
x/32 0x555555554b80 display nicely the bytes
Now, is there a way to ask gdb to display the output AND highlight if a byte is equal to the desired value (here 0x27) ?
x/32 0x555555554b80 | 0x27
By highlighting I mean put this byte in bold or green, or whatever that makes it stands out!
PS: I am aware about this question but 1/ it does not answer my question, 2/ I would like to use gdb