From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3B9AE385703C; Tue, 11 Jul 2023 13:09:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B9AE385703C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689080945; bh=gNcNnwXJbdIu3h4b2l16LYlOeUuYHlHi2gQd6bu1ErQ=; h=From:To:Subject:Date:From; b=pViGMabbFHKMxK1FaF9gJZSpC5z+U8hxFQWSrDWZjBh64FaDvr/0DYHX7r8YcYUPL 2sz7DsEESWMvrixxtiTh6RYooRqlVtw0ZFbMAvXjn7qV5HXpXLg3LL9dfZj1vIwIgf Q23Msmd+atuuNApOGpBdfF+b6c2aF0GvF9HF+3Uc= From: "equationssolver at yahoo dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: equationssolver at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30627 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=3Dmi2 =3Dthread-group-added,id=3D"i1" (gdb) 1^done,groups=3D[{id=3D"i1",type=3D"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=3Dbinutils-gdb.git;h=3De312dfbe9556= d8e4557abe7fd3f1a4681e15da06 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd08cbc5d3203= 118da5583296e49273cf82378042 --=20 You are receiving this mail because: You are on the CC list for the bug.=