Re: gdb refuses to connect to localhost
Reinaldo Molina via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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