From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 3B7C63858D38 for ; Mon, 12 Jun 2023 19:36:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B7C63858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-33e53672aa6so30231845ab.1 for ; Mon, 12 Jun 2023 12:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1686598590; x=1689190590; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:from:to:cc:subject:date:message-id:reply-to; bh=rdjD+YiiERZXJ6ZdqUPafA1Gqqd8kQPJZNDS+sg0Kso=; b=QovMXN4PfVzp3PzBBoUtOO4OqBRhldsli4/TImQ2rnAk+v2tjuumZED0cE41x03cKa qDreObKRt/JmlE9U4aD0qxQ3ZD7SjdeeWWeTgvpReTOvi9YbB6IscTaUQaLdsuuJRmHE CiQSK000RCr1am+hYag33xXxtlDEMTY+ECWKTz9cKygRKIHDD9RCUc97UEXcK+zSMunz MHzBTcD0UwSX89MsQcKS/8JmedY8johsdImwX+/2n01+B8BDZPO5BiuN2hnnf4BXTSvn XXlwiHwqmVzDdBTPODC2D8Fp+COdPeYmF6sHl/U2dt603ej3wpLYWK6w7uXcFtd5x8j0 6HBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686598590; x=1689190590; 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=rdjD+YiiERZXJ6ZdqUPafA1Gqqd8kQPJZNDS+sg0Kso=; b=OwuD1Wdxkl+CaOtk+8kd1jr2qHnwQm5pvG/XPZ8Jh/vkbbFlhrQZ275kh4d5VMhRIy C0EnyWlPxne0oM6i064CM1OsqzkR5j3o61xlmNaPWnU6AD2BP7fkt/3ANPqrZ3ZhA0qf w6gznOWEqtTzWj1gKElwsgtyycp8SBbJeHOYM9b0Ol1Qh4Y6Hh0qgDGeWB0Y4jGAXF9w JtmyotDv/11L+5Y0v4OiWFypKySuyXjYqwZ9LUjpZYHnjGDpzIrXgTJ/B3ZyAxyRvglB EUHNDjWCB/d+/TjzpobvAMMA3iLHjQZSNRmCjLYMldB/SGstvKSrzMiYR2B73mcwbHmb aQig== X-Gm-Message-State: AC+VfDxutGsF1HA4q7FtWo8oOHKJi09dGk6aCxPiT8blVjdnet96SH5S suJ0x/EGGJvdl4QUc7sEp2AORi8i9ritdpWbkHHFAA== X-Google-Smtp-Source: ACHHUZ7yUhjY4bXA/w6ptx40vpiHCSQp2tjBgZIlAMLcdjVqy1XT7Ay391tC4egpxXN6ITdRi/atXg== X-Received: by 2002:a92:d485:0:b0:33a:b647:1bcb with SMTP id p5-20020a92d485000000b0033ab6471bcbmr9651634ilg.20.1686598590443; Mon, 12 Jun 2023 12:36:30 -0700 (PDT) Received: from localhost.localdomain (75-166-136-83.hlrn.qwest.net. [75.166.136.83]) by smtp.gmail.com with ESMTPSA id m12-20020a056638224c00b00418a5e0e93esm2938091jas.162.2023.06.12.12.36.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 12:36:30 -0700 (PDT) From: Tom Tromey Subject: [PATCH 0/7] More changes to DAP Date: Mon, 12 Jun 2023 13:36:27 -0600 Message-Id: <20230612-more-dap-v1-0-ad868f1a4cc0@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALxzh2QC/x2NQQ6CQBAEv0Lm7CTsgqJ+xXiYhVbmwEJmiDEh/ N3FY6WrUxs5TOF0rzYyfNR1zgXCqaJ+lPwG61CYYh2b+hIiT7OBB1m4bdF0ScL1fOuo6EkcnEx yPx6HSXyFHcNieOn333g89/0H6NnEp3MAAAA= To: gdb-patches@sourceware.org X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-5.0 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 List-Id: This series fixes some DAP bugs and adds a few new features. After this series, I think the main missing DAP feature is "data breakpoints" (aka watchpoints). I somewhat started work on these, but haven't finished it. Tested on x86-64 Fedora 36. --- Tom Tromey (7): Fix type of DAP hitCondition Reuse breakpoints more frequently in DAP Handle exceptions when creating DAP breakpoints Implement type checking for DAP breakpoint requests Handle supportsVariablePaging in DAP Implement DAP logging breakpoints Implement DAP "hover" context gdb/python/lib/gdb/dap/breakpoint.py | 275 +++++++++++++++++++++--------- gdb/python/lib/gdb/dap/evaluate.py | 20 ++- gdb/target.c | 12 +- gdb/testsuite/gdb.dap/catch-exception.exp | 24 ++- gdb/testsuite/gdb.dap/cond-bp.exp | 21 ++- gdb/testsuite/gdb.dap/hover.c | 30 ++++ gdb/testsuite/gdb.dap/hover.exp | 70 ++++++++ gdb/testsuite/gdb.dap/log-message.c | 31 ++++ gdb/testsuite/gdb.dap/log-message.exp | 51 ++++++ gdb/testsuite/gdb.dap/scopes.exp | 24 ++- gdb/testsuite/lib/dap-support.exp | 3 +- 11 files changed, 456 insertions(+), 105 deletions(-) --- base-commit: 2e3aff27623b20b08ac58f8eaf73e97e58b4e67c change-id: 20230612-more-dap-44e37ba18597 Best regards, -- Tom Tromey