Discussion:
[Bug gdb/23021] New: Setting breakpoints with -freorder-blocks-and-partition
tkoenig at gcc dot gnu.org
2018-03-31 12:21:42 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

Bug ID: 23021
Summary: Setting breakpoints with
-freorder-blocks-and-partition
Product: gdb
Version: 8.0.1
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: tkoenig at gcc dot gnu.org
Target Milestone: ---

There is a major problem in setting breakpoints in gcc functions
when -freorder-blocks-and-partition is in effect (which is
the default in recent gcc): Stepping with "s" is broken when
stepping into a function.

A test case plus some discussion can be found at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550 .
--
You are receiving this mail because:
You are on the CC list for the bug.
tkoenig at gcc dot gnu.org
2018-03-31 12:22:30 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=84550
--
You are receiving this mail because:
You are on the CC list for the bug.
palves at redhat dot com
2018-04-13 11:05:23 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

Pedro Alves <palves at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |palves at redhat dot com
Assignee|unassigned at sourceware dot org |kevinb at redhat dot com
Target Milestone|--- |8.1.1

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
I'm setting milestone so we don't forget evaluating before 8.1.1 is out.
--
You are receiving this mail because:
You are on the CC list for the bug.
brobecker at gnat dot com
2018-04-30 22:25:12 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

Joel Brobecker <brobecker at gnat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |brobecker at gnat dot com
Target Milestone|8.1.1 |8.2

--- Comment #2 from Joel Brobecker <brobecker at gnat dot com> ---
Changing the milestone as discussed on gdb-patches:
https://www.sourceware.org/ml/gdb-patches/2018-04/msg00455.html
--
You are receiving this mail because:
You are on the CC list for the bug.
kevinb at redhat dot com
2018-08-25 05:46:54 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

--- Comment #3 from Kevin Buettner <kevinb at redhat dot com> ---
Fixed in both HEAD and gdb-8.2-branch by this set of patches:

https://sourceware.org/ml/gdb-patches/2018-08/msg00541.html
--
You are receiving this mail because:
You are on the CC list for the bug.
brobecker at gnat dot com
2018-08-26 04:25:12 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23021

Joel Brobecker <brobecker at gnat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED

--- Comment #4 from Joel Brobecker <brobecker at gnat dot com> ---
AFAICT, this is now solved, so closing. Please re-open if mistaken. Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...