Hi, I've seen errors when debugging a SPU target. Accessing e.g. a variable by its address failes: (gbd) p test_var $2 = 5 (gdb) x/x &test_var 0x2b50 : 0x00000005 (gdb) p *0x2b50 Cannot access memory at address 0x2b50 The architecture specific callback integer_to_address() isn't called, so that's why in this case 0x2b50 isn't converted to a combined address as it should. The patch calls value_as_address instead of value_as_long to handle a TYPE_CODE_INT. Running the test suite showed no regressions both on x86 and SPU. Ok to commit ? ChangeLog: * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com