Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Need help at extracting debug line info from executable.
@ 1994-12-28 15:21 Steven W Orr
  1995-01-03 10:25 ` Mark Wassell
  0 siblings, 1 reply; 4+ messages in thread
From: Steven W Orr @ 1994-12-28 15:21 UTC (permalink / raw)


Running Alpha OSF1 and I need to access the debug line data in the
ECOFF executable. Specifically, I need to perform the only two
operations that are possible:

(I define a compilation number to refer to a specific compiled unit
in an executable)

1. I need a function that takes a compilation number, a filename or
number and a line number, and returns it's pc address.

2. I need the inverse, i.e., I need to take a pc and turn it into a
compile number, a filename, and a line number.

I have read the assembler manual in the Bookreader, and in particular
section 8.2.2 (Symbol Table/line Numbers) and am left with that
confused and empty feeling. I have read the man pages for (4) ldfcn
and don't see how that helps with the line numbers. If anyone can
help, give me a pointer, point to something better to read, or send
me a code frag that will jumpstart me, I'd be major grateful.

Many thanks in advance.
-- 
----------Time flies like the wind. Fruit flies like a banana.----------------
--------Stranger things have happened but none stranger than this.-------------
Steven W. Orr      steveo@uniprise.com     <site of former bang addr:-)>
---------------"Listen to me! We are all individuals."-------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-01-10 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-28 15:21 Need help at extracting debug line info from executable Steven W Orr
1995-01-03 10:25 ` Mark Wassell
1995-01-04 14:25   ` Jeff Diewald
1995-01-10 16:18   ` Tim Lucia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox