cs01 / gdbgui

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
https://gdbgui.com
GNU General Public License v3.0
9.86k stars 496 forks source link

Memory: Show all printable ASCII in hexdump #483

Open MurphyMc opened 6 months ago

MurphyMc commented 6 months ago

Previously, only characters in the "word" class were shown in the memory hexdump. These are like alphabetic and numeric characters. Other printable characters like spaces and punctuation were replaced with a ".".

This commits shows all printable ASCII characters, and only does the "." replacement for control characters and 127.

I don't know if it's needed. I'm happy to provide one if requested.

Summary of changes

Test plan

It hasn't been extensively tested, but the result looked good to me, including when the dump contained stuff that might have been HTML. You can verify the behavior yourself by opening the memory section and looking at the memory of any running program.

dinert88 commented 1 month ago

dfghm,n

dinert88 commented 1 month ago

teeswu