From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26856 invoked by alias); 29 Jul 2013 19:16:16 -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 26847 invoked by uid 89); 29 Jul 2013 19:16:16 -0000 X-Spam-SWARE-Status: No, score=-5.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 29 Jul 2013 19:16:14 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6TJG6ND011245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 Jul 2013 15:16:06 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r6TJG5Xv022471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 29 Jul 2013 15:16:05 -0400 From: Tom Tromey To: Mircea Gherzan Cc: palves@redhat.com, jan.kratochvil@redhat.com, gdb-patches@sourceware.org Subject: Re: [PATCH 6/7] common: add an alternative implementation for xstrvprintf References: <1372322622-3216-1-git-send-email-mircea.gherzan@intel.com> <1372322622-3216-7-git-send-email-mircea.gherzan@intel.com> Date: Mon, 29 Jul 2013 19:16:00 -0000 In-Reply-To: <1372322622-3216-7-git-send-email-mircea.gherzan@intel.com> (Mircea Gherzan's message of "Thu, 27 Jun 2013 10:43:41 +0200") Message-ID: <87ioztnpmz.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00735.txt.bz2 >>>>> "Mircea" == Mircea Gherzan writes: Mircea> The vasprintf(), used by the current implementation, is a GNU extension. Mircea> 2013-06-25 Mircea Gherzan Mircea> * configure.ac (AC_CHECK_FUNCS): Add vasprintf. Mircea> * config.in: Rebuild. Mircea> * configure: Rebuild. Mircea> * common/common-utils.c (xstrvprintf): Add an alternative Mircea> implementation that uses vsnprintf. I suppose this is a problem for gdbserver, but not gdb? Since I would assume that the latter pulls in the libiberty vasprintf instead. If it is a problem for gdb, then I think more investigation is needed. Either way the gdbserver configury needs an update. I really should resurrect common.m4 ... Tom