ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Aug/finding-defaults

This is finding-defaults in view mode; [Up]


Date: Sun 18-Aug-1989 20:41:03 From: Unknown Subject: finding defaults i worked out the following strategy for tracking down which defaults an application reads. it's more reliable and much less painful than reading through a 'strings' listing... a) 'gdb <application>' b) 'break NXRegisterDefaults' (or 'break 0x6066220', if there are no symbols) c) 'run' d) when it hits the break, try 'x/4wx $sp'. if third word is zero, 'cont' e) 'p {char *}0xZZZZ@24', where 0xZZZZ is the fourth word displayed by the previous operation (if that doesn't get them all, increase the 24)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.