[Bug gdb/23021] New: Setting breakpoints with -freorder-blocks-and-partition

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] New: Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23021] Setting breakpoints with -freorder-blocks-and-partition

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
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.