From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id W72fI7G4HWD2LAAAWB0awg (envelope-from ) for ; Fri, 05 Feb 2021 16:29:21 -0500 Received: by simark.ca (Postfix, from userid 112) id 84B181EFCB; Fri, 5 Feb 2021 16:29:21 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BCF8F1EF7A for ; Fri, 5 Feb 2021 16:29:20 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 021213851C0D; Fri, 5 Feb 2021 21:29:19 +0000 (GMT) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 091B03857C68 for ; Fri, 5 Feb 2021 21:29:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 091B03857C68 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=andrew.burgess@embecosm.com Received: by mail-wr1-x430.google.com with SMTP id u14so9289945wri.3 for ; Fri, 05 Feb 2021 13:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2owkoPGxNvKTxVychjAh0n2ctofxvjXd//myCiDY/Tg=; b=YpABYX7RQIP682CfiM0ovTiA74tKvBq+qm2Q++0wAB5WbCtS/QULYB41QIeDxy2BLY veX3kqo/qc5gbwcVE/QVLjQf6A/OAhI1aSPquXjJyvYfdi2RKPGgsB3xrEWaoVdzt/B+ LaW65yuI8oWuBsJxagQtnagkikKZgNMhjoQL7eDvNn9MGz7ZtvXE3ijqOj1wefgS3PZm HT13ssFdkxvHI5w4uvjpV8NvK7E3ByjF6WZ7eehDtyki1weyk3ASsGKkIdP+9Fokt0Sa uRtIxqQjZTqHGbYZp5HVRsprIMc85fe/SeJFjVrFvBMxD4ZfIBSwSbe4ddLjvRYzD9tC OZYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2owkoPGxNvKTxVychjAh0n2ctofxvjXd//myCiDY/Tg=; b=SeHZ/Bpp9VVmkkXHRQC6OuaF0iHcSaaDwUZpLrnuOs4FJAUu2bG/1CI1idgd0dQYP4 BY+AO6RqBhsj2gARSqU0IlVU6i/PcRiEOB8i0kpIUZW0rnqqXwHzosNVz6tqtiRbDi0H OVE2H23mhMyxQCKfJsR0nbAG/EJOHUj0T6blkjjFp89nabDRPrW6tfZ7+9RUgg7m28jC fzWWcCUwWupdBMnTxapNXSo8n/0xaqNaPRnm2f7GEleXEP1UP2O8wGN0eq2LPD1ZGTcs 2a48b9RX75FHUa8wT89s1Ielmw1Tbdv2tsoXQJ84gpKPyNy4wuXV6TFwjXd+X+GeAa2y b2FQ== X-Gm-Message-State: AOAM532bvrukOkmhDfPcvlMUZsQ/nEtDBQm1JrGjRT2JWxFczZ+ENaDR Tv11Zc0ttMRuBaUF4uyfIIdHrhXFB3HKgg== X-Google-Smtp-Source: ABdhPJyq5C+cxk/k346Jk7mQn9tWEPtSsKxuIGyD/GG4/WO2AEQ4sMcMmItPj7G5fBM4bsI/mh2iDg== X-Received: by 2002:adf:f743:: with SMTP id z3mr7136239wrp.165.1612560555307; Fri, 05 Feb 2021 13:29:15 -0800 (PST) Received: from localhost (host109-151-46-64.range109-151.btcentralplus.com. [109.151.46.64]) by smtp.gmail.com with ESMTPSA id z8sm13194301wrh.83.2021.02.05.13.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 13:29:14 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Changes to 'maint info sections' Date: Fri, 5 Feb 2021 21:29:08 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Patch #1 - some refactoring of the testsuite. Patch #2 - fixes a problem I have with 'maint info sections' not giving me the results I need. Patch #3 - add command options and command completion for 'maint info sections'. --- Andrew Burgess (3): gdb/testsuite: split 'maint info sections' tests to a new file gdb: 'maint info sections' - handle the no executable case gdb: change 'maint info section' to use command options gdb/ChangeLog | 24 ++ gdb/NEWS | 5 + gdb/doc/ChangeLog | 5 + gdb/doc/gdb.texinfo | 29 +- gdb/maint.c | 322 ++++++++++-------- gdb/testsuite/ChangeLog | 18 + .../gdb.base/maint-info-sections.exp | 184 ++++++++++ gdb/testsuite/gdb.base/maint.exp | 87 ----- 8 files changed, 435 insertions(+), 239 deletions(-) create mode 100644 gdb/testsuite/gdb.base/maint-info-sections.exp -- 2.25.4