Re: [DynInst_API:] Tracing from a thread?

2015-06-05 Thread Bill Williams
On 06/04/2015 09:25 PM, Tony Zhang wrote: Thanks for the insight. I’m playing around with the idea of a debugger that would “live” completely inside the program being debugged. The advantage is that this eliminates inter process communication overhead. Of course the caveat is that the debugger

Re: [DynInst_API:] Tracing from a thread?

2015-06-04 Thread Tony Zhang
Thanks for the insight. I’m playing around with the idea of a debugger that would “live” completely inside the program being debugged. The advantage is that this eliminates inter process communication overhead. Of course the caveat is that the debugger itself is vulnerable to data corruption.

Re: [DynInst_API:] Tracing from a thread?

2015-06-02 Thread Josh Stone
On 06/02/2015 12:57 PM, Tony Zhang wrote: > Hello, > > Is it possible to use DynInst from a different thread within a process? > For example, a program would create multiple pthreads, and one of them > (a master) then attempts to control the execution of all other threads > in the program. On Lin

Re: [DynInst_API:] Tracing from a thread?

2015-06-02 Thread Bill Williams
On 06/02/2015 02:57 PM, Tony Zhang wrote: Hello, Is it possible to use DynInst from a different thread within a process? For example, a program would create multiplepthreads, and one of them (a master) then attempts to control the execution of all other threads in the program. This isn't direct

[DynInst_API:] Tracing from a thread?

2015-06-02 Thread Tony Zhang
Hello, Is it possible to use DynInst from a different thread within a process? For example, a program would create multiple pthreads, and one of them (a master) then attempts to control the execution of all other threads in the program. Thanks Tony___