home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14275 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.1 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!datpete
  2. From: datpete@daimi.aau.dk (Peter Andersen)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: MacsBug symbols from assembler code?
  5. Message-ID: <1992Aug20.155733.6869@daimi.aau.dk>
  6. Date: 20 Aug 92 15:57:33 GMT
  7. Sender: datpete@daimi.aau.dk (Peter Andersen)
  8. Reply-To: datpete@daimi.aau.dk (Peter Andersen)
  9. Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
  10. Lines: 20
  11.  
  12. How do I make a (global) symbol known to MacsBug?
  13. I have tried adding 
  14.  
  15.    DC.B $8C, 'MySymbol'
  16.    DC.W $0000
  17.  
  18. after the last RTS in the code of the procedure, as described in
  19. the MacsBug manual (Appendix G, p.118, MacsBug version 6.1 manual),
  20. but the symbol is not known to MacsBug, when I try to debug the code.
  21.  
  22. I am using MPW 3.2.2, System 7.0.1 (US), MacsBug version 6.2b2 on a 
  23. Macintosh IIx.
  24.  
  25. I have also tried {MPW}:Examples:AExamples:Sample.a, but although it
  26. tries to add MacsBug symbols with the macro BdgInfo, again these symbols
  27. are not known to my MacsBug.
  28.  
  29. Am I missing something?
  30.  
  31. Peter Andersen, e-mail: datpete@daimi.aau.dk
  32.