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] gdb: Replace operator new / operator new[]


On Thu, Sep 22, 2016 at 12:20 PM, Pedro Alves <palves@redhat.com> wrote:
> diff --git a/gdb/common/new-op.c b/gdb/common/new-op.c
> new file mode 100644
> index 0000000..c3b73c1
> --- /dev/null
> +++ b/gdb/common/new-op.c
> @@ -0,0 +1,85 @@
> +/* Replace operator new/new[], for GDB, the GNU debugger.

Patch is good to me.  One comment on file name suffix, did you consider
.cc suffix?

-- 
Yao (齐尧)


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