From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 4BFE83858034 for ; Thu, 4 Feb 2021 14:54:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4BFE83858034 Received: by mail-wm1-x335.google.com with SMTP id 190so3394659wmz.0 for ; Thu, 04 Feb 2021 06:54:49 -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=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) Received: from ?IPv6:2003:cc:9f02:bf4:b07e:79a7:ffc3:688? (p200300cc9f020bf4b07e79a7ffc30688.dip0.t-ipconnect.de. [2003:cc:9f02:bf4:b07e:79a7:ffc3:688]) by smtp.gmail.com with ESMTPSA id b4sm8131807wrn.12.2021.02.04.06.54.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Feb 2021 06:54:48 -0800 (PST) Subject: Re: Cygwin GDB won't start or hangs at startup To: "cygwin@cygwin.com" References: From: Marco Atzeri 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2021 14:54:52 -0000 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