public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "equationssolver at yahoo dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug mi/30627] New: Windows host GDB console input broken in MI mode
Date: Tue, 11 Jul 2023 13:09:04 +0000	[thread overview]
Message-ID: <bug-30627-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=30627

            Bug ID: 30627
           Summary: Windows host GDB console input broken in MI mode
           Product: gdb
           Version: 13.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: equationssolver at yahoo dot com
  Target Milestone: ---
              Host: i686-pc-mingw32

In latest 13.2 release of GDB on a Windows host. When using GDB, I'm not
receiving responses for the MI commands, causing my IDE (Eclipse) to freeze and
become unresponsive.

To reproduce the issue, I have the following scenario in PowerShell:

$  cat input
1-list-thread-groups
2-list-thread-groups
3-list-thread-groups

cat input | arm-none-eabi-gdb.exe --silent --interpreter=mi2
=thread-group-added,id="i1"
(gdb)
1^done,groups=[{id="i1",type="process"}]
(gdb)
&"warning: Exception condition detected on fd 0\n"
&"error detected on stdin\n"


As observed, there is no response for the MI commands numbered 2 and 3.

IIUC, this is caused by following commits:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e312dfbe9556d8e4557abe7fd3f1a4681e15da06

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d08cbc5d3203118da5583296e49273cf82378042

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2023-07-11 13:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-11 13:09 equationssolver at yahoo dot com [this message]
2023-07-13 14:02 ` [Bug mi/30627] " equationssolver at yahoo dot com
2023-07-13 14:04 ` equationssolver at yahoo dot com
2023-07-13 14:08 ` tromey at sourceware dot org

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=bug-30627-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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).