From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3pFBNREh4GjSCh4AWB0awg (envelope-from ) for ; Fri, 03 Oct 2025 15:16:33 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=Zl8UaMYJ; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CBFB51E04C; Fri, 03 Oct 2025 15:16:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 54A571E04C for ; Fri, 03 Oct 2025 15:16:32 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 979AE3858412 for ; Fri, 3 Oct 2025 19:16:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 979AE3858412 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=Zl8UaMYJ Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 2339C3858D33 for ; Fri, 3 Oct 2025 19:15:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2339C3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2339C3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759518958; cv=none; b=i1RVzFquveNab87yrJcGrsMTHnKw2l/rvhYIvS4zR95k092jC0bTAGMhtZoT1JKidENiG4dYh1ayHf88LObOVYhRgIDFuDbuNxkAPlVo2M7VzAun5uV5OCgMqI1jBkoxENpiBpZCVz2yIpfOS7V4+uSkigpySIFd4RYhqbFPYEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759518958; c=relaxed/simple; bh=/oJBdqrMFyHno5sSx+5/M8SK8+6XDL65CGpJqpFFpWk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=uHv6sJgZYrmZMOQYVxcZ9ujYNg4mFyclDmDk0vgY2FG3qq8O8Fl4NjnyMJAmTTA0wnmPA6ELKFOJuyLpDEs2NtJ9qDaPub8TGd9tL9VBQ+AYl2EiG1zjXYT5ZsSepRnWhvTmqfLIDPRku1Pieq55csUuZvxWF4nJBpzjqSQFAgY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2339C3858D33 Received: from eig-obgw-6004b.ext.cloudfilter.net ([10.0.30.210]) by cmsmtp with ESMTPS id 4QsXvV81VKXDJ4lG1vBQ2o; Fri, 03 Oct 2025 19:15:57 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 4lG0v80TE25G74lG0vamb0; Fri, 03 Oct 2025 19:15:56 +0000 X-Authority-Analysis: v=2.4 cv=LuqSymdc c=1 sm=1 tr=0 ts=68e020ec a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=x6icFKpwvdMA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=p2zAPwKVsonSTKCSnNoA:9 a=4G6NA9xxw8l3yy4pmD5M:22 a=VS4QxaUSPT0UtbFnIvSC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8W3ESgXkKp3wTzb97YhRXTHgKet2lqHvIivNlfO+Xyk=; b=Zl8UaMYJp4Gx/oRZAFO9i6+JJ+ V3DO2Rf3/5YU+Q6l5/eoIHd0WCHOWoZqWuDnIj4bk/ROP8d8xYUCv5X49ohsaLmh1k1tMbXhvo1Hr XOL7c9VisVy95xOfquZUpSezY; Received: from 97-122-110-68.hlrn.qwest.net ([97.122.110.68]:55372 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1v4lG0-00000000UKm-0R0m; Fri, 03 Oct 2025 13:15:56 -0600 From: Tom Tromey To: Andrew Burgess Cc: gdb-patches@sourceware.org Subject: Re: [PATCHv2 3/3] gdb/python: add Corefile.mapped_files method In-Reply-To: <9ab589510f784da2752b72d0b1385afa33aca406.1758634958.git.aburgess@redhat.com> (Andrew Burgess's message of "Tue, 23 Sep 2025 14:44:08 +0100") References: <9ab589510f784da2752b72d0b1385afa33aca406.1758634958.git.aburgess@redhat.com> X-Attribution: Tom Date: Fri, 03 Oct 2025 13:15:55 -0600 Message-ID: <87cy737q50.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.110.68 X-Source-L: No X-Exim-ID: 1v4lG0-00000000UKm-0R0m X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-110-68.hlrn.qwest.net (bapiya) [97.122.110.68]:55372 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfB2iJQMsC73++OK81z5rtrH5w6Scv/5Xp1I1VXD1p56zPaVQeHE54ekx/Mct5ZaD9IrbjGz9lmgRd18axw2JLGHdwI+SMJ2VgeHzi6vhWyhZoIOHrj7w zLmutFIySnX26QXC4F97pNiSAgNpy53bnbY2+3YVz/LjE9rfJuExfNS/9f4MmRJIZcl+qMB8/s1PvtLLaBPkc3fzHwIU/XTeJxc= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Andrew> Add a new Corefile.mapped_files method which returns a list of Andrew> gdb.CorefileMappedFile objects. Andrew> Each gdb.CorefileMappedFile object represents a file that was mapped Andrew> into the process when the core file was created. Andrew> + ** New Inferior.corefile attribute. This read only attribute Andrew> + contains the gdb.Corefile object if a core file is loaded into Andrew> + the inferior, otherwise, this contains None. This hunk is duplicated, it also appears in patch 1. Other than that this looks good to me. Approved-By: Tom Tromey Tom