Article View: alt.folklore.computers
Article #620746Re: xref Nostalgia
From: Peter Flass
Date: Fri, 02 Mar 2018 20:40
Date: Fri, 02 Mar 2018 20:40
47 lines
3843 bytes
3843 bytes
Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > On 2018-03-02, Bob Eager <news...@eager.cx> wrote: > >> On Fri, 02 Mar 2018 01:11:55 +0000, Charlie Gibbs wrote: >> >>> On 2018-03-01, Bob Eager <news...@eager.cx> wrote: >>> >>>> On Thu, 01 Mar 2018 16:41:20 -0600, Charles Richmond wrote: >>>> >>>>> Cross references were good to use with a hex dump of your program. In >>>>> the early 1980's I used a cross reference and a hex dump to find the >>>>> value of FORTRAN variables at the time the program crashed. >>>>> numerist at aquaporin4 dot com >>>>> >>>>> Using DDT under TOPS-10 or dbx under Unix, or gdb under Linux... one >>>>> can find the value of variables when the program "dumped core". This >>>>> obviated the need for a cross reference. >>>> >>>> I think that's conflating two separate things: >>>> a) cross reference b) symbol table >>> >>> A cross-reference listing is a symbol table dump with reference data >>> added. >> >> I have rarely seen the two combined. A symbol table is names and >> (possibly relocatable) offsets in a PSECT ot whatever. A cross reference >> is names and line numbers. The two have different purposes, and I have >> seen many assemblers where you can request one or both of those - >> separately. > > Perhaps I overgeneralized. Indeed, a freestanding cross-reference > utility would have to do a lot of work to provide more than the > line number in which a symbol was defined and the line numbers in > which it was referenced. The assembler or compiler, on the other > hand, knows the symbol's value, length attribute, type attribute, > relocation attribute, etc. If it writes these out to a work file, > along with line numbers where the symbol is used, it's possible > to generate a pretty comprehensive report from the result. > Vey simple-minded example (just for you young whippersnappers who never worked with a compiler that generated a cross-reference): http://www.iron-spring.com/FreeStuff/cross_ref_examp.txt -- Pete
Technical Details
Message-ID:
<539717784.541715909.651745.peter_flass-yahoo.com@news.eternal-september.org>Path:
mbox-mo1.pugleaf.net!a2ni1024ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mailReferences:
<fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <p79gtm12msl@news1.newsguy.com> <p79vif$5vm$1@dont-email.me> <ffrevqF75bdU27@mid.individual.net> <p7a8cr13103@news1.newsguy.com> <ffske6F75bdU30@mid.individual.net> <p7c1bg01tq0@news2.newsguy.com>Show Full Headers
Complete Article Headers
X-Received: by 10.36.71.5 with SMTP id t5mr2295332itb.36.1520023230641; Fri, 02 Mar 2018 12:40:30 -0800 (PST) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 10.107.114.16 with SMTP id n16ls2021048ioc.24.gmail; Fri, 02 Mar 2018 12:40:29 -0800 (PST) X-Received: by 10.107.70.21 with SMTP id t21mr4791430ioa.134.1520023229497; Fri, 02 Mar 2018 12:40:29 -0800 (PST) Path: mbox-mo1.pugleaf.net!a2ni1024ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Peter Flass <peter...@yahoo.com> Newsgroups: alt.folklore.computers Subject: Re: xref Nostalgia Date: Fri, 2 Mar 2018 13:40:28 -0700 Organization: A noiseless patient Spider Lines: 47 Message-ID: <539717784.541715909.651745.peter_flass-yahoo.com@news.eternal-september.org> References: <fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <p79gtm12msl@news1.newsguy.com> <p79vif$5vm$1@dont-email.me> <ffrevqF75bdU27@mid.individual.net> <p7a8cr13103@news1.newsguy.com> <ffske6F75bdU30@mid.individual.net> <p7c1bg01tq0@news2.newsguy.com> Mime-Version: 1.0 Injection-Info: reader02.eternal-september.org; posting-host="593af8ff809e950a4f3db5fd5b691f48"; logging-data="4973"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX1/5a0yG7ne7776rwMc2ShXt" User-Agent: NewsTap/5.3.1 (iPad) Cancel-Lock: sha1:/xwz6LTNoZEg15is72Fmc2zThIQ= sha1:qjcU8VIlmP1OLZfvhIjT1FV6/hY= Bytes: 3473 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit