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: [RFA 3/6] Allocate dwarf2_cu with new


Tom Tromey <tom@tromey.com> writes:

>  /* Internal state when decoding a particular compilation unit.  */
>  struct dwarf2_cu
>  {
> +  dwarf2_cu (struct dwarf2_per_cu_data *per_cu);

Add "explicit"?

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

Move comments to dwarf2_free_abbrev_table here?

-- 
Yao (齐尧)


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