Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cuae2!ihnp4!houxm!hropus!jgy From: jgy@hropus.UUCP (John Young) Newsgroups: comp.lang.c,comp.unix.wizards Subject: Q: who called a C routine Message-ID: <810@hropus.UUCP> Date: Thu, 4-Dec-86 16:52:06 EST Article-I.D.: hropus.810 Posted: Thu Dec 4 16:52:06 1986 Date-Received: Fri, 5-Dec-86 06:33:56 EST Distribution: comp Organization: Bell Labs, Holmdel, NJ Lines: 10 Xref: mnetor comp.lang.c:254 comp.unix.wizards:254 Can anyone help me with the following problem: I'm looking for a few lines of C or assembly code which can be used at the top of a function to get the address of the function which called it. I can then map this address to the calling functions name using "nm". I NEED THIS FOR A 3B2. P. S. The number of arguments which were passed to the function is known.