SMART@ditmelb.OZ.AU (Robert Smart) (06/30/87)
It is quite easy to change an image linked /NOTRACEBACK to be debuggable: PATCH/ABSOLUTE x.EXE and set the low order bit of location 20 (this seems to mean changing 01000028 to 01000029). Now set the longword at 34 (which is 0) to the contents of the longword at 30. Now set the longword at 30 to be the correct start address for the debugger: currently 7FFEDF68. Update and exit and you've done it. I hoped to use this trick to debug a dynamically loaded shareable image (a protocol handler for MAIL). Does anybody know how to tell the debugger that a shareable image has suddenly arrived at a particular address? I would prefer it if the debugger would notice arriving shareable images itself, but perhaps that is asking too much. Robert Smart, CSIRO Division of Information Technology, Australia <smart@ditmela.oz.au>