(profil_counter): Use correct name to access PC.
authordrepper <drepper>
Thu, 13 Nov 1997 00:19:12 +0000 (00:19 +0000)
committerdrepper <drepper>
Thu, 13 Nov 1997 00:19:12 +0000 (00:19 +0000)
sysdeps/unix/sysv/linux/arm/profil-counter.h

index 802cbd5..d84e70e 100644 (file)
@@ -22,5 +22,5 @@
 void
 profil_counter (int signo, struct sigcontext sc)
 {
-  profil_count ((void *) sc.eip);
+  profil_count ((void *) sc.reg.ARM_pc);
 }