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 1/3] gdb lwp_info: Add destructor, initialize fields, use new/delete


On 2017-07-24 12:39, Simon Marchi wrote:
From: Simon Marchi <simon.marchi@polymtl.ca>

Partially convert the lwp_info type to C++ by adding a constructor and
initializing fields directly in the struct declaration.  Also, change a
few fields to bool.

I did this patch in order to be able to use a unique_ptr field in a
following patch.

Err, the title should say "constructor", not "destructor". Fixed it locally.


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