This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix internal error in value_cast_pointers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 15 Jul 2008 17:47:03 -0400
- Subject: Re: Fix internal error in value_cast_pointers
- References: <jeiqv6omhh.fsf@sykes.suse.de>
On Tue, Jul 15, 2008 at 11:39:54PM +0200, Andreas Schwab wrote:
> This patch fixes five regressions in bs15503.exp. value_ind has never
> returned a value whose type has typedefs stripped off (the type is
> always the direct target of the pointer type). Tested on ppc-linux.
> OK?
>
> Andreas.
>
> 2008-07-15 Andreas Schwab <schwab@suse.de>
>
> * valops.c (value_cast_pointers): Follow typedefs when checking
> result of coercion.
OK. Thanks a lot.
--
Daniel Jacobowitz
CodeSourcery