public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30556] New: printing the std::string array fails: {Python Exception <class 'gdb.error'>: There is no member or method named __short_mask.
@ 2023-06-15 17:45 yuri at tsoft dot com
  2023-06-16 14:25 ` [Bug c++/30556] " tromey at sourceware dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: yuri at tsoft dot com @ 2023-06-15 17:45 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30556

            Bug ID: 30556
           Summary: printing the std::string array fails: {Python
                    Exception <class 'gdb.error'>: There is no member or
                    method named __short_mask.
           Product: gdb
           Version: 13.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: yuri at tsoft dot com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-08-03 22:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 17:45 [Bug c++/30556] New: printing the std::string array fails: {Python Exception <class 'gdb.error'>: There is no member or method named __short_mask yuri at tsoft dot com
2023-06-16 14:25 ` [Bug c++/30556] " tromey at sourceware dot org
2023-08-03 16:44 ` tromey at sourceware dot org
2023-08-03 16:50 ` yuri at tsoft dot com
2023-08-03 18:34 ` tromey at sourceware dot org
2023-08-03 18:42 ` yuri at tsoft dot com
2023-08-03 18:43 ` yuri at tsoft dot com
2023-08-03 18:44 ` yuri at tsoft dot com
2023-08-03 18:46 ` yuri at tsoft dot com
2023-08-03 19:20 ` simon.marchi at polymtl dot ca
2023-08-03 20:37 ` yuri at tsoft dot com
2023-08-03 20:39 ` yuri at tsoft dot com
2023-08-03 22:01 ` yuri at tsoft dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).