public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31118] New: Error printing vectors when using nonstandard stdlib
@ 2023-12-06 22:09 msharov at users dot sourceforge.net
  2023-12-07  2:24 ` [Bug c++/31118] " simon.marchi at polymtl dot ca
  2023-12-07 13:43 ` msharov at users dot sourceforge.net
  0 siblings, 2 replies; 3+ messages in thread
From: msharov at users dot sourceforge.net @ 2023-12-06 22:09 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31118
           Summary: Error printing vectors when using nonstandard stdlib
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: msharov at users dot sourceforge.net
  Target Milestone: ---

I am using a non-standard standard library, where std::vector has a different
implementation from the stdlib std::vector and has no _M_impl member. When
trying to print such a vector, gdb gives error message:

$1 = Python Exception <class 'gdb.error'>: There is no member or method named
_M_impl.

... and prints nothing else. In this situation gdb should treat the class
normally, like any other, and print its contents.

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

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

end of thread, other threads:[~2023-12-07 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06 22:09 [Bug c++/31118] New: Error printing vectors when using nonstandard stdlib msharov at users dot sourceforge.net
2023-12-07  2:24 ` [Bug c++/31118] " simon.marchi at polymtl dot ca
2023-12-07 13:43 ` msharov at users dot sourceforge.net

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).