public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lemke, Michael  SF/HZA-ZIC2" <lemkemch@schaeffler.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Cygwin GDB won't start or hangs at startup
Date: Fri, 5 Feb 2021 16:39:54 +0000	[thread overview]
Message-ID: <VI1PR03MB6446DCD9433CEC03BD8E566ABEB29@VI1PR03MB6446.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <20210206001809.f2d27fddcf3cfec75e348d71@nifty.ne.jp>

On Friday, February 5, 2021 4:18 PM Takashi Yano wrote:
>On Fri, 5 Feb 2021 10:07:46 +0100
>Marco Atzeri wrote:
>> On 05.02.2021 08:55, Daniel Röhrborn via Cygwin wrote:
>> >> On 04.02.2021 13:13, Daniel Röhrborn via Cygwin wrote:
>> 
>> > 
>> > 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
>> 
>> I can not fully replicate on my W10,
>> 
>> but I notice that running from CMD there is a small difference
>> between the working instance
>> 
>> 
>> Marco@LAPTOP-82F08ILC /proc/3072/fd
>> i686 $ ls -l
>> total 0
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 0 -> /dev/cons1
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 1 -> /dev/cons1
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 10 -> pipe:[21474850180]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 2 -> /dev/cons1
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 3 -> pipe:[8589948292]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 4 -> pipe:[8589948292]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 5 -> pipe:[12884915588]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 6 -> pipe:[12884915588]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 7 -> pipe:[17179882884]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 8 -> pipe:[17179882884]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 9 -> pipe:[21474850180]
>> 
>> and a not working one
>> 
>> Marco@LAPTOP-82F08ILC /proc/3055/fd
>> i686 $ ls -l
>> total 0
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 0 -> /dev/cons0
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 1 -> pipe:[4294988268]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 10 -> pipe:[17179890156]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 11 -> pipe:[21474857452]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 12 -> pipe:[21474857452]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 2 -> pipe:[4294988268]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 3 -> pipe:[8589955564]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 4 -> pipe:[8589955564]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 5 -> /dev/cons0
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 6 -> /dev/cons0
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 7 -> pipe:[12884922860]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 8 -> pipe:[12884922860]
>> lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 9 -> pipe:[17179890156]
>> 
>> it is like the file descriptor of outputs are misaligned,
>> and I see two more of them
>> 
>> Maybe Takashi or Jon can provide hints on the matter.
>
>I looked into this problem and found this issue causes if iconv
>cannot be found in the search path.
>
>Installing libiconv package should solve the issue, I guess.

I can confirm that installing libiconv solves the problem. So it
was not a case of BLODA here.

>
>It seems that the GDB package should set a dependency on libiconv.
>

I had libiconv2 installed. Is that somehow related?



  reply	other threads:[~2021-02-05 16:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VI1PR03MB6446DCD9433CEC03BD8E566ABEB29@VI1PR03MB6446.eurprd03.prod.outlook.com \
    --to=lemkemch@schaeffler.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).