X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9840A39F4437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1612538313; bh=KN55bEMRXNbpPtnNFHGziPuuz6Ao2lq7Zv8z9gv4dsE=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Ky06wlGTOUHkSKPf7UtsSoZsEjvW/O1s/u6HWaOH2IYYaTxQeRt0KVBTwH4g50gWf E53n2iq7Ur+CY31zEqv4VCJ1e+NILGN+mNrUUKJ+WrQafCVQOXmE0EQofP0g9J+Dp3 EzyAl8LbjacXfzT87BogMFfwVKg9/ywo2Qdt//M8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6240D39F1485 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 115FI6C5010634 X-Nifty-SrcIP: [122.249.67.108] Date: Sat, 6 Feb 2021 00:18:09 +0900 To: cygwin AT cygwin DOT com Subject: Re: Cygwin GDB won't start or hangs at startup Message-Id: <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 115FIxd8017032 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: > > > > > Hi Marco, > > it seems stacked and when blindly typing "quit" it responds with exiting. So it seems like the output is invisible. > > Tested it with Win7_32bit, GDB version 9.2-1 with Cygwin/bin in PATH (since the beginning). > > > > Regards > > Daniel > > I can not fully replicate on my W10, > > but I notice that running from CMD there is a small difference > between the working instance > > > Marco AT LAPTOP-82F08ILC /proc/3072/fd > i686 $ ls -l > total 0 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 0 -> /dev/cons1 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 1 -> /dev/cons1 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 10 -> pipe:[21474850180] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 2 -> /dev/cons1 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 3 -> pipe:[8589948292] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 4 -> pipe:[8589948292] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 5 -> pipe:[12884915588] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 6 -> pipe:[12884915588] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 7 -> pipe:[17179882884] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 8 -> pipe:[17179882884] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:59 9 -> pipe:[21474850180] > > and a not working one > > Marco AT LAPTOP-82F08ILC /proc/3055/fd > i686 $ ls -l > total 0 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 0 -> /dev/cons0 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 1 -> pipe:[4294988268] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 10 -> pipe:[17179890156] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 11 -> pipe:[21474857452] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 12 -> pipe:[21474857452] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 2 -> pipe:[4294988268] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 3 -> pipe:[8589955564] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 4 -> pipe:[8589955564] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 5 -> /dev/cons0 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 6 -> /dev/cons0 > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 7 -> pipe:[12884922860] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 8 -> pipe:[12884922860] > lrwxrwxrwx 1 Marco Kein 0 Feb 5 09:57 9 -> pipe:[17179890156] > > 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. -- Takashi Yano -- 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