This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 10 Aug 2017 11:27:55 -0400
- Subject: [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 639a9038c9f4fc50b6a57c18fe84db4559367a96 ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 639a9038c9f4fc50b6a57c18fe84db4559367a96
spu: Use ptid from regcache instead of inferior_ptid
The implementations of to_fetch_registers/to_store_registers in the spu
code use some functions that rely on inferior_ptid. It's simpler for
now to set/restore inferior_ptid.
gdb/ChangeLog:
* spu-linux-nat.c (spu_fetch_inferior_registers,
spu_store_inferior_registers): Use ptid from regcache, set and
restore inferior_ptid.
* spu-multiarch.c (spu_fetch_registers, spu_store_registers):
Likewise.