From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7659 invoked by alias); 17 Apr 2012 14:11:09 -0000 Received: (qmail 7575 invoked by uid 22791); 17 Apr 2012 14:11:07 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Apr 2012 14:10:33 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3HEAXNT002058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 17 Apr 2012 10:10:33 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3HEAVAR019004; Tue, 17 Apr 2012 10:10:32 -0400 Message-ID: <4F8D79D7.5020002@redhat.com> Date: Tue, 17 Apr 2012 14:12:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org, Siddhesh Poyarekar Subject: Re: [commit] Do not rely on FIELD_LOC_KIND_BITPOS being zero References: <20120417124410.GA15356@host2.jankratochvil.net> <4F8D695E.7070002@redhat.com> <20120417131559.GA25248@host2.jankratochvil.net> <4F8D76B7.90709@redhat.com> <20120417140122.GB28916@host2.jankratochvil.net> <4F8D783C.3000501@redhat.com> <20120417140535.GA5996@host2.jankratochvil.net> In-Reply-To: <20120417140535.GA5996@host2.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-04/txt/msg00472.txt.bz2 On 04/17/2012 03:05 PM, Jan Kratochvil wrote: > On Tue, 17 Apr 2012 16:03:40 +0200, Pedro Alves wrote: >> You're deeply confused if you think C++ invented getters/setters. > > I never thought so and I never said so. But C++ is the most easily applicable > getters/setters-featuring language to GDB. Yet, the patch was so simple. There could be other reasons for a C++ switch, but you just took an easy opportunity to jump on me. As I'm sure I've said before more than once, I prefer C++ over C, but I don't think C++ is currently a good idea for GDB. Let's not turn every suggestion to improve the sources into a C->C++ discussion, please? -- Pedro Alves