From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qD2lJC7is2MraQ4AWB0awg (envelope-from ) for ; Tue, 03 Jan 2023 03:07:10 -0500 Received: by simark.ca (Postfix, from userid 112) id 93FEE1E222; Tue, 3 Jan 2023 03:07:10 -0500 (EST) 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=G8BPP9LJ; 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=-9.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_HI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 4CE4C1E0D3 for ; Tue, 3 Jan 2023 03:07:10 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A665C394847D for ; Tue, 3 Jan 2023 08:07:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A665C394847D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672733229; bh=vamqxI82M7sDn/ojDQrz8nLIO2C43EewkZecR4lVayc=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=G8BPP9LJ46m2qJKcAGUyBUZKV0KehmWYqanVewvDtHIp1P3GnRx0F1kmtAqlEqFFE 0zuP5kjvRMaw1Ir1ua0FaZlAXklmwYE9jgfkWeO92zUuCVVrsB4Ctp1WhdoxRZBPKD EXEPkpehAPr96oSph27DjfVPd7kE8Tc4hx6FEq5c= Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 73D8D3817762 for ; Tue, 3 Jan 2023 08:04:19 +0000 (GMT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4E0E460ABE; Tue, 3 Jan 2023 08:04:18 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 39A5F139F1; Tue, 3 Jan 2023 08:04:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Dl/6DILhs2MMegAAMHmgww (envelope-from ); Tue, 03 Jan 2023 08:04:18 +0000 Message-ID: <5cd9edba-b1b2-060e-d8d2-98ff6d28a5e7@suse.de> Date: Tue, 3 Jan 2023 09:04:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] Initial implementation of Debugger Adapter Protocol Content-Language: en-US To: Tom Tromey , Tom Tromey via Gdb-patches References: <20220901163059.3678708-1-tromey@adacore.com> <87bkrk8j21.fsf@tromey.com> <877d1duivp.fsf@tromey.com> <87k024khch.fsf@tromey.com> In-Reply-To: <87k024khch.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 1/2/23 17:54, Tom Tromey via Gdb-patches wrote: >>>>>> "Tom" == Tom Tromey via Gdb-patches writes: > > Tom> The Debugger Adapter Protocol is a JSON-RPC protocol that IDEs can use > Tom> to communicate with debuggers. You can find more information here: > > Tom> https://microsoft.github.io/debug-adapter-protocol/ > > Here is v4 of this patch. This version updates the previous gdb > exception handling some more, redirects stderr, fixes pending breakpoint > handling, fixes the breakpoint event contents, and arranges to re-use > existing breakpoints when possible. > > The documentation hasn't changed at all. > > Tom> More changes are on their way. I suppose at some point, barring any > Tom> comments, I will just check this in and switch to sending updates as > Tom> regular patches. > > I'm going to check in this version on the trunk. Future work will be > sent in the usual way. I'm running into: ... /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c: In member function ‘virtual void dap_interp::init(bool)’: /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c:83:27: error: ‘PyObject_CallNoArgs’ was not declared in this scope gdbpy_ref<> result_obj (PyObject_CallNoArgs (func.get ())); ^~~~~~~~~~~~~~~~~~~ /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c:83:27: note: suggested alternative: ‘_PyObject_CallNoArg’ gdbpy_ref<> result_obj (PyObject_CallNoArgs (func.get ())); ^~~~~~~~~~~~~~~~~~~ _PyObject_CallNoArg ... Thanks, - Tom