Tuesday, 20 August 2013

How to print exact value of the program counter in C

How to print exact value of the program counter in C

I want to write a C program which would print the contents of the program
counter PC. Can this be done from user space, or assembly, or some
specific kernel routines are used?

No comments:

Post a Comment