From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 48E3C384400E; Fri, 21 Aug 2020 20:24:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48E3C384400E From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/26512] 'error reading variable' for char16_t Date: Fri, 21 Aug 2020 20:24:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: WAITING 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: cf_reconfirmed_on cc bug_status everconfirmed 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: Fri, 21 Aug 2020 20:24:50 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26512 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-08-21 CC| |tromey at sourceware dot o= rg Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from Tom Tromey --- Works for me on Fedora 32 with the system g++: (gdb) p u16 $1 =3D 61440 u'=EF=80=80' (gdb) p u32 $2 =3D 4026531840 U'\xf0000000' Maybe something's wrong with the DWARF in your case. Could you attach your executable? Maybe it would help. --=20 You are receiving this mail because: You are on the CC list for the bug.=