linux-user: fix the breakpoint inheritance in spawned threads
authorThierry Bultel <thierry.bultel@basystemes.fr>
Fri, 12 Jun 2015 09:24:10 +0000 (11:24 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 16 Jun 2015 05:21:02 +0000 (08:21 +0300)
commit1d085f6cae51b1a0fb92ad03ce8bf038e29c9750
tree7346acda33fd8e652182a38486a0c696147b5dac
parent876e23cb2e545148a0ee4effda5c63c861855941
linux-user: fix the breakpoint inheritance in spawned threads

When a thread is spawned, cpu_copy re-initializes
the bp & wp lists of current thread, instead of the ones
of the new thread.
The effect is that breakpoints are no longer hit.

Signed-off-by: Thierry Bultel <thierry.bultel@basystemes.fr>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/main.c