This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Altivec ABI patches


Elena Zannoni <ezannoni@redhat.com> writes:
> Jim Blandy writes:
>  > 
>  > I don't see anything here that prevents vectors from being coerced to
>  > pointers to their first element.  Isn't there some change needed in
>  > evaluate_subexp_with_coercion?
> 
> You mean value_arg_coerce()?

Err, ... yeah, that's what I meant.  :)

> There is no arithmetic you can do with
> these types.  Anyway, you are right I forgot that. My tests didn't
> catch it because I was doing the call by hand after having done a step
> into and finish from the function. The registers still contained the
> correct values from the gcc-initiated call. Moving the gdb-initiated
> call to before the gcc-initiated one exposed the problem.
> 
> I'll make sure the registers are trashed between calls.

Gruvi.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]