[Bug symtab/24635] New: Error when setting breakpoint. DW_FORM_strp pointing outside of .debug_str section

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

[Bug symtab/24635] New: Error when setting breakpoint. DW_FORM_strp pointing outside of .debug_str section

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24635

            Bug ID: 24635
           Summary: Error when setting breakpoint. DW_FORM_strp pointing
                    outside of .debug_str section
           Product: gdb
           Version: 8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: rajpal.gusain at gmail dot com
  Target Milestone: ---

Unfortunately, I cannot reproduce this issue on a small example. So, I'll
provide as much information as possible to determine problem.

% g++ --version
g++ (GCC) 8.3.0

Flags which might have link to problem
-gsplit-dwarf -fuse-ld=gold -Wl,--gdb-index -std=c++17

% gdb --version
GNU gdb (GDB) 8.3

When I load binary in gdb and try to set breakpoint, I can set few breakpoints
without any problem but I get error which looks like this (file name, function
name changed)

(gdb) b A::A
DW_FORM_strp pointing outside of .debug_str section [in module /<path>/A.dwo]

Looks like for some of the files, proper debug information is not available but
it's not clear as to what went wrong and how it can be fixed. What should I
look for to find out reason for this error ?

I have marked component as symbol tables and debug info as my best guess but
feel free to change it if it doesn't belong here.

And in case more information is required to make any progress on this one, do
let me know.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug symtab/24635] Error when setting breakpoint. DW_FORM_strp pointing outside of .debug_str section

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24635

gusain <rajpal.gusain at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

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