[Bug 272922] devel/gdb: printing the std::string array fails: {Python Exception <class 'gdb.error'>: There is no member or method named __short_mask.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Aug 2023 20:46:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272922 Bug ID: 272922 Summary: devel/gdb: printing the std::string array fails: {Python Exception <class 'gdb.error'>: There is no member or method named __short_mask. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: yuri@freebsd.org Assignee: pizzamig@freebsd.org Flags: maintainer-feedback?(pizzamig@freebsd.org) 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. } This is caused by files included in the gdb distribution but originating from the libc++ project. gdb-13.1 FreeBSD 13.2 Python-3.9 ==References== * GDB bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=30556 * LLVM bug report: https://github.com/llvm/llvm-project/issues/64398 -- You are receiving this mail because: You are the assignee for the bug.