From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 5EAF6384B071 for ; Wed, 3 Feb 2021 21:40:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5EAF6384B071 Received: by mail-ej1-x62a.google.com with SMTP id a9so1549484ejr.2 for ; Wed, 03 Feb 2021 13:40:37 -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=ZUyaSDSbi3dlg4Zn9PP8XoEbwu6DfZY8BWDtT/Wq+ck=; b=kyiIv2Z6O0r0Nk4/NnI8VJjM+IYIyuJMPtrdsYKLQF/qKCAIl0i9IEW4y58gMnqoLZ KaCwqg+vMKqjfu87NF00F6IHjlVW3WnVZsqHzLHAD6ITIEgP/bh/nYDiPiFMmg9c7CQ6 Z4UzTha9vFmO5CCvWqaX6d/516Ai583RY4rB9RbDj/WkFQ2wttEpMcXJLLqop8+9dOwU OWlfwn4YLzQocvvUIXKBKzYlk9dhuIm8FCdAm9MKu7SDT032YfOeCHoA0o6kRQRdGhwg g3XeejG1c5Xzo9Jn+5eGv6t3B7FvURV0YvA1BsPZq+dtr0xq3ObMEjMZTBS2bE/c6PnU bDsg== X-Gm-Message-State: AOAM531BTdklC4ohStPE2Hj42Mp/yhgiGGy4rwPQ3ijwyTY+ntS1XE2j eSpmAH+g24VnGvMb/zTDM3GYc0VFW4qp/A== X-Google-Smtp-Source: ABdhPJwAHxvXOLUOuiZ9AtcMRvj6g1cz5mPQZPCCrWW2VZRiqLeXzO2bQoRIw0nRvtLbH6NM2kVhVg== X-Received: by 2002:a17:906:f4f:: with SMTP id h15mr573809ejj.498.1612388436473; Wed, 03 Feb 2021 13:40:36 -0800 (PST) Received: from ?IPv6:2003:cc:9f02:b29:fc48:5883:124:5f8f? (p200300cc9f020b29fc48588301245f8f.dip0.t-ipconnect.de. [2003:cc:9f02:b29:fc48:5883:124:5f8f]) by smtp.gmail.com with ESMTPSA id u21sm1506166ejj.120.2021.02.03.13.40.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Feb 2021 13:40:36 -0800 (PST) Subject: Re: gdb not working properly in Cygwin To: cygwin@cygwin.com References: <6c2c9970-9721-af5b-eba0-15555cbb9036@gmail.com> <2710d0d7-e249-a166-ad1c-de7c1ed2a3e0@cornell.edu> From: Marco Atzeri Message-ID: <476b295a-0ede-ff3e-2805-9b73929acef1@gmail.com> Date: Wed, 3 Feb 2021 22:40:35 +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: <2710d0d7-e249-a166-ad1c-de7c1ed2a3e0@cornell.edu> 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: Wed, 03 Feb 2021 21:40:38 -0000 On 22.01.2021 00:30, Ken Brown via Cygwin wrote: > On 1/21/2021 5:27 PM, Tord Andreasson via Cygwin wrote: >> Hi, >> >> I encounter the same issue too. >> >> gdb starts however there is no gdb prompt, nothing is echoed and >> nothing is >> printed on the bash window except an empty blank line. From now you >> operate >> blindfolded. >> > > Many errors are to be expected, so your excerpt of gdb.strace doesn't > really tell us much.  Please post the full strace output somewhere.  And > please send cygcheck output *as an attachment* as instructed here: > >   https://cygwin.com/problems.html > > Ken I can replicate the issue if I run gdb from CMD while from Mintty or Cygwin.bat it works fine. It seems latest versions are misreading the CMD terminal capability. Regards Marco