> not quite. 0(%esp) is going to be the saved %eip. > > getcallerpc: > movl 4(%esp), %eax > movl -4(%eax), %eax
Just a thought: this is in the GCC function call context, which is different from the P9 compilers'. Does the above still apply? I know I saw dhog's documentation of the GCC function call convention, but I don't seem to have a copy. Was it on this list rather than within the distribution? ++L