From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id NQ+mHN5P619+ZwAAWB0awg (envelope-from ) for ; Tue, 29 Dec 2020 10:48:46 -0500 Received: by simark.ca (Postfix, from userid 112) id 662421F0AA; Tue, 29 Dec 2020 10:48:46 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,MAILING_LIST_MULTI, RDNS_NONE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [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 9FB621E552 for ; Tue, 29 Dec 2020 10:48:45 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AA515386F804; Tue, 29 Dec 2020 15:48:44 +0000 (GMT) Received: from cp165172.hpdns.net (cp165172.hpdns.net [91.238.165.172]) by sourceware.org (Postfix) with ESMTPS id C4FAC386EC23 for ; Tue, 29 Dec 2020 15:48:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C4FAC386EC23 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dyxyl.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=qqxnjvamvxwx@dyxyl.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dyxyl.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dEfh6GfH0B2V4bvftpnWkbZhJPWywuSYYhGrKPbD1Ew=; b=j1TOChOI0BzJmNoIp8Cr0xloKZ dIq5H4rSK6HjHBSlUuKf3+tLc5f2DR2MznS+Q/lBRwaT8Ux4aChkRcFYCOjcbFhMoJlGAeMmUlHju 8ocZhcM9c3LvsjTcAzjTQAzpxoxmb8UkldhZ7e2mZQGX4rpPaArP939WVMma+nGimhZE=; Received: from cpc92880-cmbg19-2-0-cust615.5-4.cable.virginm.net ([82.27.106.104]:46826 helo=localhost.localdomain) by cp165172.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kuHEm-00GlOu-DB; Tue, 29 Dec 2020 15:48:40 +0000 Received: by localhost.localdomain (Postfix, from userid 597) id D971760085; Tue, 29 Dec 2020 15:48:39 +0000 (GMT) From: Martin Simmons To: Reinaldo Molina Subject: Re: gdb refuses to connect to localhost In-Reply-To: <20201225223622.a7xovhjzndth5a2x@molinamail.com> (message from Reinaldo Molina via Gdb on Fri, 25 Dec 2020 17:36:22 -0500) References: <20201225223622.a7xovhjzndth5a2x@molinamail.com> Date: Tue, 29 Dec 2020 15:48:39 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-cPanel-MailScanner-Information: Please contact the ISP for more information X-cPanel-MailScanner-ID: 1kuHEm-00GlOu-DB X-cPanel-MailScanner: Found to be clean X-cPanel-MailScanner-SpamCheck: X-cPanel-MailScanner-From: qqxnjvamvxwx@dyxyl.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp165172.hpdns.net X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dyxyl.com X-Get-Message-Sender-Via: cp165172.hpdns.net: authenticated_id: dyxyl/from_h X-Authenticated-Sender: cp165172.hpdns.net: qqxnjvamvxwx@dyxyl.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gdb@sourceware.org Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" >>>>> On Fri, 25 Dec 2020 17:36:22 -0500, Reinaldo Molina via Gdb said: > > Hey guys! > > Looking for some assistants here. I am trying to debug an application using `gdbserver`, but it seems my `lo` network device is messed up. `gdb` refuses to connect to `localhost` every time. Here is my flow: > > Terminal 1: `gdbserver localhost:8888 build/luajit` > - Variants I've tried: `127.0.0.1:8888` > > Terminal 2: `gdb build/luajit -ex 'target remote localhost:8888'` > > Output from `gdb` on Terminal 2: > > (gdb) target remote :8888 > Remote debugging using :8888 > Ignoring packet error, continuing... > warning: unrecognized item "timeout" in "qSupported" response > Ignoring packet error, continuing... > Remote replied unexpectedly to 'vMustReplyEmpty': timeout Try running gdbserver with the --no-startup-with-shell argument: gdbserver --no-startup-with-shell localhost:8888 build/luajit That seems to be necessary if your shell is tcsh. __Martin