[Bug libstdc++/80276] pretty printer for std::unique_ptr<T[]> shows type as std::unique_ptr<T>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 9 16:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80276
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> We can prevent this by always casting the stored pointer to void*
>
> self.pointer = self.pointer.cast(gdb.lookup_type("void").pointer())
Oops, that was a comment for a different bug.
More information about the Gcc-bugs
mailing list