<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64398>64398</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libcxx] Pretty printers for gdb fail on std::vector
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          yurivict
      </td>
    </tr>
</table>

<pre>
    Printing colourData in this code:

include <string>
```
static std::string colourData [] {
        std::string("x"),
 std::string("y")
};

int main() {
}
```

fails:

Breakpoint 1, main () at ss.cpp:12
12 }
(gdb) p colourData
$1 = {Python Exception <class 'gdb.error'>: There is no member or method named __short_mask.
, Python Exception <class 'gdb.error'>: There is no member or method named __short_mask.
}


FreeBSD 13.2
Python-3.9

gdb bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=30556
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8U09v-ygQ_TT4MqqFIfGfgw_5U58r7d4jwBObLTYW4DbZT7_Cdjdp1fPPsgaheTPv8WCE97obEWuyP5L9ORFz6K2r77PTH1qFRNr2Xr85PQY9dqCssbM7iyBAjxB67UHZFgk_EHomdIt6VGZuEQg_-eD02BH-uuVzuv3L1gcRtAIf2tiBH1b0M8uqCkhxXCtg-36UEFYSxm6EMcIqwk4b-FfUfUOtgooz4cfv4gMMQo8LuHowR-RvZ1jjVWjjf9hwdCjeJxsbZoSdlq6wtRUBvE_VNBF-yNiKzxg8SFjZtTIipyc7vnK7DAhfXHm7h96O8HpTOAVtx-i5MsJ7IKzoWpmic9YRVsQr4Af4u0eHoD2MFgYcJDqwDgYMvW1hFAO2cLn43rpwGYR_T78YT_CHmP434Ck2DvH41xkynm5WrWJeeFo947pWgpw7cDhZF6KIPoRpuRbWENZ4OzuFn8Jhal1HWCPn7l9tjIi53n5e5NylqtOEN7ol_Mzpfp8nbc3bilciwTrLq4xWe0Zp0te79lpwkVdXXqo9lYKiKDJ-zUWWlYwynug6LrSknNEdpTTlyIrsWuU5lViUZUl2FAehTWrMxxAlJdr7Get8x6syMUKi8ctcMjbiJyzJ-Hj358TVseZFzp0nO2q0D_7RJehgloE2WqrbLQ7Qm8MQ7jDFQUbn4WodRLviuwU7PiblA1WwLpmdqb-b1-nQzzJVdiCsiVTb8jI5-w-qQFizCPSENcsB_gsAAP__XuVLNQ">