public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/26095] New: gdb bug worked around in gcc/bb-reorder.c:pass_partition_blocks::gate
@ 2020-06-09  9:14 vries at gcc dot gnu.org
  2020-06-09  9:17 ` [Bug symtab/26095] " vries at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2020-06-09  9:14 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26095
           Summary: gdb bug worked around in
                    gcc/bb-reorder.c:pass_partition_blocks::gate
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Current GCC contains this workaround in bb-reorder.c:
...
          /* Workaround a bug in GDB where read_partial_die doesn't cope        
             with DIEs with DW_AT_ranges, see PR81115.  */
          && !(in_lto_p && MAIN_NAME_P (DECL_NAME (fun->decl))));
...

The PR81115 is a typo, it actually refers to gcc PR 81155, as we can see from
the log message:
...
commit 8f72ce2cec8b8961f381995eb6e2c5de1cd0f3d3
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Jan 12 19:20:49 2018 +0100

    re PR debug/81155 (Debug make check regressions in GCC 8.0)

            PR debug/81155
            * bb-reorder.c (pass_partition_blocks::gate): In lto don't
partition
            main to workaround a bug in GDB.

    From-SVN: r256592
...

The gcc PR (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155 ) discusses a
GDB bug, but unfortunately it seems no GDB counterpart was filed to track it to
completion. 

So, I'm filing this PR for the specific purpose of acting as GDB counterpart
for the GCC PR.

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

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

end of thread, other threads:[~2023-04-24 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09  9:14 [Bug symtab/26095] New: gdb bug worked around in gcc/bb-reorder.c:pass_partition_blocks::gate vries at gcc dot gnu.org
2020-06-09  9:17 ` [Bug symtab/26095] " vries at gcc dot gnu.org
2020-06-09  9:32 ` vries at gcc dot gnu.org
2021-08-02 21:56 ` pinskia at gcc dot gnu.org
2023-04-24 21:21 ` pinskia 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).