From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1672733058; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vamqxI82M7sDn/ojDQrz8nLIO2C43EewkZecR4lVayc=; b=l9rqbFtNoimvCNWiuGb00G3ZmJDRwjieSHkpwe47lcHztbNku4fxGOJesgQhVucVD68GQF RcChpcbVV0DqCoAW81Z2KseD9LRMNsAMTicADGSqOdYM3Nmnz2qoUfylF40ZyJH+jFMoR4 tdttr5OVPeBK5Mn1R9JXsmTOr104fSs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1672733058; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vamqxI82M7sDn/ojDQrz8nLIO2C43EewkZecR4lVayc=; b=byXhLVcxjTFOs94aXZmNAkzbjFGoEYxQKh0eD3La/N918TmDOqpQ93u2ITM4dWW0K5TvEV 2Eh4J9sA5CuvLjCg== 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> From: Tom de Vries In-Reply-To: <87k024khch.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP 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: 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