Q: who called a C routine

John Young jgy at hropus.UUCP
Fri Dec 5 07:52:06 AEST 1986


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.



More information about the Comp.lang.c mailing list