This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: Fix handling for TYPE_CODE_INT in valops.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Thu, 22 Feb 2007 09:57:29 -0500
- Subject: Re: Patch: Fix handling for TYPE_CODE_INT in valops.c
- References: <45DDA9A6.7040502@de.ibm.com>
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