From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7049 invoked by alias); 7 Nov 2013 07:23:08 -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 7030 invoked by uid 89); 7 Nov 2013 07:23:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: mail-pa0-f43.google.com Received: from Unknown (HELO mail-pa0-f43.google.com) (209.85.220.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 07 Nov 2013 07:23:06 +0000 Received: by mail-pa0-f43.google.com with SMTP id hz1so198315pad.16 for ; Wed, 06 Nov 2013 23:22:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=rlhkBCk5Jh6Jzhg4msGN77jQmO3XIGmPXfUYIFtwwsw=; b=lgJq/yTp2mkEjZLdMDVBGVC6Kd5GkzOswk8Ni5YgWyhl7jmVhaaTHQPSG29P1EK0Vd 4Yfyu543+5ucF655nBo0+Phrhx4iI9dkT6uSrvM6SNN64fII4ubiShgA6YmZ4P+yjnVB l/m7Ionr95E2IJwOvIBcnKj3ib/P4CwwWpEzn+M9+OLJku3RiMhP210fKyzXypOgcaHt h07cJvWTNCXDTHXmRyqc1F+rFvtO9tdInh+9UaCbAlHHqJkPR1ww68VTrYM1z4pLQ9TT sajwCvQ0DkX7AxO6MjAHpXZbqMHkewnkGa+Se0+EcNuxLF73ZDMmfBTiEPD2kdn8ozdO VfTA== X-Gm-Message-State: ALoCoQkiMvQSXUXVQ+C1k3uPyYTGO/hplG2GT4IpooSdUcSb54VhYj+1afzwB4gnQe5yD+FVzFxO X-Received: by 10.68.219.72 with SMTP id pm8mr7409570pbc.164.1383808978483; Wed, 06 Nov 2013 23:22:58 -0800 (PST) Received: from seba.sebabeach.org.sebabeach.org (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id ef10sm3972999pac.1.2013.11.06.23.22.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2013 23:22:57 -0800 (PST) From: Doug Evans To: Stan Shebs Cc: gdb-patches@sourceware.org Subject: Publishing binary interfaces [was Re: [PATCH] Move "types deeply equal" code from py-type.c to gdbtypes.c] References: <527AB482.80600@earthlink.net> Date: Thu, 07 Nov 2013 10:19:00 -0000 In-Reply-To: <527AB482.80600@earthlink.net> (Stan Shebs's message of "Wed, 06 Nov 2013 13:28:34 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00166.txt.bz2 Stan Shebs writes: > The comments should be maybe be phrased to emphasize the > quasi-librariness of the code, so that future generations aren't > confused if it seems unused by core GDB (which could happen if python > becomes plugin > instead of subdir, for example). btw ... While I'm all for publishing gdb as, in part, a collection of libraries, and thus publishing binary interfaces, one reason why Python was added the way it was is so that we can make gdb extensible without having to publish a binary interface (we export some enums to Python, but that's small potatoes compared to a real binary interface). Some people IIRC were *profoundly* against publishing binary interfaces. Is the community changing it's mind on binary interfaces? Do people actually envision dlopen'ing GDB's Python extension?