home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / vmsnet / internal / 1679 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.4 KB

  1. Path: sparky!uunet!think.com!sdd.hp.com!network.ucsd.edu!mvb.saic.com!macro32
  2. From: "Michael L. Hitch" <osymh%trex.oscs.montana.edu@MTSUNIX1.BITNET>
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Why does this code crash with ACCVIO?
  5. Message-ID: <00964FAA.F91C1440.10804@trex.oscs.montana.edu>
  6. Date: Sat, 12 Dec 1992 13:37:04 MST
  7. Organization: Macro32<==>Vmsnet.Internals Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 28
  10.  
  11. =>
  12. => >                                    I can manually deposit values at
  13. => > location pointed to by dest/r0 (using debugger 'deposit *dest=...'),
  14. => > so it is not a invalid address.
  15. =>
  16. => But now for the interesting !
  17. =>
  18. => The above test do NOT test what you think it tests at all !
  19. =>
  20. => The debugger is capable of depositing values in NOWRT psects !
  21. ....
  22. => This little feature has been around for all the VMS versions I have
  23. => used and can be quite usefull.
  24. =>
  25. => I once got the explanation that it is due to the fact, that the NOWRT
  26. => psect actually means user-mode:readonly and the debugger runs in
  27. => supervisor-mode !
  28.  
  29.    If the debugger couldn't write into user readonly data and code sections,
  30. it would limit the utility of the debugger:  you wouldn't be able to modify
  31. any readonly data or code while debugging a program.
  32.  
  33. ---
  34. Michael L. Hitch                        osymh@msu.oscs.montana.edu
  35. Computer Consultant                     OSYMH@MTSUNIX1.BITNET
  36. Office of Systems and Computing Services
  37. Montana State University
  38. Bozeman, MT     USA
  39.