From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zArjFZsP8WjH2zgAWB0awg (envelope-from ) for ; Thu, 16 Oct 2025 11:30:35 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=ZsIuh5zm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 446711E047; Thu, 16 Oct 2025 11:30:35 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9A89D1E047 for ; Thu, 16 Oct 2025 11:30:34 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B047A385828B for ; Thu, 16 Oct 2025 15:30:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B047A385828B Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=ZsIuh5zm Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id 018893858D1E for ; Thu, 16 Oct 2025 15:30:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 018893858D1E Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 018893858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760628604; cv=none; b=Trk6PBXSqifUSeurJXf9Way7vTXiw8oT0JGysl6G3F+BfKNFzOvV4mGYDfM35QK7O2q/VmwmHQASGlHgyJmzqyi3c2FpourGshR9tlr8Tt4L0XXjURR+3Je/471ZO/LmDvoj99mZ4o3xKit0DkvtGJ7xZxmmckdGvSlDR/uUijM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760628604; c=relaxed/simple; bh=rFITu1Fhw8gA3r7Qja2wZDUZbYzSrSbocaGdbevkCyI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=BEvYNyFjyMT1gi09YJGGrXbScFNVcX8Unvg/nLWkgcTHU3Ye2n9iQgGa4l9uNF1pvHC+qXPT8o6/AqKa3LplxAEyOk91QOtp4vBT/pON4ox2FrL3tXXUpX86gNBk+Hye+i2QaCiNQ5ORw5MEHuYnIpwApOFGr+a97GhVihMbpVw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 018893858D1E Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-9298eba27c2so44433639f.3 for ; Thu, 16 Oct 2025 08:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1760628603; x=1761233403; darn=sourceware.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nUI3564H/Fo7jJurxFwEAMt+l1BtrvsoYuwMSmHxsWM=; b=ZsIuh5zmtg+oYP4x+vG7j5uAkZnX756GYFd6x9nLpBqXztpvfi5DLf7VlRhyfIdTPn ZeH/OFeTzq+vC80DKGRBGQ18l4C0xFp89yb0897IYPWRKdJYVe3NDyOIVJQ5zfZJsZmc Fr4Ab1GSQx+EqQu6KCK7YET5bkOXolc0AwoKVfuUAPLc6zTGrbJaXumgMaBkUvo9IZFn DLxYWlvb9QEcUM9+dcYLuBhIADDO/+V0Uz8ODpKcmaafRKwVPe2hGn3jMDm3aI1XPnUI JI1m+wxLpLIiazv8qQQ/n2OdKh2LV8aPqZMUC0VEC3ihVr1xfQ/agqBJTtxE3CdE4aGM oswA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760628603; x=1761233403; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nUI3564H/Fo7jJurxFwEAMt+l1BtrvsoYuwMSmHxsWM=; b=R/RyJrPczHK4eVcJYeEa5OniscoQPOS5qRiQSWmrJN/1WZxR31C7uMR071suGrUhVv pESJ/OvvOD0r7MV6oYc24Xl1bJHWcJiWO42KwA7EKdUObErK3VKB+KQD+XfUWIf3X5zG KoGNZgfR6dFIt1hsGDucztuZF5xSWhDN/UxusMJzRW0zhb2N8NaPu2S+GWceFesOLgWe iPLZqRE5H9xE5/SOsQr85HaFoW+Ay+KjHn5ykTg7TQ29q5/iJeuC1K5x/ExCC/+/X0UT 6v0P5NjpqZEgCusT3r72ODnmegTOshBcn2m4mcq75eTxRChaEHptUu0q3B6PnO03v1+I FGzg== X-Forwarded-Encrypted: i=1; AJvYcCWI7ixI3waT325DL3uarGLtkZRj1q50Oq1h0qANTrarnYGBoxGshk/hg4fvMgEkLvWZ/bz1DPk3WEfQbg==@sourceware.org X-Gm-Message-State: AOJu0Yzm3Uuggc7MpckbL1vUwwijjXei3GdplFMsw9qsoz4rfDrdoEU3 7nOyK0w4lAFqqbl0+N8PfkGZiPbHxOznrpe2WczJoeVmDv1fCfF+W0SZbalW6RAU5IM0qBTYyFa rVRY= X-Gm-Gg: ASbGncs9jC8yzzRuGupLnpcXZeSw6gR6z7pCOSOBGA9ShpIK98uBGzmqaNzgUh+wq9o cfM9qFqe6POrPLwamcGS6gXGYSkXimwZ0hG0adsF2WisQrAThJgS0brdQOwIAcWfItzdcnViEbc XERgats2iwRLbzJExNWAcP5bGSNSfnMGybd4fFVOdwYVoyuCtq8VUthgK2gWwZM7VbCQxO7fEy0 H/TR2URPHUuuUtHcMETQ4PS/xpHOszhGTHjPkYa/uX6SJ57NrniLDT5FDoURjN0zH+y4JTUyg2V JEpZ1/CmctrFd8KxzVY03jjn2u2PRQc3v0zAiYdAJDrN93wVkbOvN4uXG/b4pR81/lZUFx0nonD DL6bKR27Yu8+6EwmXoXOA3MJZ5JGuJYTtzbZ8INNZIRLYHzV+FntBt0YeAIUylmLVCUXq09377p S0t8agy4orc0ZaGl82xLzktEY7UlS3Dg== X-Google-Smtp-Source: AGHT+IEb30tUUdst/jPho2GqZu8g/L67bYn7+HHIGn1Sq3zpSR52SPw9NS2K5WcLq8vKJsGviBuVUw== X-Received: by 2002:a05:6e02:1d9d:b0:42f:95a1:2e8 with SMTP id e9e14a558f8ab-430c52d5786mr7806355ab.24.1760628602623; Thu, 16 Oct 2025 08:30:02 -0700 (PDT) Received: from bapiya (97-122-110-68.hlrn.qwest.net. [97.122.110.68]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-58f6cc5efafsm6861865173.16.2025.10.16.08.30.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Oct 2025 08:30:02 -0700 (PDT) From: Tom Tromey To: Tom Tromey Cc: Guinevere Larsen , gdb-patches@sourceware.org Subject: Re: [PATCH 0/3] Use gnulib c-ctype module, not In-Reply-To: <87y0pdthov.fsf@tromey.com> (Tom Tromey's message of "Tue, 14 Oct 2025 13:19:12 -0600") References: <20250806-gnulib-c-ctype-v1-0-10f33e9f22a4@adacore.com> <87y0pdthov.fsf@tromey.com> X-Attribution: Tom Date: Thu, 16 Oct 2025 09:30:01 -0600 Message-ID: <878qhasw3q.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Tom> Another option would be to write our own thing akin to "c-ctype" but Tom> that uses the libiberty code instead. That would work since Tom> libinproctrace.so seems to link against libiberty. I tried this but forgot that libinproctrace.so does not use gdbsupport either. I strongly dislike how libinproctrace.so was implemented. A bunch of cpp conditions in random files seems a lot worse than just having separate sources, since the rules for the IPA and non-IPA cases are different. Tom