From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE0853857699; Mon, 31 Oct 2022 16:49:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE0853857699 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667234940; bh=ZkSg2P+NtlPRUZdUmuA6/cjPBLAIkRfroanEbnux+No=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RLtCkaSaD1MJgJnmPtqv7bZm85FpIFR/kNodOVaZJPv09IPo3RlCQ2hRtUvd+Mz0R Cr2iY70eS3wnEpRYhlUepLkXRY4usVYGIR8Vcj9/ILp8K8/mcIFiGZy88vd2CAF4kP X7IIfgf/0hMAJpoQv+dgxNxeEmW53UrQbPjr/8A0= From: "jonah at kichwacoders dot com" To: gdb-prs@sourceware.org Subject: [Bug mi/28711] gdb closes when displaying structs with long field names in eclipse Date: Mon, 31 Oct 2022 16:48:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: jonah at kichwacoders dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 12.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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=3D28711 Jonah Graham changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonah at kichwacoders dot = com --- Comment #12 from Jonah Graham --- @Andrew, I am concerned that the fix for this issue has caused a regression on Windo= ws that breaks Eclipse CDT in a new way. I don't have a setup to build GDB for Windows, but the user reported trying the ARM pre-built one and I can repro= duce the problem with it. https://github.com/eclipse-embed-cdt/eclipse-plugins/issues/546 Here is a little snippet that demonstrates the problem: $ cat input 1234-list-thread-gro 5678-list-thread-gro 9012-list-thread-gro $ cat input | ./arm-none-eabi-gdb --silent --interpreter=3Dmi2 =3Dthread-group-added,id=3D"i1" (gdb) 1234^error,msg=3D"Undefined MI command: list-thread-gro",code=3D"undefined-= command" (gdb) 678^error,msg=3D"Undefined MI command: list-thread-gro",code=3D"undefined-c= ommand" (gdb) 9012^error,msg=3D"Undefined MI command: list-thread-gro",code=3D"undefined-= command" (gdb) As you can see above the 5 (in 5678) is missing. The commands (-list-thread-gro) is incorrect on purpose as the length of the command and the newline of the input file all seem to affect whether or not this proble= m is seen. This is also printed at the end of the run, but I think that is because of = EOF on input: &"warning: Exception condition detected on fd 0\n" &"error detected on stdin\n" --=20 You are receiving this mail because: You are on the CC list for the bug.=