From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 From: Reinaldo Molina To: Simon Marchi Cc: Martin Simmons , gdb@sourceware.org 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-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 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: Wed, 30 Dec 2020 01:20:25 -0000 > 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