From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A448396CF53; Fri, 7 Jun 2024 15:30:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A448396CF53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1717774255; bh=wzovX2czmpoiEXQlMmlZK0Eo73+BOOu1sM4OEFgv3zQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AbfsejVQrKjU2JlTelBynczdOSylq1fWj6qmExLz0X1EqP7wMtuYlHerxdaMep9cL 8Y2YTFs5Hf4KC2QyHt9GCe7JV8e8T2zW43djumo/rCrXsgtEYbzpKz6K0y0WlKRioW Ut1Ly+l+X1gGTf/lTxj2WIG18DpZXcflFbuObfCw= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31853] GDB's use of iconv does not work with macOS Sonoma Date: Fri, 07 Jun 2024 15:30:54 +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: tromey at sourceware dot org 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: cc 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=3D31853 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #3 from Tom Tromey --- IIUC, Sonoma: * Does not define __STDC_ISO_10646__ * ... but does use UTF-32 as its wchar_t encoding * ... and defines _LIBICONV_VERSION * ... but for its own libiconv, not the GNU libiconv Is that all correct? I think host hacks like this are completely fine & appropriate. However I want to make sure I am understanding correctly first. Also, will the approach taken in your patch also work on older versions of the OS? For inclusion in gdb I guess all I'd really require here is some commentary explaining the situation and conformity to gdb styling (like, gdb doesn't use "//" comments). Thanks for looking into this. --=20 You are receiving this mail because: You are on the CC list for the bug.=