This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/22709] New: psymtab does not support DW_AT_ranges


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

            Bug ID: 22709
           Summary: psymtab does not support DW_AT_ranges
           Product: gdb
           Version: 8.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
  Target Milestone: ---

Created attachment 10743
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10743&action=edit
pr43051-1.exe.bad

[8 Regression] Debug make check regressions in GCC 8.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155#c6

GDB read_partial_die() does support DW_AT_low_pc+DW_AT_high_pc but not
DW_AT_ranges.  GDB sometimes does not expand a CU missing some function.

pr43051-1.exe.bad:
(gdb) l
1       <artificial>: No such file or directory.
(gdb) b 34
No line 34 in the current file.

pr43051-1.exe.good:
(gdb) l
39      pr43051-1.c: No such file or directory.
(gdb) b 34
Breakpoint 1 at 0x4005ef: file pr43051-1.c, line 34.

This is not a GDB regression, GDB had it always broken.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]