This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Replace operator new / operator new[]
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 23 Sep 2016 10:44:47 +0100
- Subject: Re: [PATCH] gdb: Replace operator new / operator new[]
- Authentication-results: sourceware.org; auth=none
- References: <1474543227-19614-1-git-send-email-palves@redhat.com>
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 (齐尧)