[Bug gdb/21603] New: powerpc-linux-gnu-gdb throws internal error on remote debugging: 'gdbarch!=NULL' failed

david at engster dot org sourceware-bugzilla@sourceware.org
Fri Jun 16 12:41:00 GMT 2017


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

            Bug ID: 21603
           Summary: powerpc-linux-gnu-gdb throws internal error on remote
                    debugging: 'gdbarch!=NULL' failed
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: david at engster dot org
  Target Milestone: ---

This is with latest gdb 8.0, configured solely with
'--target=powerpc-linux-gnu' on a GNU/Linux 64bit host system. When I try to
remote debug through gdbserver on a PowerPC e500v2 system, I get the following
assertion:

(gdb) target remote 172.20.5.224:2345
Remote debugging using 172.20.5.224:2345
Reading symbols from /bsp/sysroot/lib/ld.so.1...(no debugging symbols
found)...done.
gdbarch.c:3228: internal-error: int
gdbarch_elf_make_msymbol_special_p(gdbarch*): Assertion `gdbarch != NULL'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

Version 7.12.1 has the same problem, but version 7.11 works, so this must be
due to a change between those two versions.

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


More information about the Gdb-prs mailing list