From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zJdlGVs68mrAxDsAWB0awg (envelope-from ) for ; Mon, 09 Nov 2026 16:25:47 -0500 Received: by simark.ca (Postfix, from userid 112) id 520D41E06A; Mon, 09 Nov 2026 16:25:47 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, 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 CF49F1E043 for ; Mon, 09 Nov 2026 16:25:46 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5D0D14BBC0F6 for ; Mon, 9 Nov 2026 21:25:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D0D14BBC0F6 Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by sourceware.org (Postfix) with ESMTPS id 5A7AF4BA2E1C for ; Mon, 9 Nov 2026 21:25:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A7AF4BA2E1C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=symas.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dubner.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5A7AF4BA2E1C Authentication-Results: sourceware.org; arc=none smtp.remote-ip=166.84.1.89 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794259523; cv=none; b=o6Si9sqcyvkHawP5SDWIbSrKVnIEwBumySFzC82z2bj19ehaYtEWTKzYKKRLveHvBe5NAJ4t62OprYYLPtpoBmLTlpAAhYLo2WSfipugJ6H4g0HR5vhgjh6PZExMtjDj1kGCXMl09meOH8bjQRmvVlJ/biJlX5ZqkPionoRBInk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794259523; c=relaxed/simple; bh=cf/vUvOCa/eZQzkozU6AV7PrXH3K2H9G6KzGpKAeEOQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=VnB5ebWKoB3XwoxDGUCmzC3IpAoOiTSC3t79G0lvYDwRabDI9+eVpc+sNAHrZkjHdmWG5IveZOiH6BMlljNMwIOegGDgRFToziDvJ7k43KSBkBxlDH/tiGzZGvwTuywJTP0OFPVE3ZRmCwj84jceuKKUpogrpJU0iVbQeI4xE1o= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A7AF4BA2E1C Received: from doobie (unknown [67.245.74.220]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4jNjVp636Jz4KtR; Mon, 09 Nov 2026 16:25:22 -0500 (EST) Received: by doobie (Postfix, from userid 1000) id 3C6AA28E93A0; Mon, 9 Nov 2026 16:25:22 -0500 (EST) From: Robert Dubner To: gdb-patches@sourceware.org Cc: stephan.rohr@intel.com Subject: [PATCH v2 0/2] gdb: Fix floating-point field writes and subnormal results Date: Mon, 9 Nov 2026 16:24:48 -0500 Message-Id: <20261109212450.3137464-1-rdubner@symas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This series addresses two target floating-point encoding problems reported in PR gdb/34927. Changes since v1: - Add unit tests directly in target-float.c for both fixes. - Explain the subnormal boundary, minimum-exponent calculation, and significand scaling. Tested on x86_64 GNU/Linux with MPFR enabled: all 202 selftests pass, and targeted DejaGNU testing reports 76 expected passes with no failures. Robert Dubner (2): gdb: Preserve neighboring bits when writing floating-point fields gdb: Preserve subnormal values in target floating-point operations gdb/target-float.c | 396 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 353 insertions(+), 43 deletions(-) base-commit: 9db3b515b964c1bbdc4d20c1202fbf27719be269 -- 2.34.1