From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59358 invoked by alias); 23 Sep 2016 09:44:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 59233 invoked by uid 89); 23 Sep 2016 09:44:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-oi0-f53.google.com Received: from mail-oi0-f53.google.com (HELO mail-oi0-f53.google.com) (209.85.218.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Sep 2016 09:44:49 +0000 Received: by mail-oi0-f53.google.com with SMTP id r126so128269556oib.0 for ; Fri, 23 Sep 2016 02:44:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=z5tQEZF8Av6wyPteMBnsL7WnQLwJj0Pjwkf/Wg/2Mtc=; b=TqdYAyvv0wpK5PIVjyCIOjjWYPJqFy2xJhJkgaYRgejsfbkQXf3xJynta6RPgoJbqJ HeBcUsYkOesahT19MIJgOLDPENAu8WnEp7CD64LS/NUX+Pg1rcE+E9vNTmIlh9j1+BVE m+h3QxvZqsxdOIcizKCDC35OgjRGkjXNzt1NAQ5x6rMvHlwTjuepe4XqzsGmHRo7Qqze zbw9P+4xh27oGDrsVl7ITAcSxjsjFGUzxyRzxaXSZmvp0TPsQgJraXIk3RDOzD5CjHA6 ZCKu9G5JTvTXLZtiLJSqd12ktgwTZfBywELBDOOE0IZsuD5b3I3btJKZDSPxvJpB5pha SiFA== X-Gm-Message-State: AE9vXwMMj2r/9UbGCfUxlPYg/oPg7zR7ae9deJjdH2MsrC/ozPZyQ55uEYsO+eiNRm1GlErnY/ZcdAy2OGlRPA== X-Received: by 10.202.192.5 with SMTP id q5mr9103213oif.71.1474623887621; Fri, 23 Sep 2016 02:44:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.237.20 with HTTP; Fri, 23 Sep 2016 02:44:47 -0700 (PDT) In-Reply-To: <1474543227-19614-1-git-send-email-palves@redhat.com> References: <1474543227-19614-1-git-send-email-palves@redhat.com> From: Yao Qi Date: Fri, 23 Sep 2016 09:49:00 -0000 Message-ID: Subject: Re: [PATCH] gdb: Replace operator new / operator new[] To: Pedro Alves Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00302.txt.bz2 On Thu, Sep 22, 2016 at 12:20 PM, Pedro Alves 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? --=20 Yao (=E9=BD=90=E5=B0=A7)