From: steveo@world.std.com (Steven W Orr)
Subject: Need help at extracting debug line info from executable.
Date: Wed, 28 Dec 1994 15:21:13 GMT [thread overview]
Message-ID: <D1J1BD.2LF@world.std.com> (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."-------------------------
next reply other threads:[~1994-12-28 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-28 15:21 Steven W Orr [this message]
1995-01-03 10:25 ` Need help at extracting debug line info from executable Mark Wassell
1995-01-04 14:25 ` Jeff Diewald
1995-01-10 16:18 ` Tim Lucia
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox