Re: [PATCH] PR libstdc++/80276 fix pretty printers for array smart pointers

2018-01-12 Thread Jonathan Wakely
On 13/01/18 00:29 +, Jonathan Wakely wrote: Secondly, std::experimental::optional no longer omits the fundamentals_v1 inline namespace ... but then it didn't work properly anyway because it displayed as "std::experimental::optional<\1>". So arguably it's better to have no type printer than

Re: [PATCH] PR libstdc++/80276 fix pretty printers for array smart pointers

2018-01-12 Thread Jonathan Wakely
On 09/01/18 21:51 +, Jonathan Wakely wrote: This fixes unique_ptr so it doesn't print as unique_ptr, and fixes a problem in the type-printers that can result in a gdb.error exception (see https://sourceware.org/PR22686). PR libstdc++/80276 *

[PATCH] PR libstdc++/80276 fix pretty printers for array smart pointers

2018-01-09 Thread Jonathan Wakely
This fixes unique_ptr so it doesn't print as unique_ptr, and fixes a problem in the type-printers that can result in a gdb.error exception (see https://sourceware.org/PR22686). PR libstdc++/80276 * python/libstdcxx/v6/printers.py (SharedPointerPrinter)