[RFA 3/6] Allocate dwarf2_cu with new

Tom Tromey tom@tromey.com
Wed Jan 10 16:14:00 GMT 2018


>>>>> "Yao" == Yao Qi <qiyaoltc@gmail.com> writes:

Yao> Add "explicit"?

I made this change.

>> +  ~dwarf2_cu ();
>> +
>> +  DISABLE_COPY_AND_ASSIGN (dwarf2_cu);
>> +
>> +  void free_abbrev_table ();

Yao> Move comments to dwarf2_free_abbrev_table here?

This is gone with Simon's changes; I'll update the ChangeLog and send
the updated patch.

Tom



More information about the Gdb-patches mailing list