From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24992 invoked by alias); 19 May 2014 22:48:21 -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 24977 invoked by uid 89); 19 May 2014 22:48:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f176.google.com Received: from mail-vc0-f176.google.com (HELO mail-vc0-f176.google.com) (209.85.220.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 19 May 2014 22:48:18 +0000 Received: by mail-vc0-f176.google.com with SMTP id lg15so10327398vcb.21 for ; Mon, 19 May 2014 15:48:16 -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:date :message-id:subject:from:to:cc:content-type; bh=Q+oFCmFjpXejOTTZ3wv2PaHwaQ0afjOfBMPc7+QnJZE=; b=LM3PWZ48iX9KkiEQEGuwaXujanobDH/FEH175b1uKWj8RljbZ76w92gsPFZBf9Y0Q5 BT9vmtApqL6ZSRwRbMzbugKem6HQJeigirkJyJorEILtmLbUVZnfLUyakFPSt0DbKMtS w3/rlQEgmQ2dX6jo24re/R14EZMHvW+1dpvLQxbQflhZXg7NarGupjONP+DRuKpSWClQ tP+US0Zau4P1BbTtXZF50IiQ7VzTTm1sK9lOUKc+hWb5MO0b1HUSI9vFcJ2+JMp1nxIv iq/W0zMPp4WZnEeS2zlPsVNf3fJLfHYLi9vqk0rO/hSS6i6rMYhAvWrs3ORo3I58QZwi k1/w== X-Gm-Message-State: ALoCoQm38OQ1bLi130iLfCssEPnLT6vZd25Ppi2/uJRCKFJpdOtzZcsVvCAR3S+j2R67Rm32pKLw MIME-Version: 1.0 X-Received: by 10.220.47.201 with SMTP id o9mr150728vcf.65.1400539696766; Mon, 19 May 2014 15:48:16 -0700 (PDT) Received: by 10.52.28.230 with HTTP; Mon, 19 May 2014 15:48:16 -0700 (PDT) In-Reply-To: <87r43py6g3.fsf@fleche.redhat.com> References: <20140319223004.14668.20989.stgit@host1.jankratochvil.net> <20140319223014.14668.89536.stgit@host1.jankratochvil.net> <20140518190534.GA19591@host2.jankratochvil.net> <87r43py6g3.fsf@fleche.redhat.com> Date: Mon, 19 May 2014 22:48:00 -0000 Message-ID: Subject: Re: [PATCH v5 1/8] Move utility functions to common/ From: Doug Evans To: Tom Tromey Cc: Jan Kratochvil , Sergio Durigan Junior , gdb-patches , Aleksandar Ristovski Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00388.txt.bz2 On Mon, May 19, 2014 at 11:22 AM, Tom Tromey wrote: > Sergio> Can't this go in independently? I think they are nice cleanups. > > Jan> I do not think it is right without the later parts of the patchset > Jan> - code in gdb/common/ should be used by both gdb and gdbserver. > Jan> Otherwise the code could remain in gdb/ only. > > If we had smaller files in common/ then we could put generically useful > things there and not care so much, relying on the linker to eliminate > bloat. How much bloat are we talking about? Plus there's always -ffunction-sections -Wl,-gc-sections. I've been meaning to try it, if only to see what more can be removed from gdb.