3 ms·
Every time I use GDB, I feel like it was almost deliberately designed to make me hate using it, and those example outputs really show why; compare WinDBG's outp
by userbinator 10y ago
Every time I use GDB, I feel like it was almost deliberately designed to make me hate using it, and those example outputs really show why; compare WinDBG's output dumping bytes (and corresponding ASCII in the usual hexdump format, something that GDB just doesn't seem to support at all...):
http://3.bp.blogspot.com/-J5bsfRdkOdk/UsHqCho2huI/AAAAAAAACVI/4YGfzuzB3ds/s1600/screenshot.538.jpg http://3.bp.blogspot.com/-J5bsfRdkOdk/UsHqCho2huI/AAAAAAAACV...
and structures:
https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/ntdebugging/WindowsLiveWriter/WindbgTipKN.FrameDVandDTItssoeasy_848C/clip_image008_3.jpg https://msdnshared.blob.core.windows.net/media/TNBlogsFS/Blo...
- noselasd 10y agoWhile I don't particularly like how gdb does this either, you can: * "set print pretty on" , this makes structs readable * "x/20b &var" to show a hex dump. But no ASCII, and you have to give it the count (e.g. 20 bytes..)