crash-stack: fixed attaching to thread 36/105436/2
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 16 Dec 2016 12:27:35 +0000 (13:27 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 20 Dec 2016 12:39:10 +0000 (13:39 +0100)
commit37b99923a1301b3c1a82e1b5616814a3c108fd2f
tree648d8864d98d11ba939bd2c3c2b3cbf286139ba7
parentb42ab743f0bf4695b894b27018a17620ad706e8e
crash-stack: fixed attaching to thread

It is not necessary to attach to parent process main thread to
resolve stack in another thread. This commit also solves hanging up
on 'D' (and 'Z') processes - main thread is not attachable,
when a crash occurs in another thread.

Change-Id: Ic3a085951acb4057fcdd4a476693954d1d3a522b
src/crash-stack/crash-stack.c