One Quickie


Displaying four-character ints (gdb->General)
Old-school Mac programming (and Quicktime, and other places) use four-character ints, things like 'bork'. You can have gdb print them out if you need to look at one or two of them:
(gdb) print/T 1936746868
$4 = 'spit'
(thanks to Daniel Jalkut for the print/T trick)



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com