From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 3BA98385ED4A for ; Fri, 5 Feb 2021 09:08:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3BA98385ED4A Received: by mail-wr1-x42a.google.com with SMTP id m13so6744922wro.12 for ; Fri, 05 Feb 2021 01:08:00 -0800 (PST) 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=6mwvyQp08yhTXkyDU3Yp0156GaorzKoRYC44I0pDGqk=; b=fgVUo30lIaJBzBVjds9bE1ufyXt4eT2CYNJppqVZS8E0D3r65RqUc0A5rPLldTWn3t NW5odV0K6j9VInxp9HpWDfzxQBtx3JoliEeTvcPxxhVT3F2jR1dlfPLnjolJE9jowYV6 xZh/CXyufxPW3fT6+3MTT+uTtli7RYmTJm2zS+cB19xhqGTh1j26TrQWKoVbwRmzwaph rTJTXLyrqpScr8kSDp+mrd2h0eg0vK1va68k7vUzjIFRkrfcR34q3RiFKlrYGaGU8abw SThdezxGIc79Z5ykwZsiufcww5C2kbDLVGUbGh9YR7h1fxLR/dg1qdL8prVaGUi8OKSL p7xw== X-Gm-Message-State: AOAM533/UMX9BYglY0eDW2i/aqjOsZrA27EMNAsmzQ2DjuzHyJZ/Y7dR uiC6vqXpqqmIOoPpQm8wRfjvUSwYSa7ONA== X-Google-Smtp-Source: ABdhPJyvDKX6AaTejScQ33oRQXDiLOsIQOOF4KtOinb41e8xM3WgLW8IGFUWLYQLNUE6fIBe3KxXNQ== X-Received: by 2002:adf:dd10:: with SMTP id a16mr3826954wrm.207.1612516079318; Fri, 05 Feb 2021 01:07:59 -0800 (PST) Received: from ?IPv6:2003:cc:9f02:b29:a11a:bf60:e761:2bb? (p200300cc9f020b29a11abf60e76102bb.dip0.t-ipconnect.de. [2003:cc:9f02:b29:a11a:bf60:e761:2bb]) by smtp.gmail.com with ESMTPSA id l2sm8391386wmf.15.2021.02.05.01.07.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Feb 2021 01:07:58 -0800 (PST) Subject: Re: Cygwin GDB won't start or hangs at startup To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Fri, 5 Feb 2021 10:07:46 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 09:08:02 -0000 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@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@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. Regards Marco