From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: gdb@sourceware.org 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-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 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-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Tue, 29 Dec 2020 15:48:44 -0000 >>>>> 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