This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: RFC: change debug pseudo-type for vectors


DJ Delorie <dj@redhat.com> writes:

>> > Neither of us could think of a good reason to encapsulate the array in
>> > a structure, and the code doesn't allow more than the one field
>> > anyway.  Comments?
>> 
>> This changes the way a 'V4SI' is passed as a parameter.  If it's a
>> structure it gets passed by value, if an array it is passed by
>> reference.
>
> Ok, that's a good reason not to change it *that* way.  Still, the
> debug information as it stands is confusing and IMHO wrong.  The type
> is not a struct, it should not be described to the user that way.  Is
> there any way to have the debug information different?
Errr, GDB will run into the same exact problem, when passing it as an
argument to functions you calll.


-- 
"If all the nations in the world are in debt, where did all the
money go?
"-Steven Wright


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