Message ID | 20230711-dap-modules-v1-0-b4f6067c1b2e@adacore.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 95F283857016 for <patchwork@sourceware.org>; Tue, 11 Jul 2023 14:49:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95F283857016 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689086959; bh=WEk6d5jMIDDpvWYPJCCx33Hhj6AVVGjbgb3t1ZXuo1M=; h=Subject:Date:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=lM2ySvjgC2IV2zJN9DHEpdPAdmD5ZWEn3ujAlt85ULYg9PpFh1f6lqIn/E1TIAHtL gs+bnPhQGjaRVuIK4G1S3SJmWfnZpad8nuDtgKVnuD3i9sibLsH+qUKpJzyZWksZbF HxPLjGXhwU7QytWcqD/tb6oJ+MUamh/woBZ25Lw4= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 0C2B93858D20 for <gdb-patches@sourceware.org>; Tue, 11 Jul 2023 14:48:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0C2B93858D20 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-34617b29276so15210835ab.0 for <gdb-patches@sourceware.org>; Tue, 11 Jul 2023 07:48:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689086934; x=1691678934; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WEk6d5jMIDDpvWYPJCCx33Hhj6AVVGjbgb3t1ZXuo1M=; b=aor8a2o4caws0BKc5bUdKfE2chfoQz1S90v4NR7sfyFhVS9QJB8gdxmvpfcCOu4zeg 539nLN9MfcNE4cNdj6wsLq4aqMZbc/Ih7Sh8v90lCAA5yZ8R95YI4I1ivr5aJ0tnAlsR HB7//ACXroVmbRNyax6BWgPmOerV8810rjYepssGWKyOluALxFa6X2wERrNuQfdIgvnY gN69XSSY5P9Mt91iXREGxlwMUH2evBCqmZHBj+DDcbbGPF/JFhaeQO0+AR8F7yYKOUIb ZbfnuvQdkj+gntt9sustoZXQa46iR7Y+UtI/50P6Ads5XPixGy/teSftwAuWBpbuftmD cV6w== X-Gm-Message-State: ABy/qLbasZWggskkRi5PPVHxlK45K7p2Ck26MQAsjgVyQT3aOGcQgJdK Bc+5Ph2NcF2YDmbnyiwM8v1dP1NmqiGMeIpbg94sEQ== X-Google-Smtp-Source: APBJJlEkalUq3tvJgc7EHA6MXzNP8xCEfhggJX6/1jxQRAXwRGdTPKRPXcjRKJs+p0M3zF1lRJhevA== X-Received: by 2002:a05:6e02:1c85:b0:346:15f5:2667 with SMTP id w5-20020a056e021c8500b0034615f52667mr16759291ill.4.1689086934249; Tue, 11 Jul 2023 07:48:54 -0700 (PDT) Received: from localhost.localdomain (75-166-135-140.hlrn.qwest.net. [75.166.135.140]) by smtp.gmail.com with ESMTPSA id r20-20020a056638101400b0041f4da30787sm567226jab.167.2023.07.11.07.48.53 for <gdb-patches@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:48:53 -0700 (PDT) Subject: [PATCH 0/3] Implement the DAP "modules" request Date: Tue, 11 Jul 2023 08:48:51 -0600 Message-Id: <20230711-dap-modules-v1-0-b4f6067c1b2e@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANNrrWQC/x3MQQrCQAxA0auUrA1MpouCVxEXmUy0ATstiYpQe ndHl2/x/w6hbhpwHnZwfVvY2jroNIDM3O6KVrshpzymiQgrb7is9fXQQKaUJ0ljERLoxeZ6s8/ /drl2Fw7F4txk/j0Wjqc6HMcX7yco03YAAAA= To: gdb-patches@sourceware.org X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Tom Tromey <tromey@adacore.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Implement the DAP "modules" request
|
|
Message
Tom Tromey
July 11, 2023, 2:48 p.m. UTC
This series implements the DAP "modules" request. --- Tom Tromey (3): Remove unused imports Add Progspace.objfile_for_address Implement DAP modules request gdb/NEWS | 3 ++ gdb/data-directory/Makefile.in | 1 + gdb/doc/python.texi | 6 +++ gdb/progspace.c | 16 ++++++ gdb/progspace.h | 4 ++ gdb/python/lib/gdb/dap/__init__.py | 1 + gdb/python/lib/gdb/dap/bt.py | 10 ++-- gdb/python/lib/gdb/dap/evaluate.py | 1 - gdb/python/lib/gdb/dap/events.py | 14 ++++++ gdb/python/lib/gdb/dap/modules.py | 64 ++++++++++++++++++++++++ gdb/python/py-progspace.c | 27 +++++++++++ gdb/testsuite/gdb.dap/modules-solib.c | 21 ++++++++ gdb/testsuite/gdb.dap/modules.c | 40 +++++++++++++++ gdb/testsuite/gdb.dap/modules.exp | 81 +++++++++++++++++++++++++++++++ gdb/testsuite/gdb.python/py-progspace.exp | 7 +++ 15 files changed, 291 insertions(+), 5 deletions(-) --- base-commit: 034b6bec547084b19e39b051b3dbab7f9b8b4f23 change-id: 20230711-dap-modules-a1027c03bc1c Best regards,
Comments
On Tue, Jul 11, 2023 at 4:49 PM Tom Tromey via Gdb-patches < gdb-patches@sourceware.org> wrote: > This series implements the DAP "modules" request. > > --- > Tom Tromey (3): > Remove unused imports > Add Progspace.objfile_for_address > Implement DAP modules request > > gdb/NEWS | 3 ++ > gdb/data-directory/Makefile.in | 1 + > gdb/doc/python.texi | 6 +++ > gdb/progspace.c | 16 ++++++ > gdb/progspace.h | 4 ++ > gdb/python/lib/gdb/dap/__init__.py | 1 + > gdb/python/lib/gdb/dap/bt.py | 10 ++-- > gdb/python/lib/gdb/dap/evaluate.py | 1 - > gdb/python/lib/gdb/dap/events.py | 14 ++++++ > gdb/python/lib/gdb/dap/modules.py | 64 ++++++++++++++++++++++++ > gdb/python/py-progspace.c | 27 +++++++++++ > gdb/testsuite/gdb.dap/modules-solib.c | 21 ++++++++ > gdb/testsuite/gdb.dap/modules.c | 40 +++++++++++++++ > gdb/testsuite/gdb.dap/modules.exp | 81 > +++++++++++++++++++++++++++++++ > gdb/testsuite/gdb.python/py-progspace.exp | 7 +++ > 15 files changed, 291 insertions(+), 5 deletions(-) > --- > base-commit: 034b6bec547084b19e39b051b3dbab7f9b8b4f23 > change-id: 20230711-dap-modules-a1027c03bc1c > > Best regards, > -- > Tom Tromey <tromey@adacore.com> > I tested this patch series for Fedora-Rawhide, ppc64le and can confirm it causes no regressions.
>>>>> "Alexandra" == Alexandra Petlanova Hajkova <ahajkova@redhat.com> writes:
Alexandra> I tested this patch series for Fedora-Rawhide, ppc64le and
Alexandra> can confirm it causes no regressions.
Thanks. I'm checking in v2 now.
Tom