This is the mail archive of the gdb-patches@sourceware.org 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] Fix crash in cp_print_value_fields


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

>> +		      cp_print_static_field (TYPE_FIELD_TYPE (type, i),
>> +					     v, stream, recurse + 1,
>> +					     options);
>> +		    }

Tom> Here options is used ...

>> catch (const gdb_exception_error &ex)
>> {
>> fprintf_filtered (stream,
>> _("<error reading variable: %s>"),
>> ex.what ());
>> }
>> -
>> -		  cp_print_static_field (TYPE_FIELD_TYPE (type, i),
>> -					 v, stream, recurse + 1, opts);

Tom> while here opts used to be used.

Tom> Is this change intentional? It's not mentioned anywhere.

Thanks for catching that.  It was not intentional.  I'll send a fix shortly.

Tom


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