home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15978 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.0 KB

  1. Path: sparky!uunet!stanford.edu!unix!monod.biol.mcgill.ca!henry
  2. From: henry@monod.biol.mcgill.ca (Henry A. Pasternack)
  3. Newsgroups: comp.unix.questions
  4. Subject: How to load and execute incrementally-linked modules?
  5. Message-ID: <43117@unix.SRI.COM>
  6. Date: 26 Jan 93 19:35:28 GMT
  7. Sender: news@unix.SRI.COM
  8. Reply-To: henry@monod.biol.mcgill.ca (Henry A. Pasternack)
  9. Organization: CAE Electronics
  10. Lines: 12
  11.  
  12.  
  13.    I'm running a large, modular system under SGI Unix.  I'd like to add
  14. a feature that allows me to "unlink" a module on the fly and "link" in
  15. a replacement module that contains special debugging commands -- all
  16. without stopping the main program execution.  I have read about the
  17. '-A' incremental linking option of 'ld'.  What I'm wondering is how I
  18. load the incrementally linked object module into the executing program.
  19. Presumably, I need to inform the kernel tthat I plan to increase the
  20. size of the process before I read in the new segments.  Can someone
  21. fill me in on a practical approach to this problem?  Thanks.
  22.  
  23. -Henry
  24.