From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UlWXNf5o8WjV0DkAWB0awg (envelope-from ) for ; Thu, 16 Oct 2025 17:51:58 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=c+HrIyTm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CC98F1E0BA; Thu, 16 Oct 2025 17:51:58 -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,FREEMAIL_FROM,HTML_MESSAGE, 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 EB1891E047 for ; Thu, 16 Oct 2025 17:51:57 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 31AE13857BA0 for ; Thu, 16 Oct 2025 21:51:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31AE13857BA0 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=c+HrIyTm Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 800623857BA5 for ; Thu, 16 Oct 2025 21:51:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 800623857BA5 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 800623857BA5 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::329 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760651470; cv=none; b=ligHCmjm1Z8BL/Ye77EwTz2nuU/OuMqUMiQn2BZoFj9kazxIX4kaC5BGc9dS9/uD6ZKeG1SYNaYd4Hb072wvTBI90KVCxKYwxFaHhRRrYqO/CaogxVAmH8OZFoVJJFxA4MOVt7I9RmqUDUi5LG8n4bvKP9piIc/3fBEeu9HPLAI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760651470; c=relaxed/simple; bh=23pFbK3hiuWrBeAumDU3KmSPWuHthF11OkC6F0TLCdI=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=aTOGp82DQtS6hkvqusv9QKO2HeJ5BG0bGrgB9mgOJb70Gw9Rc1i+s5uoDeigJa8j1r/bQtzYNxJjEddZW14MrK7oEXyhCj8OjcrMwPVDnjbltdZplOD29shaGtzgbuBBpn6gSc3WTNw4VyJ755uUWNZhu7m2G09ks6GJYew0y0I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 800623857BA5 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-7a4a993dea6so420946a34.1 for ; Thu, 16 Oct 2025 14:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760651470; x=1761256270; darn=sourceware.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NviyKJiCwppG4PuboghNSUkx6NW0N46qiATEXHIz57w=; b=c+HrIyTm9yVUr2WcIj/p1VSAlHRYAUKvl5oIlS8MB0gg9fV1JtqKt+5QtOpibYv7lx isKPmzc2+k4IVXdGjluPBoz/xUboCB8ZZ9bCM9m2ZQ1IxLhXfqSlPtgk4NWn2Sia2hwi ijgmlIJ53ejWUqeHlKGLXUzHlEKSYwaw4Sb+6R/yC1ewfd8BAHniFgwJy4diMndD+AqM l3NTrmcixqhn3sfOZKDLNN/B8b+ZrgxZFQwDPhyyLgMMEr4kpmrVn8OJZYbfITRirKjP aLa6Z4K3295eUCwGy2+abcGso9hDMopUm++9DdqqSYb2Ih6D4TKzQpA5C2T6pwUKCoL1 nc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760651470; x=1761256270; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NviyKJiCwppG4PuboghNSUkx6NW0N46qiATEXHIz57w=; b=b+jdfAXWd8f56kTCASk6Q/H4pV78UoSGyqLdSRmE6gWiAS1X+Y5Y5cc96s4JqCh1Uz x0psCO7YBBLkTTQb+mvX4M90OMmxnS0DHx41epI48Sj1TLOMErLq3bKMO0PtvwYp6Q2j H+CUrU1Y8YFOytiueTqQHjAkaqEs0wl+JCuMeQk0R0BQJy/WN6iYSjYNxwiIUYJKbZNN dTwywt7CNslyd5W/lmgJm4bbAoKI+ZK7esrKFFXmYA3h+BQNwjL2kSamOu70Wr8Ng3I2 4JYwZgwQJUOOU3EAIx3CtyqoWVrujiaqyFuRSVcdmJaCI+Q/fMhpCVS9hh0OOBLjLHRq DBkg== X-Forwarded-Encrypted: i=1; AJvYcCWz97KqNrzrWXrohD/EXIrSwNzSXWLn25X97JgItGt5o5X6j24sggXrazE0+JWz1XYa0/SH0EXRSR5Qkg==@sourceware.org X-Gm-Message-State: AOJu0YyJV5dxfNLh/q11derx6em3TcK9ckY0dDwg5zJdKwShYc96t68a nXPKpr3yPXIkOvrHJuYLE7EFJ7EccIvrDMOhr95sk40tpgvMplsVT1dBOv3IFVaUiemdVF57EXu TdR5V5JyYTwhJ0hGGABDdAKQclSBok3M= X-Gm-Gg: ASbGnctGBz7013MVpeme9o8/JEoXEYM7OpKW6M+kYfp+HV5JYSMgHWTu2a+gl4VoPho xEinAkn58f8KY2kZD3fT+TuHL4ncbxwbtLHwAl/o3lg0AJ9FhjkPIAfxm58vSe1DiATPYMeq/Tf 86IxFTpCT1yTyBIKxNNftkF+NbBIYAXUUGbkETDdoVEhNmhbnVpk5m/kyHwDQtlZbZrtJchvfHc ScPNEmhqcTVCt/kDJwar447DktiQcrkrKt6VLdQMMz7AjnIasH2LxQY6QAU X-Google-Smtp-Source: AGHT+IGJ68z+0THOg4GFEriVFeRcBxgoYEdYlEuPUZuyehG2c5UFgE3h3+mXFgjES+Bywh6mG1hbvF5oECmHq1EGisg= X-Received: by 2002:a05:6808:10d3:b0:43f:648b:dcb3 with SMTP id 5614622812f47-443a2e17bb8mr773032b6e.21.1760651469631; Thu, 16 Oct 2025 14:51:09 -0700 (PDT) MIME-Version: 1.0 References: <20250806-gnulib-c-ctype-v1-0-10f33e9f22a4@adacore.com> <87y0pdthov.fsf@tromey.com> <878qhasw3q.fsf@tromey.com> In-Reply-To: <878qhasw3q.fsf@tromey.com> From: Luis Date: Thu, 16 Oct 2025 22:50:57 +0100 X-Gm-Features: AS18NWBZ3CMgef8ulLVJMf98t8jNDkGv8fNa_EUE3EsLy2zcRLaIN1gFy4Mp-W0 Message-ID: Subject: Re: [PATCH 0/3] Use gnulib c-ctype module, not To: Tom Tromey Cc: Guinevere Larsen , gdb-patches@sourceware.org Content-Type: multipart/alternative; boundary="0000000000006bb34406414d9d63" 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 --0000000000006bb34406414d9d63 Content-Type: text/plain; charset="UTF-8" On Thu, Oct 16, 2025, 16:30 Tom Tromey wrote: > 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 > Does anybody else think it might be time for the IPA to go? It feels like it is one of those bits that almost nobody uses nowadays and maintenance hasn't kept up, and it gets in the way of newer changes. If tracepoints are seldom used in gdbserver, the IPA seems even more niche. > --0000000000006bb34406414d9d63 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 16, 2025, 16:30 Tom Tromey &= lt;tromey@adacore.com> wrote:<= br>
Tom> Another option would be to = write our own thing akin to "c-ctype" but
Tom> that uses the libiberty code instead.=C2=A0 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.=C2=A0 A bunch of<= br> 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

Does anybody else think it might be time for the IPA to go? It feels lik= e it is one of those bits that almost nobody uses nowadays and maintenance = hasn't kept up, and it gets in the way of newer changes.

If tracepoints are seldom used in gdb= server, the IPA seems even more niche.
--0000000000006bb34406414d9d63--