public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin GDB won't start or hangs at startup
@ 2021-02-04 12:13 Daniel Röhrborn
  2021-02-04 13:45 ` Lemke, Michael  SF/HZA-ZIC2
  2021-02-04 14:54 ` Marco Atzeri
  0 siblings, 2 replies; 14+ messages in thread
From: Daniel Röhrborn @ 2021-02-04 12:13 UTC (permalink / raw)
  To: cygwin

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Re: Cygwin GDB won't start or hangs at startup
@ 2021-02-05  7:55 Daniel Röhrborn
  2021-02-05  9:07 ` Marco Atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Röhrborn @ 2021-02-05  7:55 UTC (permalink / raw)
  To: cygwin

>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

Hi Marco,
it seems stacked and when blindly typing "quit" it responds with exiting. So it seems like the output is invisible.
Tested it with Win7_32bit, GDB version 9.2-1 with Cygwin/bin in PATH (since the beginning).

Regards
Daniel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-02-08 17:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 12:13 Cygwin GDB won't start or hangs at startup Daniel Röhrborn
2021-02-04 13:45 ` Lemke, Michael  SF/HZA-ZIC2
2021-02-04 14:54 ` Marco Atzeri
2021-02-05  7:55 Daniel Röhrborn
2021-02-05  9:07 ` Marco Atzeri
2021-02-05 14:07   ` Lemke, Michael  SF/HZA-ZIC2
2021-02-05 14:17     ` Lemke, Michael  SF/HZA-ZIC2
2021-02-05 15:18   ` Takashi Yano
2021-02-05 16:39     ` Lemke, Michael  SF/HZA-ZIC2
2021-02-05 19:06       ` Marco Atzeri
2021-02-07 14:25         ` Jon Turney
2021-02-08 13:46           ` marco atzeri
2021-02-08 15:33             ` matthew patton
2021-02-08 17:31               ` Marco Atzeri
2021-02-05 17:00     ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).