Hi, Daniel Jacobowitz schrieb: > >> 3) Should the used addresses in the testcase be changed to, for example, >> 0x10000 and 0x20000? This would work for SPU, too. Or shall I introduce >> variables for this addresses and set them to a range < SPU_LS_SIZE for >> SPU targets only? > > I think changing the addresses is fine. > attached is the original patch for address wrapping in SPU plus a change of the addresses in gdb.cp/cp-relocate.exp to match size of SPU Local Store. This patch showed no regression on SPU- ChangeLog gdb/: * spu-tdep.c (spu_pointer_to_address): New function. (spu_integer_to_address): Likewise. (spu_gdbarch_init): Add spu_pointer_to_address and spu_integer_to_address to gdbarch. ChangeLog gdb/testsuite/: * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses to fit into SPU Local Store memory. Is this ok ? -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com