This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/22511] New: Regression in "commands"
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 28 Nov 2017 14:56:34 +0000
- Subject: [Bug breakpoints/22511] New: Regression in "commands"
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22511
Bug ID: 22511
Summary: Regression in "commands"
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
Filing this so we don't forget before the 8.1 release.
>From https://sourceware.org/ml/gdb-patches/2017-11/msg00088.html :
~~~
Pedro pointed out a regression in "commands", where trying to clear a
breakpoint's command list would fail:
(top-gdb) commands
Type commands for breakpoint(s) 3, one per line.
End with a line saying just "end".
>end
No breakpoints specified.
(top-gdb)
I believe the bug was introduced by my patch that changes
counted_command_line to be a shared_ptr. This causes the problem
because now the counted_command_line in commands_command_1 can be NULL,
whereas previously it never could be.
~~~
--
You are receiving this mail because:
You are on the CC list for the bug.