From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115842 invoked by alias); 13 Apr 2017 13:44:36 -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 115815 invoked by uid 89); 13 Apr 2017 13:44:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:270 X-HELO: outbound-ss-1812.hostmonster.com Received: from gproxy1-pub.mail.unifiedlayer.com (HELO outbound-ss-1812.hostmonster.com) (69.89.25.95) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Apr 2017 13:44:33 +0000 Received: from cmgw4 (cmgw5 [10.0.90.85]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 8C345177C47 for ; Thu, 13 Apr 2017 07:29:08 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by cmgw4 with id 7pV51v00E2f2jeq01pV8cH; Thu, 13 Apr 2017 07:29:08 -0600 X-Authority-Analysis: v=2.2 cv=QdwWhoTv c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=AzvcPWV-tVgA:10 a=20KFwNOVAAAA:8 a=LrGHW9UKpOJ3jZH-ZlUA:9 a=_RM7nvDVKvkA:10 Received: from 75-166-65-226.hlrn.qwest.net ([75.166.65.226]:60696 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cyeo4-0005Jm-FD; Thu, 13 Apr 2017 07:29:04 -0600 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA v2 10/17] C++ify mi_parse References: <20170411150112.23207-1-tom@tromey.com> <20170411150112.23207-11-tom@tromey.com> <56430d1d-abb1-5e22-87dd-14158939d842@redhat.com> <87y3v561rm.fsf@tromey.com> <59b6549f-3232-64c0-2f3c-5469f1f3ca6f@redhat.com> <87tw5t5wnl.fsf@tromey.com> <77601650-1ad9-dc6e-b7a2-814a08f9348d@redhat.com> <87pogh5sxs.fsf@tromey.com> <396349bf-423d-da66-8b14-95dd86b6b148@redhat.com> Date: Thu, 13 Apr 2017 13:44:00 -0000 In-Reply-To: <396349bf-423d-da66-8b14-95dd86b6b148@redhat.com> (Pedro Alves's message of "Thu, 13 Apr 2017 03:36:18 +0100") Message-ID: <87k26o1lnp.fsf@pokyo> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Exim-ID: 1cyeo4-0005Jm-FD X-Source-Sender: 75-166-65-226.hlrn.qwest.net (pokyo) [75.166.65.226]:60696 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-SW-Source: 2017-04/txt/msg00421.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Yeah. The memsets become invalid as soon as your ctor Pedro> does something non-trivial though, we really need to zap them Pedro> sooner than later. Yes, I agree. Tom