diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-08-27 19:27:40 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-08-27 19:27:40 +0200 |
commit | 791bb1f4a6310cd7f894e370607dfc05c9cb0727 (patch) | |
tree | 65904f5e689550435472de3217c43dcf800c0b3a /bfd/ChangeLog | |
parent | 1db33b5a028820d1eb656bffff727090a5504253 (diff) | |
download | binutils-791bb1f4a6310cd7f894e370607dfc05c9cb0727.zip binutils-791bb1f4a6310cd7f894e370607dfc05c9cb0727.tar.gz binutils-791bb1f4a6310cd7f894e370607dfc05c9cb0727.tar.bz2 |
[Cell/B.E.] Make parse_spufs_run more robust
With recent changes to inferior handling, parse_spufs_run needs to be
more careful in assumptions it makes. In particular, this patch:
- Bails out early if the current inferior has not yet been registered
(e.g. during fork procession) to avoid assertion failures in register
cache code.
- Sets inferior_ptid to the current ptid while calling target_read_memory
to make sure the correct process is accessed if parse_spufs_run is
called early when inferior_ptid has not yet been switched by the caller.
ChangeLog:
* spu-multiarch.c (parse_spufs_run): Bail out if inferior is not
registered yet. Set inferior_ptid while calling target_read_memory.
Diffstat (limited to 'bfd/ChangeLog')
0 files changed, 0 insertions, 0 deletions