From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by sourceware.org (Postfix) with ESMTPS id 837B23858C52 for ; Thu, 28 Sep 2023 17:46:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 837B23858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-351367c8fcdso27567435ab.3 for ; Thu, 28 Sep 2023 10:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1695923201; x=1696528001; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0awBSsvcsaB+f1cVPWa3wpjmOxoR9SCdKDRCE2VQJBk=; b=AViBGVoBHXTBthPUkXwHxRvPtTw+ixUwsvVkmqzfuW3YSjg2OPC5YL4t/okztTiV74 4Pf9S6uwDc0pAGCHQM9OFFC7WmyerVyGHSGCIqx5dEza8FIJIa3y2QuJ4/ZVLkMb3VFr GqN5WNoVo+2l2zDY11cdsCfHAOVUMZbGNFslo0/VOLKvGJhzujAimuFGMrkYfDtZ+1oB ILjDZl0Hy/sBT1SkJNx8DwymZByPCGKzOzkdCcBI2VXpbCgqQg+mXTqPq7YQaazADlhI 2z0IPxiIvp7jON5V2asbbuPzLCaR/Gjpp5KH1DzdMlB73ik3Ew5axUVhNp7UO7CY3dXf k2Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695923201; x=1696528001; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0awBSsvcsaB+f1cVPWa3wpjmOxoR9SCdKDRCE2VQJBk=; b=sXVpZPBa+1/d0qb/WDS7MVBlyAV/BQmhWIJLjGdzbanKTrC8ddR0XUGb9BgdAxcVxd OtcmMhh+XVL6bR1ReCDPBtQmoFfkOvLW7oR6o8xvJk+DHE96lm50tuhOBPOcGdI1mDJi vfp1knPxD0OD9h8G6tZQKfPQWof7JqIdU6+w85RNqYA8tqEIW+Xx7pH98fOuQlEIBziX XUCnfX8K199E/DAv6EfhVIBO2ofAqcR2Q5Z+I64zJXH2bJ/0M/jrExKHzdsgdVjM3/Ek t50sBjTn54ao7uyYywjJtVKtt7PomWaHSQlK5PhCPIgK2A+8wynTQQKbSMf0qiNJVP0O f/jg== X-Gm-Message-State: AOJu0Yy5yW9lr8pVSl0bF48wzVwGJwbUa9PG544TcfNZb1xig0cEBAxc A/uvAZ1JzD9LG1o6AJFn4JC/e3+nL5PbY9z7PiUovQ== X-Google-Smtp-Source: AGHT+IGXKF9K4T0vzB2N4eFsaP8HktBhKM9/Iv4oIhlTe4exSCyBgF/6KTyoY1JhNajmCbuZviRilA== X-Received: by 2002:a05:6e02:110f:b0:350:f42f:8bd3 with SMTP id u15-20020a056e02110f00b00350f42f8bd3mr1553638ilk.12.1695923200877; Thu, 28 Sep 2023 10:46:40 -0700 (PDT) Received: from localhost.localdomain (71-211-130-31.hlrn.qwest.net. [71.211.130.31]) by smtp.gmail.com with ESMTPSA id p6-20020a92d486000000b0034fc8c1c24fsm3450963ilg.54.2023.09.28.10.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 10:46:40 -0700 (PDT) From: Tom Tromey To: gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org Subject: [PATCH 0/7] libstdc++: Use gdb.ValuePrinter in pretty-printers Date: Thu, 28 Sep 2023 11:46:23 -0600 Message-Id: <20230928174630.4004388-1-tromey@adacore.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: GDB 14 will include a gdb.ValuePrinter tag class that can be used by pretty-printers to signal they will accept any extensions that GDB happens to make over time. This series started as an attempt to change the libstdc++ printers to support this. This just involves renaming a bunch of attributes. There aren't many interesting GDB API additions yet (and I didn't implement the new ones in libstdc++ yet anyway), but seeing as these are the flagship pretty-printers, it seemed worthwhile to do. I added patch 1 when debugging the changes; then proceeded to fix a bunch of small issues that were pointed out by flake8. Tested on x86-64 Fedora 36. Let me know what you think. Tom