From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 36EFA3858C20; Mon, 28 Feb 2022 18:51:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36EFA3858C20 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug ada/28930] New: reuse character-printing code for ada enum char literals Date: Mon, 28 Feb 2022 18:51:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org 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: 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 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, 28 Feb 2022 18:51:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28930 Bug ID: 28930 Summary: reuse character-printing code for ada enum char literals Product: gdb Version: 11.1 Status: NEW Severity: normal Priority: P2 Component: ada Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- gdb.ada/char_enum_unicode.exp has: set thorn "'\\\[\"de\"\\\]'" ... gdb_test "print Char_Enum_Type'('\[\"de\"\]')" " =3D 4 $thorn" ... but this character is printable, so it could be displayed here, rather than resorting to an escape. --=20 You are receiving this mail because: You are on the CC list for the bug.=