X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0B003835434
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1612450494;
	bh=brwC/eUtqr9FIfwzeYhjxSr2hj2eV6Z60mWTj7h7Mww=;
	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=PVFSsor2fUjIcnnpXNz8Km2irKzYwE8lH96kSlof0QuEGFQ5pKIDAlKLC3mMVeeBb
	 fgRZOsidGB0QIUSiXEmEJfGFNGQCMbBFmnxsLW9Raq5TEkVGjY1NvRAYO/N+7Wz7wW
	 rpF/6ExEm9W5xPu7yckNc2gNwi3HA8eUuUF6mUD4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4BFE83858034
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=gMN4h0vecgO+Tl1Saw2dImFeR/NXqoVk3zn0y04Gjj0=;
 b=lu682WiGCVyYMr+v1LgAJxVsXB9vefczqsvT7gh5WV3/DxYCe3h8yX5wtoSwKcoWu8
 JtPoYbqKpLylHOVLsb90mEx+5ebf4ncTYUaMMNVhZ5/ZVCcHoKcAAjkfdc7FblOxLx5y
 GMUpsWhgUeI4qysGhKOzwZ50pjpXMGR/Go0qLdtGGFpNHmGcOym/SHxh/v8DLU/UiM2K
 UgNeMslvu0WNA53jO3iqXW20UcIB5l+W5+PpHlupG2AQM7A71F3eRUIRF0os0liLWjvC
 V7aBxkGuKht7uZSrrlNbwbsZUuD3lM2vEu/aoIEE46gdHN2YJjx/Zdm30380+w8VXtF1
 qU+g==
X-Gm-Message-State: AOAM531T/bB81wP1P5P8nIl7PP1+6GtBYujgB/hRxitX1Ln9Kcx6AtNH
 LmRB+S2IDqJD64PwA/kSGRdps1h8B+8Q9Q==
X-Google-Smtp-Source: ABdhPJwmbTV0+KD81UvgmntbaSAPFbCB0Cfzr94YI0HxLNOKoLZnDn/l4A728ayvnxTL+WtXMW0cSQ==
X-Received: by 2002:a7b:c7c8:: with SMTP id z8mr7735802wmk.72.1612450488402;
 Thu, 04 Feb 2021 06:54:48 -0800 (PST)
Subject: Re: Cygwin GDB won't start or hangs at startup
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <trinity-3eddeb33-bec4-497c-bd3b-24bf5d88fca7-1612440798170@3c-app-webde-bap29>
Message-ID: <7c35d454-b196-8167-23cf-b3863bff8ca7@gmail.com>
Date: Thu, 4 Feb 2021 15:54:47 +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: <trinity-3eddeb33-bec4-497c-bd3b-24bf5d88fca7-1612440798170@3c-app-webde-bap29>
Content-Language: it
X-Spam-Status: No, score=-1.7 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 114EtKBa032380

On 04.02.2021 13:13, Daniel Röhrborn via Cygwin wrote:
> I have this issue on three different PCs (Win7_32bit, 2x Win10_64bit) with the latest Cygwin installer.
> I installed Cygwin gcc/g++/gdb. Compiler works but gdb doesn't output anything when started. It seems to have blocked right after start. What could cause this behaviour?
> 
> When I downgrade to gdb version 7.10.1-1 it works normally and outputs its startup message.
> But with any higher version (7.12.1-2, 8.0.1-1, 8.1.1-1, 8.2.1-1, 8.3.1-1, 9.2-1, 10.1-1) I get no output at all. The process hangs forever. Running GDB from the Cygwin Terminal also doesn't help.
> Since nobody else seems to have similar problems, I think it could be a configuration problem.
> 
> Kind regards
> Daniel R.

Hi Daniel,
does not start, as it goes back directly to the shell, or it seems 
stacked and typing "quit" it exits back to the shell ?

The first effect is caused by missing or mismatched DLL's.

The second I have seen on my W10 only if I run GDB from CMD and the 
Cygwin bin directory is not in the PATH

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

