From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id HeRELSdqtWNrLQ8AWB0awg (envelope-from ) for ; Wed, 04 Jan 2023 06:59:35 -0500 Received: by simark.ca (Postfix, from userid 112) id AA2791E222; Wed, 4 Jan 2023 06:59:35 -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=WUAVs2RH; 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=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.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 5F9D41E0D3 for ; Wed, 4 Jan 2023 06:59:35 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 260B83858C1F for ; Wed, 4 Jan 2023 11:59:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 260B83858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672833572; bh=QUcsgzOK6wx038COds1fv3OR2w0SJdAomodqq5GP1EA=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=WUAVs2RHeZ7BXfEPdT0yKJ0zE2Jg/yjtu3ynndMhCtO/rFUCaQuZvhC8AWXIzITeT hIjDOW/soy0SbCbbDMrErBV4NvVKIihg/PGfTkrRNDamFYSg4MyM/qru0zimOGS11w eHxTrdbfO1iuXRI/eICjugHHiDqib7RohtxZYivg= 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 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) 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> In-Reply-To: <87tu17iu2j.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/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