[Bug python/24925] New: internal-error: void add_separate_debug_objfile(objfile*, objfile*): Assertion `parent->separate_debug_objfile_backlink == NULL' failed

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Wed Aug 21 13:35:00 GMT 2019


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

            Bug ID: 24925
           Summary: internal-error: void
                    add_separate_debug_objfile(objfile*, objfile*):
                    Assertion `parent->separate_debug_objfile_backlink ==
                    NULL' failed
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Created attachment 11958
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11958&action=edit
Add target board gdb/testsuite/boards/cc-with-gnu-debuglink.exp

Using the attachment (that adds a target board
gdb/testsuite/boards/cc-with-gnu-debuglink.exp) we get for:
...
$ ( cd build/gdb/testsuite/; make check RUNTESTFLAGS="gdb.python/py-objfile.exp
--target_board=cc-with-gnu-debuglink" )
...
this internal error:
...
(gdb) PASS: gdb.python/py-objfile.exp: print main without debug info
python
objfile.add_separate_debug_file("/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.python/py-objfile/py-objfile")^M
/data/gdb_versions/devel/src/gdb/objfiles.c:543: internal-error: void
add_separate_debug_objfile(objfile*, objfile*): Assertion
`parent->separate_debug_objfile_backlink == NULL' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
Quit this debugging session? (y or n) FAIL: gdb.python/py-objfile.exp: Add
separate debug file file (GDB internal error)
...

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


More information about the Gdb-prs mailing list