public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/28482] New: [tui] nexting through hello world results in duplicate lines in source window
@ 2021-10-21  8:16 vries at gcc dot gnu.org
  2021-10-21  8:23 ` [Bug tui/28482] " vries at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2021-10-21  8:16 UTC (permalink / raw)
  To: gdb-prs

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

            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=13730&action=edit
Screen shot

Test-case setup:
...
$ cat -n hello.c
     1  #include <stdio.h>
     2  #include <stdlib.h>
     3
     4  int
     5  main (void)
     6  {
     7    void *p = 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 = malloc (10);
>    8    printf ("hello: %p\n", p);
     9    printf ("hello: %p\n", p);
>   10    return 0;
...

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-24 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21  8:16 [Bug tui/28482] New: [tui] nexting through hello world results in duplicate lines in source window vries at gcc dot gnu.org
2021-10-21  8:23 ` [Bug tui/28482] " vries at gcc dot gnu.org
2021-10-21  8:26 ` vries at gcc dot gnu.org
2021-10-21  9:29 ` vries at gcc dot gnu.org
2021-10-21  9:39 ` vries at gcc dot gnu.org
2021-10-21 11:35 ` vries at gcc dot gnu.org
2021-10-21 13:09 ` vries at gcc dot gnu.org
2023-05-24 14:13 ` vries at gcc dot gnu.org

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).