home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15565 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.3 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!news.rrz.uni-koeln.de!sr
  2. From: sr@ph-cip.uni-koeln.de (Stefan Reisner)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: DICE & enforcer
  5. Date: 9 Nov 92 15:12:09
  6. Organization: Institute of Theoretical Physics, University of Cologne, F. R.
  7.     Germany
  8. Lines: 16
  9. Distribution: world
  10. Message-ID: <SR.92Nov9151209@sun.ph-cip.uni-koeln.de>
  11. References: <Douglas_Stockman.1a52@grace.UUCP>
  12. NNTP-Posting-Host: sun.ph-cip.uni-koeln.de
  13. In-reply-to: Douglas_Stockman@grace.UUCP's message of 4 Nov 92 08:27:36 EST
  14.  
  15. A general way to trace enforcer hunk offset information back into the
  16. source involves using the `dis' disassembler (appeared on a Fish disk
  17. some time ago). To get compatible output you must use `absolute' mode
  18. (i.e. addresses are hunk-relative, not label-relative).
  19.  
  20. dis is aware of symbolic debugger information hunks in the executable.
  21. If you leave them in (there must be a linker option for that), it will
  22. intersperse the disassembly listing with the function and variable
  23. names. That way, you can at least trace the enforcer hit back into the
  24. offending function. By giving a closer look to the assembly instructions
  25. you will even be able to identify the source statement.
  26.  
  27. Hope that helps.
  28.  
  29. Best regards,
  30. Stefan Reisner (sr@ph-cip.uni-koeln.de)
  31.