[Bug libstdc++/68735] FAIL: libstdc++-prettyprinters/libfundts.cc print ab
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 2 16:46:38 GMT 2020
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).
More information about the Gcc-bugs
mailing list