From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id nuwhIr9KxGmlTDkAWB0awg (envelope-from ) for ; Wed, 25 Mar 2026 16:51:11 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=RsxEDMdy; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6CC8F1E08C; Wed, 25 Mar 2026 16:51:11 -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.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,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 vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 A60331E08C for ; Wed, 25 Mar 2026 16:51:10 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 14B774BB5889 for ; Wed, 25 Mar 2026 20:51:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14B774BB5889 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=RsxEDMdy Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id A56374BB58C8 for ; Wed, 25 Mar 2026 20:50:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A56374BB58C8 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A56374BB58C8 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774471836; cv=none; b=ja5Rytu5PqkUY1T9gCoDzJADckfBbgq1FXz1SqrXOG06NQe1IFsFR+wjAQHpB/m+K4CztmdG6VaI6dEDlHIeUsW/z3baLHuXueIL3vwF60sbf9EbAjfZ9OBcYSrfEpJSfvSgXaS5Vbd1ZBXmgNErNBKEplrhz3vnHZV/ptMRjhA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774471836; c=relaxed/simple; bh=UogYO0T53vIRHxNl9TOtnttUcvWoaIcm4QFaxETMZTE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ng9HYtcuJaw6jMTi0Iv9jbuYE41YVDD8AcfT2QBvpAvV1WkR625XbD8d4yi2FZZh3RqJkdMFLvgejOznQ3Krno7zYc7AVXpeIKd54f8b5R35EBFGCQK8+5NDPPkIlkywS4N8TCjelJuMWnZgnhvrZnpJAViNpaGB1GxITn9Y0Vw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A56374BB58C8 Received: from eig-obgw-6005b.ext.cloudfilter.net ([10.0.30.162]) by cmsmtp with ESMTPS id 5RbswUpSfKXDJ5VBUwZrce; Wed, 25 Mar 2026 20:50:36 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 5VBAwQN1vHSQM5VBAw6QiY; Wed, 25 Mar 2026 20:50:16 +0000 X-Authority-Analysis: v=2.4 cv=GIQIEvNK c=1 sm=1 tr=0 ts=69c44a9b a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=Yq5XynenixoA:10 a=ItBw4LHWJt0A:10 a=cjV2DAG4Wm-0EXdTdUUA:9 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cyJutrCRan72UwHYgtXS78bdbVIFYbFWbI5I19RxzHw=; b=RsxEDMdytGHKVA8eW2M+mA+2+a vgEM8juCUx3BbtTHgOCnwW5SJswRKfAQMMLTRgXJtmGDHDovNqMp8V/P5b9E7F8mi0WNKS6KN5yDo /zIniyUPrTa2W1CtUCrdQW/a6; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:54974 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5VB9-000000035sc-48ZN; Wed, 25 Mar 2026 14:50:16 -0600 From: Tom Tromey To: Tom Tromey Cc: Tom de Vries , gdb-patches@sourceware.org Subject: Re: [PATCH v2] [gdb] Add c_ctrl/c_unctrl In-Reply-To: <871ph766cu.fsf@tromey.com> (Tom Tromey's message of "Wed, 25 Mar 2026 13:45:21 -0600") References: <20260325123946.4072546-1-tdevries@suse.de> <87a4vv6c58.fsf@tromey.com> <871ph766cu.fsf@tromey.com> X-Attribution: Tom Date: Wed, 25 Mar 2026 14:50:16 -0600 Message-ID: <87h5q3prav.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.225.82 X-Source-L: No X-Exim-ID: 1w5VB9-000000035sc-48ZN X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (prentzel) [75.166.225.82]:54974 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfOp5CGGX7qpHscfkZWktZzQaH8JeqDh8m99PwWTL8X/WL5jF6tDmFJBIpYdGs/7bkpKVS/+F0XwgBvOHpyzY2gSN1lrpq9tqDNvbDU/13NM4Uqc0hXO4 2s+nI0YKHlxyLL4SLxfQ3xcblxn1cEm6JyMrIG1AZRb8Z3s/YYA3Kn7lyWVyYRZOyDwexuVcj8a0ZQFIaKkg4XEDfRKi8JGC4aM= 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> I could make this pass somehow, but I don't know how because I don't Tom> understand what we're actually trying to test here. Tom> That is, we're already testing all input values. What else is there Tom> to test? > The point is that the function should be a black box and that sign > extension of chars (on some platforms at least) is the case that > required this. > But let's just go ahead. I don't really care that much. Sorry about this. This didn't really come out right. What I mean is that the benefit of black-box testing is probably minimal. So I think there's not much point to doing what I suggested. Tom