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 6DB433858D35 for ; Wed, 4 Jan 2023 11:59:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6DB433858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de 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 759B242CE; Wed, 4 Jan 2023 11:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1672833551; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QUcsgzOK6wx038COds1fv3OR2w0SJdAomodqq5GP1EA=; b=A3eULvpv7v58Av2O+Srt18SynVWJF8PC1KP5jXLcdeMHYOrgJVe7t+T4qN4Of1NfyftaAr rw7lIR8zjvha3UlzW85L58IdJWywN47/sHCoTomKS5K+q93v6r1TXNrqbBjb2H6z07kKHu 1yhUo25RfQXuru5ZekjiQbw0nzdlW28= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1672833551; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QUcsgzOK6wx038COds1fv3OR2w0SJdAomodqq5GP1EA=; b=2Fd8ObiKX/DKkEFQtBF15SL+JbGw+W8r01+CXUtq87uu19qO9YYclyu6pyL/7+0AoO6n/3 mIRAN+YGN+By84Dg== 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 61D81133D1; Wed, 4 Jan 2023 11:59:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OvSfFg9qtWNhBQAAMHmgww (envelope-from ); Wed, 04 Jan 2023 11:59:11 +0000 Message-ID: <7f2d41d6-ba52-a7da-4144-a252aabd10ea@suse.de> Date: Wed, 4 Jan 2023 12:59:11 +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 Cc: Tom Tromey via Gdb-patches References: <20220901163059.3678708-1-tromey@adacore.com> <87bkrk8j21.fsf@tromey.com> <877d1duivp.fsf@tromey.com> <87k024khch.fsf@tromey.com> <5cd9edba-b1b2-060e-d8d2-98ff6d28a5e7@suse.de> <87tu17iu2j.fsf@tromey.com> From: Tom de Vries In-Reply-To: <87tu17iu2j.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 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/3/23 15:14, Tom Tromey wrote: > Tom> /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c: In member > Tom> function ‘virtual void dap_interp::init(bool)’: > Tom> /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c:83:27: error: > Tom> ‘PyObject_CallNoArgs’ was not declared in this scope > Tom> gdbpy_ref<> result_obj (PyObject_CallNoArgs (func.get ())); > Tom> ^~~~~~~~~~~~~~~~~~~ > Tom> /home/vries/gdb_versions/devel/src/gdb/python/py-dap.c:83:27: note: > Tom> suggested alternative: ‘_PyObject_CallNoArg’ > Tom> gdbpy_ref<> result_obj (PyObject_CallNoArgs (func.get ())); > Tom> ^~~~~~~~~~~~~~~~~~~ > Tom> _PyObject_CallNoArg > Tom> ... > > Sorry about that. I'm going to apply the appended, which should fix the > problem. That fixed the build problem, thanks for that. Now I'm running into an error in the testsuite: ... ERROR: eof reading json header while executing "error "eof reading json header"" invoked from within "expect { -i exp19 -timeout 10 -re "^Content-Length: (\[0-9\]+)\r\n" { set length $expect_out(1,string) exp_continue } -re "^(\[^\r\n\]+)..." ("uplevel" body line 1) invoked from within "uplevel $body" NONE eof reading json header UNRESOLVED: gdb.dap/basic-dap.exp: startup - initialize ... Thanks, - Tom