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

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!rpi!zaphod.mps.ohio-state.edu!malgudi.oar.net!ucbeh.san.uc.edu!uceng.uc.edu!babbage.ece.uc.edu!snert.ece.uc.edu!tmcbraye
  2. Newsgroups: comp.sys.sgi
  3. Subject: Re: what is /usr/lib/libmalloc_d.a?
  4. Message-ID: <1992Aug18.170903.24902@babbage.ece.uc.edu>
  5. From: tmcbraye@snert.ece.uc.edu (Tim McBrayer)
  6. Date: Tue, 18 Aug 1992 17:09:03 GMT
  7. Sender: root@babbage.ece.uc.edu (Operator)
  8. References: <2978@ariel.its.unimelb.EDU.AU>
  9. Organization: Unversity of Cincinnati, ECE Dept
  10. Nntp-Posting-Host: snert.ece.uc.edu
  11. Lines: 16
  12.  
  13. In article <2978@ariel.its.unimelb.EDU.AU> paul@sunrise.sli.unimelb.edu.au (Paul Joyce) writes:
  14. >Subject says it all. Is it a debugging version of malloc?
  15. >/usr/lib/libmalloc.a is under malloc(3X), and I can guess what
  16. >/usr/lib/libmalloc_G0.a is (I think). But _d?
  17.  
  18. Yes, this is a debugging version.  If you examine the malloc(3X) man page
  19. (or possibly malloc.h, I forget which), you'll find references to being able
  20. to write out a binary debug file, containing every malloc/free, including
  21. all relevant data.  This debug file can then be post-processed to examine
  22. memory allkocation behavior.  
  23.  
  24. Libmalloc_G0.a was compiled with the -G 0 option, I assume.
  25. -- 
  26. Tim McBrayer                                tmcbraye@thor.ece.uc.edu
  27. Computer Architecture Design Laboratory     (513) 556-0904
  28. University of Cincinnati                    "Visualize Whirled Peas"
  29.