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
Stan Shebs <stan@codesourcery.com> writes:
> 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?
>>
> Do the regressions only happen on ppc or something?
No, but they are compiler-dependent. If you are using an older gcc
(probably before 4.3) you will not see the typedefs in the debug info.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."