X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25146393BC31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1612516083; bh=vbnDaSo47OXjrgo6WWfcfzHoglYdo3Dp64NiTrCe5ww=; 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=XRflnJNRacmVoCx+DNV3u8EGfN9g67HlrCeVsbvX8oSWg7FqHUjQ/SOltnDz0GD1M AVxFZ2FXRD6yZLTvTACVYEL6gqg0wEpFiUokXUwwatXP5gQhqxHSn5L2f6W73o6hex eF5FoCpTlmgZpRqOxgolOzj4PkuHJ9285idCAgb4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3BA98385ED4A 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) Subject: Re: Cygwin GDB won't start or hangs at startup To: cygwin AT cygwin DOT com References: 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-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 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: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" 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 11598TLM024111 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. Regards 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