From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 254673858C83; Sun, 27 Mar 2022 05:33:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 254673858C83 From: "eliz at gnu dot org" To: gdb-prs@sourceware.org Subject: [Bug mi/29002] New: Console input broken in MI mode Date: Sun, 27 Mar 2022 05:33:05 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eliz at gnu dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 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 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2022 05:33:06 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29002 Bug ID: 29002 Summary: Console input broken in MI mode Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: mi Assignee: unassigned at sourceware dot org Reporter: eliz at gnu dot org Target Milestone: --- In the GDB-12.0.90 pretest built with mingw.org's MinGW as 32-bit MS-Windows program, console input in MI mode is badly broken: (gdb) r -Q &"g\n" &"Ambiguous command \"g\": gcore, generate-core-file, goto-bookmark, gr, = gu, guile, guile-repl.\n" ^error,msg=3D"Ambiguous command \"g\": gcore, generate-core-file, goto-bookmark, gr, gu, guile, guile-repl." As can be seen, no matter what I type, GDB thinks I typed "g\n", and reacts accordingly. This means I cannot even quit GDB normally, only kill it. There's no such problems using the CLI interpreter, only when invoking GDB = with the -i=3Dmi switch. --=20 You are receiving this mail because: You are on the CC list for the bug.=