Message ID | cover.1721659205.git.aburgess@redhat.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 2D2493860C34 for <patchwork@sourceware.org>; Mon, 22 Jul 2024 14:42:48 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 9FA10385EC59 for <gdb-patches@sourceware.org>; Mon, 22 Jul 2024 14:42:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9FA10385EC59 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9FA10385EC59 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721659337; cv=none; b=TnGfgWVMVhi6SuiWZudTj0JTW8wssBZPM4u0AM4ZCD62/Zp1YsbcLPmbhTrNHTYddx5Z54MdtniwbEN9b5+BzfttWTZiMv8Mz1wkK8B8nqX83D2kjehl8ENVhsGCFR7nB8sXBfcoO4B7QPFIkd81fxCkxqJdQcNN9Gsl9ahcs94= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721659337; c=relaxed/simple; bh=srgBWQB29WkRgSqstnvUU3nAjNS8NbIMGx2/5P6ul6w=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=dENG3xqsrj/GgtffB68I2Xk+n/wtJhoFd0Oococ6QfAzUSxtBo6ZMJTs5921au/pyqJCXNAPldbZgloVkbMIX1E+Gg0+RoBaPVXt5jMHDE/8cTHNBTCp9UvbsfGs8xbFk8AesiE7XigA+VRKISYN1c9ZTLNS6R56Ol8CTRfDARk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721659335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zG8woB+DSiM/t4bqdHwh8A7U4VybhxqtmFxS5Oage5E=; b=ak6r5vSiIqmkGujXkOIDD3ICdZF8NzyD26TgCl7694FRhS4xF8zbvVK4DkO1eX2mCFfxqj nTzVWgPSLQ8KdugZ2tWADMTfDROWKHYQrQyOcsqbXXvq+/8C3XEVEPsNwjqJ6MqoG3jMCB z7a4CgvSevCsbikWAMfq6Zw/haAfKjY= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-175-xnYuOI8uO0iVvinXWG12yA-1; Mon, 22 Jul 2024 10:42:14 -0400 X-MC-Unique: xnYuOI8uO0iVvinXWG12yA-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-427a7a65e7dso17395635e9.1 for <gdb-patches@sourceware.org>; Mon, 22 Jul 2024 07:42:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721659332; x=1722264132; 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=zG8woB+DSiM/t4bqdHwh8A7U4VybhxqtmFxS5Oage5E=; b=IGwwt2VFTQHWPkYl+Cq8lFW5ThXvD6D5IJmo0OETaKGZWKbKijlfYZsJsMbiAoHOzw IgOXQEM1TxiGAPVg36QH1k3UjOu2aRqCnQhLunpjjKb0cmPah9bPf0qJqki4g+accTNh RqDgKd22DGk1WlbKcNCjZKg7dFtN8zOCs4fLatbaEJqIyCkFatUwQbkGzTide+21WeYB RsPGxdjjYwXw41KK58xZqVUTvFffT2H3Gwn6zffBJL6EzedMwA08qoVnJVkAfCkiUPDu LA/nSZlOMc3wJPQpfejCE3wAfPBN0o2069JjIuvi7Dd1jkejIw4XnO9f6kepYM4Nukut wpvQ== X-Gm-Message-State: AOJu0Yy61iDp8cc2S4QS77lGLhAaZas1pvruhdbBShhohfsULugKMSED WhMW/KjUEqFbOiVWg211QP4zJnTFsPkVfvEFjGtj5AvE1rGexnlFUzIkCLhlIv+YL9iT7RPF7UO NAa93e87ZNssPD/boh1KKUlTfMtG+yKUH+77+VrdXX7MDs4lNffImPxk22QkYY5VSOzgqyL5O4/ bNFu3wtG201qcuLh5wm2AHkp/3I2EEWdeWqRlFxWsEx0A= X-Received: by 2002:a5d:438a:0:b0:362:ad01:5435 with SMTP id ffacd0b85a97d-369b674efa5mr4733602f8f.29.1721659332587; Mon, 22 Jul 2024 07:42:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYUfGfhAcw0SicfECmysZzq1AbMTDLlED4KGwTmTkepZYuzH6ZhAeT5nqy/Nf9cMHmhHI4nA== X-Received: by 2002:a5d:438a:0:b0:362:ad01:5435 with SMTP id ffacd0b85a97d-369b674efa5mr4733587f8f.29.1721659332160; Mon, 22 Jul 2024 07:42:12 -0700 (PDT) Received: from localhost ([31.111.84.186]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-368787ed7c3sm8699504f8f.111.2024.07.22.07.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 07:42:11 -0700 (PDT) From: Andrew Burgess <aburgess@redhat.com> To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCH 0/2] New inline-frames and blocks maintenance commands Date: Mon, 22 Jul 2024 15:42:07 +0100 Message-Id: <cover.1721659205.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 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 |
New inline-frames and blocks maintenance commands
|
|
Message
Andrew Burgess
July 22, 2024, 2:42 p.m. UTC
While reviewing a patch I wanted more information about GDB's internal state relating to inline frames and blocks, so I wrote a couple of maintenance commands to provide the information I needed. They felt like they might be useful to others. Thanks, Andrew --- Andrew Burgess (2): gdb: Add 'maint info inline-frames' command gdb: add 'maint info blocks' command gdb/NEWS | 13 ++ gdb/block.c | 132 +++++++++++ gdb/doc/gdb.texinfo | 147 ++++++++++++ gdb/inline-frame.c | 163 ++++++++++++-- .../maint-info-inline-frames-and-blocks.c | 57 +++++ .../maint-info-inline-frames-and-blocks.exp | 210 ++++++++++++++++++ 6 files changed, 707 insertions(+), 15 deletions(-) create mode 100644 gdb/testsuite/gdb.base/maint-info-inline-frames-and-blocks.c create mode 100644 gdb/testsuite/gdb.base/maint-info-inline-frames-and-blocks.exp base-commit: 6fc24c7607ba54a2fc3e2a947de26bc25d42cbe3