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] Eliminate target_ops::to_xclose


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> In the multi-target branch, I found no need for the target_close vs
Pedro> target_xclose distinction.  Heap-allocated targets simply delete
Pedro> themselves in their target_close implementation, while
Pedro> singleton/static targets don't.

Pedro> The target_ops C++ification patches will add more commentary around
Pedro> target_ops's destructor, but there's no destructor yet...

This looks good to me and it seems like the close/xclose distinction
already doesn't really make sense anyway.

Tom


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