home *** CD-ROM | disk | FTP | other *** search
- 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
- From: tp@mccall.com (Terry Poot)
- Newsgroups: comp.os.vms
- Subject: Re: PCA limitation / Unix "strip" for VMS
- Keywords: PCA,strip
- Message-ID: <1993Jan26.143819@mccall.com>
- Date: 26 Jan 93 20:38:19 GMT
- References: <418@ittc.wec.com> <1993Jan26.120534.15379@nntpd.lkg.dec.com>
- Reply-To: tp@mccall.com (Terry Poot)
- Organization: The McCall Pattern Co., Manhattan, KS, USA
- Lines: 21
- Nntp-Posting-Host: mis1
- Nntp-Posting-User: tp
-
-
- In article <1993Jan26.120534.15379@nntpd.lkg.dec.com>,
- jnelson@gauche.zko.dec.com (Jeff E. Nelson) writes:
- >There is no such count. An object module contains a series of object records.
- >As Jerry Leichter (leichter@lrw.com) suggests, you could write a program
- >to read an object module and throw out the records you don't want.
- >
- >The object module records are defined in STARLET by $OBJDEF. If you decide to
- >write this program, the records to skip are the ones whose OBJ$B_RECTYP field
- >is either OBJ$C_TBT or OBJ$C_DBG. OBJ$C_TBT contains traceback records
- >(module definitions, routine definitions, line numbers); OBJ$C_DBG contains
- >data symbol definitions. Please note that such a program may produce an
- >invalid object module. The fastest and supported method is to compile the
- >module /NOTRACE.
-
- I've written programs to read and decode .obj files before, and I'm curious, how
- could removing DBG and TBT records create an invalid object file?
- --
- Terry Poot <tp@mccall.com> The McCall Pattern Company
- (uucp: ...!rutgers!depot!mccall!tp) 615 McCall Road
- (800)255-2762, in KS (913)776-4041 Manhattan, KS 66502, USA
-