From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A78443858C54; Wed, 6 Dec 2023 22:09:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A78443858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701900541; bh=B4nclKt3tmq6Nq6jaPs4z6wJ1GFRDIK1OAj31lBMh90=; h=From:To:Subject:Date:From; b=apxlKYlniJ5VZFxvIY0HWtQlW4WHeEzganm1UYlnvgLyj4hGzLPjXQlHeNuJgkW5p GNtImLKg98jckCQtLwFJGu67KCYWXBNGJDGT4Y8VlN2gyX0USPI/rVmrHrP23rfHfI VPjJq92RNVbI1iK59xMnp0yPyAHSHdF1myjzzPKI= From: "msharov at users dot sourceforge.net" To: gdb-prs@sourceware.org Subject: [Bug c++/31118] New: Error printing vectors when using nonstandard stdlib Date: Wed, 06 Dec 2023 22:09:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msharov at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31118 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 differe= nt implementation from the stdlib std::vector and has no _M_impl member. When trying to print such a vector, gdb gives error message: $1 =3D Python Exception : There is no member or method n= amed _M_impl. ... and prints nothing else. In this situation gdb should treat the class normally, like any other, and print its contents. --=20 You are receiving this mail because: You are on the CC list for the bug.=