Patch: Fix handling for TYPE_CODE_INT in valops.c

Daniel Jacobowitz drow@false.org
Thu Feb 22 14:57:00 GMT 2007


On Thu, Feb 22, 2007 at 03:33:10PM +0100, Markus Deuling wrote:
> 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 ?

Yes, I think this is OK.  Thanks.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list