From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C0093858D1E; Mon, 1 Jan 2024 23:09:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C0093858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704150584; bh=vf3Frljj6A1/tYcO8kqyMzoiFQK96L8AozbfMEiBY18=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KfgNxast9LmmS+LJGQ9aRXbIoniSW/7kYrf+EnHk8vQM6HAn5QCT2RpRAruuI3eO3 ANz6qpw9wFnBALZlsJKwkHlKBbCbLYKMISsXtGkpbdVaES77I/DGJGFaZH5/5ZEIiv r/jFPCdPNOMbgN7sJGBTZ5sBpMp1Yh0WpNnmSLcw= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/16501] std::wstring and std::vector are shown with wrong information when debugging a constructor Date: Mon, 01 Jan 2024 23:09:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: 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=3D16501 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #2 from Hannes Domani --- Seems to have been a debug info problem on gcc side, since I can reproduce = the issue with older gcc versions, but not if compiled with gcc-8 or newer: ``` Breakpoint 1, Foo::Bar::Bar (this=3D0x22fd10, senderId=3DL"{1234-5678-9012}= ", axes=3Dstd::vector of length 2, capacity 2 =3D {...}, typeId=3D4711) at gdb-16501.cpp:30 30 , _typeId(typeId) (gdb) p axes $1 =3D std::vector of length 2, capacity 2 =3D {909, 9090} ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=