From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id 8F64B3857C73 for ; Mon, 20 Jul 2020 21:39:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8F64B3857C73 Received: by mail-oi1-x231.google.com with SMTP id w17so15554065oie.6 for ; Mon, 20 Jul 2020 14:39:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LRk0nGOWtJxP3sy/0V4SdWcVbHp5Yl+3+I4KZ602Y68=; b=C6WQlAXVJnPRz9WVr8RWUtG5WVDgMYc6vdmkL9BfFRYrRFQ5dtLFSJfAeVChTnMzUT GQFohLOu2iyok36OSfQrBrRLKt+TQ9luzyGSbXHOPBQRhNs7a+B3YsBpvMnKcS2vkRZU +SFu3Hmp9UUoYifufxN2jsLJ6IZ+nzFCIi1d+6OCIhfjiji20oOplILqT8GHR2TozUGb yvAT/mz9YaMJlLl34QjgET40vuuMp1FNLPj6vnl/984EafA3waVGn5qPGlM7xhFoXgpR P3WweQSo1TPtXK63F6y9UvhCGkDkEf68PK9lwt73gRWHGiO13gUuAGLBVDl9s65yjhmp y4dg== X-Gm-Message-State: AOAM533VWB2R3jwH2eMYzPhjNtvgWRRJXG9tvFF8DyICA02wLOj81aer 7vKsnwsYCBvEBzKyrL/dezmcFAR/ZViMZlsZ+G7cpg== X-Google-Smtp-Source: ABdhPJzKxg6Se0TK4p+b+YpzeiLn6Wn68P6mXfhI27njo0f4wbnn/BAaOPq3nLtjfQxepx7lQ8NFJkRKismFD+ZNvHc= X-Received: by 2002:aca:e1d6:: with SMTP id y205mr948372oig.179.1595281165892; Mon, 20 Jul 2020 14:39:25 -0700 (PDT) MIME-Version: 1.0 References: <20200717214210.GU5016@adacore.com> In-Reply-To: From: Reuben Thomas Date: Mon, 20 Jul 2020 22:39:14 +0100 Message-ID: Subject: Re: Adding Python files to be autoloaded for a particular architecture To: Christian Biesinger Cc: Joel Brobecker , Reuben Thomas via Gdb X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2020 21:39:32 -0000 On Mon, 20 Jul 2020 at 21:27, Christian Biesinger wrote: > I see. In that case, I see two options: > - Put it in gdb/python/lib/gdb. That directory has so far only been > used as an implementation detail for gdb's python API, but maybe > maintainers will be OK with extending it in that way. That dir does > get installed whenever python is enabled. > This feels like the wrong place, as after all what I'm implementing is not an extension of the gdb package, but a use of it. > - Or implement it in C++ > It would be a shame to have to use another language. However, there will certainly be some solution, and I guess I'll revisit this once I have a contribution to submit to the maintainers. Thanks very much for all your suggestions! -- https://rrt.sc3d.org