Hi Barry,
On Thu, 2012-02-02 at 10:23 +0800, Barry Song wrote:
- Why can’t the current gdb capture multithreads for android
processes? This question is actually about the theory for gdb to know multi-threads. In my opinion, both gnu and android use clone() to fork threads and threads in one process have same tgid in kernel and all threads return same getpid() value. Why not gdb just travel process lists to find multi-threads?
Would you mind opening a bug report at
https://bugs.launchpad.net/gdb-linaro
with this issue? If possible, with a small testcase to reproduce the problem, and the steps to build the testcase.
To be honest I can only look into this issue late next week though...