From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80BAF3858401; Thu, 21 Oct 2021 11:20:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80BAF3858401 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/28483] New: [gdb/tui] breakpoint creation not displayed Date: Thu, 21 Oct 2021 11:20:02 +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: 11.1 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 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 11:20:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28483 Bug ID: 28483 Summary: [gdb/tui] breakpoint creation not displayed Product: gdb Version: 11.1 Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- 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 -g hello.c ... This command: ... $ gdb -q a.out -ex start -ex "tui enable" -ex "b 8" ... gets us in the tui window: ... 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 } ... Using system gdb based on 10.1, we have instead: ... 2 #include 3 4 int 5 main (void) 6 { > 7 void *p =3D malloc (10); b+ 8 printf ("hello: %p\n", p); 9 return 0; 10 } ... --=20 You are receiving this mail because: You are on the CC list for the bug.=