🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #620745

Re: xref Nostalgia

#620745
From: Charlie Gibbs
Date: Fri, 02 Mar 2018 17:24
43 lines
3439 bytes
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.

-- 
/~\  cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ /  I'm really at ac.dekanfrus if you read it the right way.
 X   Top-posted messages will probably be ignored.  See RFC1855.
/ \  HTML will DEFINITELY be ignored.  Join the ASCII ribbon campaign!
Technical Details
Message-ID: <p7c1bg01tq0@news2.newsguy.com>
Path: mbox-mo1.pugleaf.net!a13ni248qtd.1!nntp.google.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news2
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>

Show Full Headers
Complete Article Headers
X-Received: by 10.55.163.77 with SMTP id m74mr4385807qke.29.1520011477246;        Fri, 02 Mar 2018 09:24:37 -0800 (PST)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 10.237.60.99 with SMTP id u32ls6235560qte.11.gmail; Fri, 02 Mar 2018 09:24:35 -0800 (PST)
X-Received: by 10.200.52.39 with SMTP id u36mr4354790qtb.55.1520011475430;        Fri, 02 Mar 2018 09:24:35 -0800 (PST)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!a13ni248qtd.1!nntp.google.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news2
From: Charlie Gibbs <cgibbs@kltpzyxm.invalid>
Newsgroups: alt.folklore.computers
Subject: Re: xref Nostalgia
Date: 2 Mar 2018 17:24:00 GMT
Organization: NewsGuy.com
Lines: 43
Message-ID: <p7c1bg01tq0@news2.newsguy.com>
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>
NNTP-Posting-Host: p445c45c775820721c7ff6a23dfc6e1d3e3b94c0701d896f3.newsdawg.com
User-Agent: slrn/1.0.1 (Linux)
X-Received-Bytes: 2868
X-Received-Body-CRC: 836695134
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit