GDB print string from memory

Hey, just found a command for gdb that prints a string from memory address.

Looks like this x /s <addr>. Very useful if you need to print out the string that is in memory somewhere.

Previously I've used other flags to print for example hex values but was pretty hard to read. Glad there is special solution in GDB for this.

Proxy Information
Original URL
gemini://g.codelearn.me/2018-02-24-show-string-in-memory.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
528.341703 milliseconds
Gemini-to-HTML Time
0.151367 milliseconds

This content has been proxied by September (ba2dc).