X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AB4939FB033
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1612544458;
	bh=KiwUCS8/fq2xkPM68Pl/j/nXEGs8EUKk+uVK9JOdRC0=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=eavWW+eZfRXBM2usPKBRrCszqL3Q6BuOLmTZFSyg1qWVIH66ETYzWcccGRqxRaN77
	 hxORsjQYiO0GUFBOaefgTgyW4GLRlth+tUItQ5ONM+IxCOhEPXZnPSxOtoV74CPGzm
	 ifBBgklT26VNZZM8TtN3EhJ+81Dch6vGoGb7knmc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5BBFF385780F
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=8XXbLZZIpTjgWwVdCurUM8ZQawzJnbUPKqmIp/3W2Ag=;
 b=l5fMJR/mnCngDz8H1+r3/V8Uf3w+b80BPiD/iA/zpbk6sDXD8wgT3hLip+9V0Wj6z2
 D7TTquaaiPWzYZ3u5pi77pqwUGXom/M+yxmcv7c6L1R5yG06mUIoWdfqtdy3HOuLzieh
 haCV38ypIl4W6ig29Fb8f/1D07Q5lw8/QbwhZ5pEthXzj8BMlxSfJz6UmWetEUmeH33x
 vXAkqP9jVh5IidITI330E3nmjNyCh4o7GLu9o0qapChkkqrHUgw0twfFso+dFEokfhHy
 Kwte2yd779bbSqGW5zqy5O74V6br9KWddmenW2CEm7x2aPdw0x3JGqz+2oqBvDuZYSw1
 Ge/g==
X-Gm-Message-State: AOAM530ibfUkM5DEZiVUZVsziWm99CYDbhtaARB80q83dSBiZMk/seS6
 jI+JUtLW8+AUrZD68dIDM6Utw6+NU5Vs5g==
X-Google-Smtp-Source: ABdhPJwuf4Asv4zu0V06eVzTdKKmOk4Grjnp6r4PFlSbqFEHSJQbSKVkEwXXgQNCHZOUuBs3PEw3zQ==
X-Received: by 2002:a1c:7d53:: with SMTP id y80mr4426592wmc.187.1612544454418; 
 Fri, 05 Feb 2021 09:00:54 -0800 (PST)
Subject: Re: Cygwin GDB won't start or hangs at startup
To: cygwin@cygwin.com
References: <trinity-0937b06d-2b4c-4bed-a1c4-b447895092ff-1612511724221@3c-app-webde-bap19>
 <d746ca37-d681-e9c9-8d8c-bd03cb4d10e9@gmail.com>
 <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp>
Message-ID: <1295fac0-8efe-c9f7-9606-3cb2f6791683@gmail.com>
Date: Fri, 5 Feb 2021 18:00:53 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp>
Content-Language: it
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 115H1M7l031895

On 05.02.2021 16:18, Takashi Yano via Cygwin wrote:
> On Fri, 5 Feb 2021 10:07:46 +0100
> Marco Atzeri wrote:
>> On 05.02.2021 08:55, Daniel Röhrborn via Cygwin wrote:
>>>> On 04.02.2021 13:13, Daniel Röhrborn via Cygwin wrote:
>>

>>
>> it is like the file descriptor of outputs are misaligned,
>> and I see two more of them
>>
>> Maybe Takashi or Jon can provide hints on the matter.
> 
> I looked into this problem and found this issue causes if iconv
> cannot be found in the search path.
> 
> Installing libiconv package should solve the issue, I guess.
> 
> It seems that the GDB package should set a dependency on libiconv.
> 

Hi Takashi,

it makes sense. Comparing the two straces I see that is looking
for iconv and of course it finds iconv only if the directory is
in my PATH

This also explain whay it was so difficult to replicate
as many of us have libiconv installed anyway.

Thanks
Marco


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

