X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F5003950C81
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1610098773;
	bh=cDLIx3KIpMZ1qK4Fht1YLfl2W4XjkkPPaz6SicGORwc=;
	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=aLVe8Q4VcC/zqX1tsPf417XbHis8/oaDybEj22WeJ+UloP+WADJL1zI53K5852yvi
	 ftaHc2PsjX2wQKAW9kCw3yXKxVsK0d6tkfya04F/HZO7QlO0sjQGQ2BxW4k/hwBYww
	 UMw6pKpBsz2HodLgz2HVvcXJ0KiIL+ZFrtk7OXgo=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DA1183971C36
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=KgBW++RuliSn1DkAGJA7DFLgw2+R+GId5pAElaMZO/s=;
 b=PCZD4QH8eRKAXhdIjnHdZFqzilde2iPWGqCFA1bN78ZwRrhBtelZ/12wTpZXkkJzlD
 Hy1XsRK/oNpFHEDSMkJOWUxJQHzTHvn10K6RYGJH5RJAvWNEm2BFi+55A639KBL/4RQY
 5/y6ecL3Odg6p8aNRAZho0HAeqKqnZaR74fBM1BS+fvmJZ4LcN87ajNhxT3PpTqJbYEt
 NTz8ETuCLwBlTDyUNftpppUBMcEU+bTEB1JgzgjL/eDk8fAlmQ3uL+TJVNT2pp7Oe/r0
 2THPmZDMWOnax680m0eREFg5yXL29v1C+USqh54GFbmLqEAYPFbkj6SQPT3GYuWJ9MYH
 OeZQ==
X-Gm-Message-State: AOAM531oL2nFFzQoKLDX03JzLmO8PRtXlDEtAM8TopmPDg34pexS/5WZ
 nFwstZoOGVFLUyTmynwPH4XVTqjmCeR5Tala
X-Google-Smtp-Source: ABdhPJyAStpvjj4ps4WTrBnNq/k6OJi2D9zU/xxGFT6Dqotv+N8nN2m+6b06hH5wOMVABJbmd7XCrg==
X-Received: by 2002:a1c:9d8b:: with SMTP id g133mr2251951wme.189.1610098768978; 
 Fri, 08 Jan 2021 01:39:28 -0800 (PST)
Subject: Re: gdb doesn't print the output on the terminal
To: cygwin@cygwin.com
References: <CANAK-1TFaMqk4tUP4VyWMGoMySezd_XjK9PEDgnpHbqahgXGRQ@mail.gmail.com>
Message-ID: <8ef2178c-7706-3416-2ce8-83d6a9e8f22f@gmail.com>
Date: Fri, 8 Jan 2021 10:39:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <CANAK-1TFaMqk4tUP4VyWMGoMySezd_XjK9PEDgnpHbqahgXGRQ@mail.gmail.com>
Content-Language: it
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
 RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no 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-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 08.01.2021 10:20, Gaetano Buldo via Cygwin wrote:
> Hello,
> I installed Cygwin for 64bit window, and the following tools in order to
> build and debug c programs using eclipse.
> gcc 9.3.0-2

why not the version 10 ?

> make 4.3-1
> gdb 9.2-1
> It seems like the gdb program doesn't print on the terminal.

this usually means you are missing some libraries or you have an 
incorrect version of oune of them

These commands can help to identify the issue

$ cygcheck /usr/bin/gdb

$ strace -o /tmp/gdb.strace /usr/bin/gdb --version


> When i run gdb --version a get an empty string on the terminal
> When i run gdb, i can see the programm running on the task manager, and i
> can quit it writing 'q' (even if the string doesn't appear on the terminal).
> gcc and make works fine. When i check the version i normally get the
> expected output, and i'm also capable to build a C project.
> Any suggestion?
> Thanks,
> Gaetano
> --

see also here
> Problem reports:      https://cygwin.com/problems.html

and provide the cygcheck.out as attachment

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
