delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/02/03/17:06:47

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3155639DC4D0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1612389965;
bh=dR1ZGPgjYaBcx1XAZBeTRLCTkqLfAR7hNezqqxbXebg=;
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=qg97sK4KmUIQoK39xlof1o3MK4PF85+ktoIoH47VGt2gnBpJJWmPzFEiNKZCdtSPP
SmITpEfCd3g/Ec4TVXKY/9IXwkIgKvjDd17JnMaE/+faMcsQF33mXQrzAv0MAldIGd
bEO240ZYMX1iE8NrV41bNx9r12KAHhyxcou4swuQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 37D3739DC4C5
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:from:to:references:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=F1KE2LFyKMIDPymBgvu7YvR0B/LRjxMvfHymJEbnKAo=;
b=iqN6NTmH93qLW0zwmmiVDUjPnGHv+gp5jQcXwz/BiQmBmGfgwc2bM96BpacAZlt48w
2JOUr3mcw00Tm+MO4mebCXjpcWPr0xvAtywozFXy1DlHSiK37qBw0fgRdN5U1YmQiTDE
lwhtrEqDy1Fa13WjCPz/K9u4fl/4pyzp1bB4xC3qOKDXw7UakbhX5Ix3D0eGlZBjNYDx
+risU6xk3TtqahrFTuPhcDntiDOWuM5ySadsARoENAIEbMX59LdWjEdXX99B6bhSNO5c
0kxKSgOUtyC/0gLqIp9lQ8nuP+V1akzE+aHn7NmIc65gs+uG2dwRlGypVGOXjMrm46sV
IxGw==
X-Gm-Message-State: AOAM530Abgev0Gp642DUwfWET8LsHkkuHf8U2vt7pGaehdAvJTvcO9Df
rrw9hHXl25upO2azjzOr1VAGVSDzIk5luw==
X-Google-Smtp-Source: ABdhPJxFJmTa78IK6O5LaEO991xeUSN4vxPXfP5YrhNRCd8IMbQuuQfTgxICfNuDFLEFyIiFAkUt1g==
X-Received: by 2002:a05:6402:6cc:: with SMTP id
n12mr5200128edy.297.1612389961402;
Wed, 03 Feb 2021 14:06:01 -0800 (PST)
Subject: Re: gdb not working properly in Cygwin
To: cygwin AT cygwin DOT com
References: <MN2PR09MB5866016F06730F46E9C62D12B7A10 AT MN2PR09MB5866 DOT namprd09 DOT prod DOT outlook DOT com>
<6c2c9970-9721-af5b-eba0-15555cbb9036 AT gmail DOT com>
<CAM25FTp7DieHYOdfQeFoNNjq+24pG9JPX8O-c6Hk8oZ3RX25Aw AT mail DOT gmail DOT com>
<2710d0d7-e249-a166-ad1c-de7c1ed2a3e0 AT cornell DOT edu>
<476b295a-0ede-ff3e-2805-9b73929acef1 AT gmail DOT com>
Message-ID: <2ed5df53-39f9-8baf-8ef7-83d1dae227d2@gmail.com>
Date: Wed, 3 Feb 2021 23:06:00 +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: <476b295a-0ede-ff3e-2805-9b73929acef1@gmail.com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 03.02.2021 22:40, Marco Atzeri wrote:
> 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.
>>>
> 
> 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

much more simple. GDB requires a proper PATH


D:\cygwin64\bin>set PATH=d:\cygwin64\bin

D:\cygwin64\bin>gdb
GNU gdb (GDB) (Cygwin 10.1-1) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019