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

lassi.niemisto at wapice dot com sourceware-bugzilla@sourceware.org
Wed Aug 8 06:14:00 GMT 2018


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

--- Comment #18 from Lassi Niemistö <lassi.niemisto at wapice dot com> ---
Thanks Alan for the analysis!

We are running binutils 2.24 plus some patches on top of it. Git log for this
2.24 tag tells it has at least the main commit of VLE support:
b9c361e0ad33f2c841067fd4bf0959a72ad5a265 Add support for PowerPC VLE.

And indeed the fixup commit fbd940576f seems absent (2.24 is dated 2013-12-02).
The first version with the fix seems to be 2.25.

This should explain the results and we shall primarily mitigate the issue in
our project by updating the toolchain. To achieve a one-gdb-for-all build that
works with legacy branches, we might patch the gdb to skip parsing apuinfo for
good as we know the architecture anyway in this case.

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


More information about the Gdb-prs mailing list