home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22111 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!olivea!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!mccall!tp
  2. From: tp@mccall.com (Terry Poot)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: PCA limitation / Unix "strip" for VMS
  5. Keywords: PCA,strip
  6. Message-ID: <1993Jan26.143819@mccall.com>
  7. Date: 26 Jan 93 20:38:19 GMT
  8. References: <418@ittc.wec.com> <1993Jan26.120534.15379@nntpd.lkg.dec.com>
  9. Reply-To: tp@mccall.com (Terry Poot)
  10. Organization: The McCall Pattern Co., Manhattan, KS, USA
  11. Lines: 21
  12. Nntp-Posting-Host: mis1
  13. Nntp-Posting-User: tp
  14.  
  15.  
  16. In article <1993Jan26.120534.15379@nntpd.lkg.dec.com>,
  17. jnelson@gauche.zko.dec.com (Jeff E. Nelson) writes:
  18. >There is no such count. An object module contains a series of object records.
  19. >As Jerry Leichter (leichter@lrw.com) suggests, you could write a program
  20. >to read an object module and throw out the records you don't want.
  21. >
  22. >The object module records are defined in STARLET by $OBJDEF. If you decide to
  23. >write this program, the records to skip are the ones whose OBJ$B_RECTYP field
  24. >is either OBJ$C_TBT or OBJ$C_DBG. OBJ$C_TBT contains traceback records
  25. >(module definitions, routine definitions, line numbers); OBJ$C_DBG contains
  26. >data symbol definitions. Please note that such a program may produce an
  27. >invalid object module. The fastest and supported method is to compile the
  28. >module /NOTRACE.
  29.  
  30. I've written programs to read and decode .obj files before, and I'm curious, how
  31. could removing DBG and TBT records create an invalid object file?
  32. --
  33. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  34. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  35. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  36.