From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id NMCgDNzV61/PcwAAWB0awg (envelope-from ) for ; Tue, 29 Dec 2020 20:20:28 -0500 Received: by simark.ca (Postfix, from userid 112) id 256D41F0AA; Tue, 29 Dec 2020 20:20:28 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 5336A1E99A for ; Tue, 29 Dec 2020 20:20:27 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A3BAC3858022; Wed, 30 Dec 2020 01:20:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3BAC3858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1609291226; bh=1RokPZOWiq+KFGx9BxAl0tx7dLqlX26j4bsTUTjAgxI=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=MuNFSPIsvIiQbkaCm+Er2ARkICYlMPY7ivqt/ocFlgDXQaWrcwg9UsKUhidpej/Cm qHynxFJrG/YhnafCw/vAGtK9AdZA5cneDGAp2Kh2rcHYzpFrVqKcUby8dFHjdI2Jr/ /DDh6o416qP5hx3fFhPj53otBz1IMshAR///r3+s= Received: from box.molinamail.com (box.molinamail.com [157.245.10.181]) by sourceware.org (Postfix) with ESMTPS id AA55B3858022 for ; Wed, 30 Dec 2020 01:20:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AA55B3858022 Received: from authenticated-user (box.molinamail.com [157.245.10.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.molinamail.com (Postfix) with ESMTPSA id E70F57F137; Tue, 29 Dec 2020 20:20:23 -0500 (EST) Date: Tue, 29 Dec 2020 20:20:23 -0500 To: Simon Marchi Subject: Re: gdb refuses to connect to localhost Message-ID: <20201230012023.yehrsfvjigjhwmne@molinamail.com> References: <20201225223622.a7xovhjzndth5a2x@molinamail.com> <20201229155849.cn4rb7qyto7jwnqf@molinamail.com> <18d87f2e-31d3-529d-3433-31593089eccf@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <18d87f2e-31d3-529d-3433-31593089eccf@polymtl.ca> 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: , From: Reinaldo Molina via Gdb Reply-To: Reinaldo Molina Cc: gdb@sourceware.org Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" > Is it maybe an instance of this bug? > > https://sourceware.org/bugzilla/show_bug.cgi?id=26116 Initially I thought so. I have a fancy prompt. But then I was able to reproduce it even in bash. I went for the prompts then, but still could reproduce. Then I went for something I should have done a while back, but didn't occur to me: env -i gdbserver localhost:8888 build/bin/nvim And it functions properly that way. So that seems to indicate that is related to my environment variables. I have only a few in my `bashrc` and I can still reproduce, so tomorrow I'll debug it. See what I can find. Thanks, Reinaldo Molina On 12-29-20 16:18:21, Simon Marchi wrote: > > > On 2020-12-29 10:58 a.m., Reinaldo Molina via Gdb wrote: > > That did it!!! > > > > My shell is `zsh` by the way. > > > > > zsh --version > > zsh 5.8 (x86_64-pc-linux-gnu) > > > > Thank you guys! Happy New Year! > > > > Reinaldo Molina > > Wow, good job at spotting this Martin. > > Is it maybe an instance of this bug? > > https://sourceware.org/bugzilla/show_bug.cgi?id=26116 > > Simon