From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 35+3Km9oxGIQtQwAWB0awg (envelope-from ) for ; Tue, 05 Jul 2022 12:35:59 -0400 Received: by simark.ca (Postfix, from userid 112) id 994911E22D; Tue, 5 Jul 2022 12:35:59 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=mUovfVm/; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 3B3B71E15C for ; Tue, 5 Jul 2022 12:35:59 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 954253857413 for ; Tue, 5 Jul 2022 16:35:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 954253857413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1657038958; bh=pGMzmJSAX7SbMjG9vcvdNaJk+Y8mTZrm9vBLW4x5MjA=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mUovfVm/pyQ4c6DeiDkzkDHqf4EdgG68eKRnH8c8wAAdFvs362pVX/tk3MMCsaO/k cLnXp68sJyHx/yC5+uVQhccZu0yFoMTR/hidKal+lM5dH4JYbaZF/+P3d8ztnpWIeq 7X7z0Q3fG7raMIayIi8ZkbZcIB3S9J5UUvk3y/IY= Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id 06ACA3858C2F for ; Tue, 5 Jul 2022 16:35:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06ACA3858C2F Received: by mail-il1-x12d.google.com with SMTP id p9so7566832ilj.7 for ; Tue, 05 Jul 2022 09:35:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=pGMzmJSAX7SbMjG9vcvdNaJk+Y8mTZrm9vBLW4x5MjA=; b=mpWRGH7HlTNqdeHjr/3ohxREHsOPpyI709gPC6mu7Y65T+9GYRFRQ9WpVvW5U8S44F 26bEk4ss7yXKs08Q7qDrIJyIMjmHf0T7mhP4pqhm9QRVsUWOG/RHWSIWInNdk8PbXXju qdF9AzPQNM5AHF0Jt8+aI/5zaR6iy9gvNsy83m8Y/gOAvW0FbzND1ST+OU9AgcADZkcF ybsJ3f8zxco4tvcnFI60UzELv7iuOVBirwG5x0dWe2KExA6/PM6yOLuvKQdEW4QjBbof U84Wf71c0ieSnVoNOheXlVNwEDkVsvz3Cbsdnk7HSl1aOT+E577DZEwyj2rx2AV8sfEN jIhw== X-Gm-Message-State: AJIora9KPgsJbW4eyubkm4CuOF1HpYeBL6+SuYUHJcWH+Y2GY2C3c5nS Mu+NCc7RsMP1pVgETeZptP0Bdg== X-Google-Smtp-Source: AGRyM1tfWqL6StnmWu0qJ/Zcr7U0oioidWCy50PwYYQeP3Kl986Ab1ELSXYQv+KkDDJy75aSGEpS4Q== X-Received: by 2002:a05:6e02:2197:b0:2dc:2114:2623 with SMTP id j23-20020a056e02219700b002dc21142623mr2966448ila.210.1657038938160; Tue, 05 Jul 2022 09:35:38 -0700 (PDT) Received: from murgatroyd (71-211-187-180.hlrn.qwest.net. [71.211.187.180]) by smtp.gmail.com with ESMTPSA id a12-20020a027a0c000000b00331c58086d8sm14651456jac.147.2022.07.05.09.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 09:35:37 -0700 (PDT) To: Tom Tromey via Gdb-patches Subject: Re: [PATCH] Make 'import gdb.events' work References: <20220607132025.2243948-1-tromey@adacore.com> X-Attribution: Tom Date: Tue, 05 Jul 2022 10:35:36 -0600 In-Reply-To: <20220607132025.2243948-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Tue, 7 Jun 2022 07:20:25 -0600") Message-ID: <87k08rv7on.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Cc: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> Pierre-Marie noticed that, while gdb.events is a Python module, it Tom> can't be imported. This patch changes how this module is created, so Tom> that it can be imported, while also ensuring that the module is always Tom> visible, just as it was in the past. I'm checking this in. Tom