delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/21/07:08:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E9223836C27
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611230878;
bh=34PKgJQf7K407uBqqhRtFHz1zso0zRVaQSvy3x8DPxo=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=TDcaUBNEaRsvdVbHGcsI5CmuBC2GulSzdMWsdpum9vlID44zJVucAcHsFT+4/mlOt
PRBKthQNQNkCy1IaD3TckCsrP4MUGurAaij8vwUhofts92x3ldlDgDpmuSF8KLI3jH
Ua4NeLJVcNvB65h/j1NJeU5/8L4qiOq0YtJbVH4k=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A3E7386184A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=9kQf6OEfntmjCfjg0YJ/jiFaCuTtbyloMtH51r+Wq8o=;
b=JXCy7vdagIjReOaLRhpIPJm/5AfecbkLXNXEMymI3We8TDC8ZucVzGrk74sUEz/Ddj
s86PpM7yeGVpwanRyTUBC5U0zysZyDLj4F2PS5kN7ULQEC813wA09t0G1CbwTAS7giwG
MxFX1wikLWoyPiHUaA/ASi6h9eTWQ6xWsO3M+Hrh96H9M7+kDlSjFydt+NNIvAw8AWS2
GGNnMcHipeIJ+ZX5fl9Y2525nl9fe2CEAe22KrJUY+Mir8CaPztw1q9ojG8pJTKY32Ft
YeOzFieDI03DIpmZGZXNXYW0O5/WiO0FJqjwkPjeDxfIzGIsWsTuAtU3A7ieQWRo2NuR
nNog==
X-Gm-Message-State: AOAM530JHGG+qqPDUuNpzd8l/3tD6ss4kh+kINc1HUH8zQFNd6A5WINE
gpOpXBEj5/Q76kUiQSYWxgktbEpqZnZKb5kYzqCnKpPOOGM=
X-Google-Smtp-Source: ABdhPJxpvAUUVqkGccRUfTkBgdO+I4ij4BOi42GXkU+vebI9UtFMVicCz+wZT/m4Kpmm80XZcGJhalKk4g/nlowsVSw=
X-Received: by 2002:a05:6e02:78e:: with SMTP id
q14mr12048369ils.280.1611230874366;
Thu, 21 Jan 2021 04:07:54 -0800 (PST)
MIME-Version: 1.0
Date: Thu, 21 Jan 2021 13:06:34 +0100
Message-ID: <CAM25FTrf2Cs9MB1Qb-H4LJmsigmiQgEzscyS9hZZBRumBeTmDQ@mail.gmail.com>
Subject: gdb dysfuntional: no output in bash window, no echo
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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: Tord Andreasson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Tord Andreasson <tord DOT andreasson AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi,

I just updated my cygwin 64 bit installation in order to resume a
programming project that I left aside quite some time ago.
Everything seems to work as it used to as I am able to pick up the project
where I left it, I can build and run the application however gdb I/O seems
broken.

Here are the symptoms:
After starting gdb, nothing happens apart from a process gdb.exe is
started, however, no output is displayed in the bash window. This is
regardless if I supply arguments to gdb or not.

gdb is however alive and responsive to input commands, although nothing is
echoed or output in the window. For instance, debugging a very simple
program that just creates a file and writes some text on it


torda AT Tord-desktop ~/HelloWorld
$ which gdb
/usr/bin/gdb
<The gdb.exe file size is 7214099 and date is 2020-06-13. I have checked
that there are no other instances of gdb.exe on my Cygwin installion>

torda AT Tord-desktop ~ /HelloWorld
$ gdb ./helloworld.exe
<from now on I am using gdb blindfolded as nothing is output>
run <not echoed>
<typing ls and less in another bash window will list a file
"helloworld.log" containing "Hello world", which demonstrates that gdb
actually did run the program to its completion>
quit <returns me to the bash prompt>
torda AT Tord-desktop ~/HelloWorld
$

Hopefully this description is comprehensible, if not please let me know if
anything is missing.

Any idea what I should look at to troubleshoot the issue?

Best wishes,
Tord
--
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