Reading a ppc threads R15 (program counter) in C#

  • Thread starter Thread starter joemango
  • Start date Start date
J

joemango

HI everyone, Im hoping you can help me with this question.


I have written an app in C# .NET to enumerate all currently running
processes in a pocketpc, i choose a process and then enumerate all of
it's associated threads. Im stuck on figuring out how I can read a
specific thread's R15 (program counter) to find out the next
instruction it is going to execute from within my c# program, any ideas

on this would be paramount and i thank for your time.


Jose.
 
I think you're going to have to be a debugger in order to do that and, as
far as I know, you can't be a process debugger in managed code.

Why are you trying to do this? What makes you think that knowing the
program counter will tell you what instruction will be executed next
(paging)?

Paul T.
 
Back
Top