From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23216 invoked by alias); 11 Sep 2012 13:49:47 -0000 Received: (qmail 23116 invoked by uid 22791); 11 Sep 2012 13:49:45 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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, 11 Sep 2012 13:49:28 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8BDnQbw025411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Sep 2012 09:49:26 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q8BDnOUx029720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 11 Sep 2012 09:49:25 -0400 From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: RFC: printing pointers to global (data) variable on Windows... References: <20120816152255.GA2836@adacore.com> <87zk5umwj3.fsf@fleche.redhat.com> <20120816224524.GC2798@adacore.com> <87628hmwbr.fsf@fleche.redhat.com> <20120817231554.GF2798@adacore.com> <87r4r1h2u4.fsf@fleche.redhat.com> <20120821153627.GS2798@adacore.com> <20120905144406.GC2853@adacore.com> <87fw6pd7c4.fsf@fleche.redhat.com> <20120910221242.GB3081@adacore.com> Date: Tue, 11 Sep 2012 13:49:00 -0000 In-Reply-To: <20120910221242.GB3081@adacore.com> (Joel Brobecker's message of "Mon, 10 Sep 2012 15:12:42 -0700") Message-ID: <87k3w0brff.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-09/txt/msg00154.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> Intuitively, I do not think that it really matters. But I prefer Joel> the idea of memset-ting the whole object to zero, and it's actually Joel> something I have been wanting to do anyways. So here are two patches. Joel> The first one just adjusts install_minimal_symbols to use memset instead Joel> of the various macros. Thanks, Joel. Joel> Tested on x86_64-linux. OK to apply? Looks good to me. Tom