From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 420BE3858D39; Thu, 21 Oct 2021 08:16:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 420BE3858D39 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/28482] New: [tui] nexting through hello world results in duplicate lines in source window Date: Thu, 21 Oct 2021 08:16:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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 attachments.created 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: Thu, 21 Oct 2021 08:16:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28482 Bug ID: 28482 Summary: [tui] nexting through hello world results in duplicate lines in source window Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Created attachment 13730 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13730&action=3Ded= it Screen shot Test-case setup: ... $ cat -n hello.c 1 #include 2 #include 3 4 int 5 main (void) 6 { 7 void *p =3D malloc (10); 8 printf ("hello: %p\n", p); 9 return 0; 10 } $ gcc hello.c -g ... gdb session: ... $ gdb a.out (gdb) tui enable (gdb) start (gdb) n (gdb) n ... Resulting source window: ... 6 { 7 void *p =3D malloc (10); > 8 printf ("hello: %p\n", p); 9 printf ("hello: %p\n", p); > 10 return 0; ... --=20 You are receiving this mail because: You are on the CC list for the bug.=