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: [patch] ``struct value'' cleanups


> On Sat, Mar 16, 2002 at 08:04:18PM -0500, Andrew Cagney wrote:
> 
>> @@ -166,9 +158,10 @@
>> union
>> {
>> long contents[1];
>> -	double force_double_align;
>> -	LONGEST force_longlong_align;
>> -	char *literal_data;
>> +	DOUBLEST force_doublest_align;
>> +	LONGEST force_longest_align;
>> +	CORE_ADDR force_core_addr_align;
>> +	void *force_pointer_aligh;
>> }
>> aligner;
>> /* Do not add any new members here -- contents above will trash them */
> 
> 
> (I suppose literal_data was not actually used anywhere either?  It
> seems different than the other members...)

Rebuilt after the change and a grep didn't show anything.

> Typo, force_pointer_aligh.

I'm tempted to leave it in just to see if it also manages to remain 
there for 8 years :-) (thanks)

Andrew





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