Message ID | 20241006-more-use-of-ui-table-v1-0-baf53ee69161@tromey.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4A784386075C for <patchwork@sourceware.org>; Sun, 6 Oct 2024 19:02:54 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 83CB53858D20 for <gdb-patches@sourceware.org>; Sun, 6 Oct 2024 19:02:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 83CB53858D20 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 83CB53858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728241346; cv=none; b=JK41JbPAG82DRhoMd7A4l0JKrFKzz3jVnX6YXnFVjjmgbMgfPTJVkM8LkQRKA82QUJytmW16NSPDEZjG7OJdEFMOqPa5ExSSinW0BUa+WKTlL0o2P0aPjgNGfHpzp72WiwMpyjlSWMIfHanM77vkUc2WYean0T7HQcFruxaMUSo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728241346; c=relaxed/simple; bh=tzHd4tmdsrzUHEHcDR2wizEnJBGvElh2KqMwZ+n+kMY=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=QfSGh6ZsqeFh5g6p66+PvTJaNeqZsIMEyvUg3z9seuSegEOJSXr5CT8BEcUrjQ0SMWOgmoSwcmSj3d0yY+m6ed/YMAzi5AWH8tIVGv3clz89lLLV+0o9Tk7cjHJQJ24neL2xCynixf6Q/+dsyMSwDPOsAWLst72zmeh04NnLtVo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5006a.ext.cloudfilter.net ([10.0.29.179]) by cmsmtp with ESMTPS id xMBQsONWFVpzpxWWNsrpkr; Sun, 06 Oct 2024 19:02:23 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id xWWMsVPCB3nDKxWWMs6E6S; Sun, 06 Oct 2024 19:02:23 +0000 X-Authority-Analysis: v=2.4 cv=T6iKTeKQ c=1 sm=1 tr=0 ts=6702debf a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=DAUX931o1VcA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=INS0GskkRP_b0tYE90cA:9 a=QEXdDO2ut3YA:10 a=4G6NA9xxw8l3yy4pmD5M:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=To:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Yg5dVlRpWHX1TCSEMfYcrcpYxTcaudwA9ltnNBMO+/s=; b=k57opLtKAbUd8milf80lIe9Tp6 +f+n/MRkMIOrhSSEqtRMajuDuZ+XRhnK2M4mn+dDNOjC6Lgnw0zbXccqXF5BtHyydBlA58I9NRMoQ lxQi9bd9ZuOS+V+iAev84aCMT; Received: from 97-122-122-36.hlrn.qwest.net ([97.122.122.36]:56376 helo=prentzel.local) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <tom@tromey.com>) id 1sxWWM-004OG1-0e for gdb-patches@sourceware.org; Sun, 06 Oct 2024 13:02:22 -0600 From: Tom Tromey <tom@tromey.com> Subject: [PATCH 0/2] More use of ui-out tables Date: Sun, 06 Oct 2024 13:02:18 -0600 Message-Id: <20241006-more-use-of-ui-table-v1-0-baf53ee69161@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALreAmcC/x3MwQ6CMAyA4VchPdu4oUHiqxgP3eygiWymBUNCe Hemx+/w/xsYq7DBvdlA+SsmJVf4UwNxpDwwyqsaWtdevXMdTkUZF2MsCRfBmcKbMd76C3XOp9B HqOlHOcn63z6e1YFqEJRyHH+zojJIPk9kMyvs+wHQZQDEhgAAAA== X-Change-ID: 20241006-more-use-of-ui-table-c783a601fb8c To: gdb-patches@sourceware.org X-Mailer: b4 0.14.2 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: 97.122.122.36 X-Source-L: No X-Exim-ID: 1sxWWM-004OG1-0e X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-122-36.hlrn.qwest.net (prentzel.local) [97.122.122.36]:56376 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNs+VZeM5spwADQHY9Or6HKPdE6HsWL1KL3bGx+7km4Y5IYOoGaMVlQNL2unElN4PjJYd5DaMAT8Cp0lgTfu2gMRK6W2ZmgtXMzF5oN8TGp4QoErum/4 tZfcRoy4HAiz8O/DZWONt+gj/O7ddAixLRDrIQYy1FQ7jEVJ5yRRiuCoCXpIn0R9oL+QMZyVP+Q6026QIC9twbZTXtmvtSxiieM= X-Spam-Status: No, score=-3013.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
Series |
More use of ui-out tables
|
|
Message
Tom Tromey
Oct. 6, 2024, 7:02 p.m. UTC
This series changes a couple of spots to use ui-out tables rather than printf. ui-out tables are better because they make styling simpler, and they are more easily converted to MI (or Python) commands if desired. --- Tom Tromey (2): Use ui-out tables for info proc mappings Use ui-out tables in "maint print user-regs" gdb/corelow.c | 55 ++++------ gdb/linux-tdep.c | 122 +++++++++------------ gdb/testsuite/gdb.base/completion.exp | 2 +- .../gdb.debuginfod/corefile-mapped-file.exp | 2 +- gdb/user-regs.c | 14 ++- 5 files changed, 89 insertions(+), 106 deletions(-) --- base-commit: 23ca0175c66b1add6fe51efc160628c824f6d32f change-id: 20241006-more-use-of-ui-table-c783a601fb8c Best regards,