home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / arch / 9097 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.6 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!ucsbcsl!network.ucsd.edu!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!bagate!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.arch
  4. Subject: Re: Program behaviour (was Re: trapping speculative ops
  5. Message-ID: <34740@cbmvax.commodore.com>
  6. Date: 29 Aug 92 23:37:00 GMT
  7. References: <1992Aug27.202845.10747@bcars64a.bnr.ca> <k7D9PB1w165w@tsoft.sf-bay.org>
  8. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 24
  11.  
  12. bbs.dennis@tsoft.sf-bay.org (Dennis Yelle) writes:
  13. >schow@bqneh3.bnr.ca (Stanley T.H. Chow) writes:
  14. >> Some people (including me), believe that there is only *one* level
  15. >> of optimization. One should always ship the same binary that one
  16. >> tested; 
  17.  
  18. >I agree.  This is why I am annoyed that most linkers put the
  19. >debug information in the executable file.  I think that the
  20. >debug information should be put in a different file (ending with .dbg
  21. >perhaps).  Then I could test, debug, and ship EXACTLY the same binary.
  22.  
  23.     However, adding some types of debug information can modify the 
  24. generated code, so you have to be careful about it (know your linker/
  25. compiler/debugger and it's habits).  Good linkers have the ability to
  26. strip debug information out of an executable for shipping, without modifying
  27. the code you debugged.
  28.  
  29. -- 
  30. "Rev on the redline, you're on your own; seems like a lifetime, but soon it's
  31.  gone..."  Foreigner
  32. -
  33. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  34. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
  35. Disclaimer: Nothing I say is anything other than my personal opinion.
  36.