Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

WTF, gdb?

Name: Anonymous 2012-08-18 19:35

Why the fuck is it so absolutely convoluted just to get it to display a standard 16 byte + ASCII hexdump of what's in memory at a particular address, unlike almost every other debugger out there?

Name: Anonymous 2012-08-21 3:12

>>30
C's printf is a lot weaker than the Algol 68, PL/I or Common Lisp equivalents.
$16r4d" |", 2(" "8(16r2d" ")), "|"16a, l$
This one simple Algol 68 format prints (or reads) a whole 16-character line of hex dump in the same exact format as your C code. Look at the elegance of that nested replicator.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List