koutheir / libcxx-pretty-printers

Moved: https://codeberg.org/koutheir/libcxx-pretty-printers
https://codeberg.org/koutheir/libcxx-pretty-printers
GNU General Public License v3.0
148 stars 50 forks source link

std::queue pretty printing does not work anymore #4

Open koutheir opened 5 years ago

koutheir commented 5 years ago

The pretty printing for std::queue does not work anymore.

koutheir commented 5 years ago

The commit 4518026 solves some of the issues, but GDB still complains because the static const value __deque_iterator::__block_size is optimized out by the C++ compiler. __deque_iterator::__block_size is needed in order to print std::deque instances and other containers that use std::deque under the hood, such as std::queue.

The __deque_iterator::__block_size constant is defined as equal to __deque_block_size::value which is defined (depending on some template types) as:

static const _DiffType value = sizeof(_ValueType) < 256 ? 4096 / sizeof(_ValueType) : 16;

For the moment, I don't see how to solve this issue.

koutheir commented 3 months ago

This repository has been moved to codeberg.org.