https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68735
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed|2017-12-17 00:00:00 |2020-12-02 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The exceptions come from this line: func = gdb.block_for_pc(int(mgr.cast(gdb.lookup_type('intptr_t')))) This casts a function pointer to intptr_t and then tries to find the gdb.Block corresponding to that address. The GDB docs say that gdb.block_for_pc will return None, but it seems to throw instead. The same thing happens on powerpc64 linux (but not powerpc64le).