> not quite. 0(%esp) is going to be the saved %eip. > > getcallerpc: > movl 4(%esp), %eax > movl -4(%eax), %eax
Thank you, that will almost certainly save me a lot of heartache. ++L PS: Busy rebuilding the APE libraries right now, you'll be amazed how much has changed since GCC 3.0! And how painful it is to track the changes.