From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9EB843858409; Mon, 13 Dec 2021 18:22:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EB843858409 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/28681] Wrong pretty-printed unique_ptr value when using "finish" Date: Mon, 13 Dec 2021 18:22:51 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2021 18:22:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28681 --- Comment #4 from Simon Marchi --- (In reply to Andrew Burgess from comment #3) > Created attachment 13849 [details] > Updated fix, with tests. >=20 > An updated patch, this includes some tests. Unfortunately, the tests are > hitting a different pre-existing bug in GDB. I see this assertion failur= e: >=20 > gdbtypes.h:676: internal-error: loc_bitpos: Assertion `m_loc_kind =3D=3D > FIELD_LOC_KIND_BITPOS' failed. >=20 > If I keep my new tests, but revert the fix in GDB, I still hit the same > assert, so I don't think its a result of my changes. I'll take a look at > this assertion before posting the fix to the list. Can you give some more info about that? It might be already known. --=20 You are receiving this mail because: You are on the CC list for the bug.=