diff options
author | Alexander Graf <agraf@suse.de> | 2012-05-30 14:45:21 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2012-10-12 13:58:13 +0300 |
commit | 1bdd7c7ea8a711efcb5141663865cc1f7e4e824d (patch) | |
tree | 79a4d6f08dd56e7f5d27cc7db2cb976187db72d9 /target-unicore32 | |
parent | 229d3376a38bf97aa09b6f73a957c5389badcd06 (diff) |
linux-user: fix multi-threaded /proc/self/maps
When reading our faked /proc/self/maps from a secondary thread,
we get an invalid stack entry. This is because ts->stack_base is not
initialized in non-primary threads.
However, ts->info is, and the stack layout information we're looking
for is there too. So let's use that one instead!
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'target-unicore32')
0 files changed, 0 insertions, 0 deletions