From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uL5GO57s0GAqRQAAWB0awg (envelope-from ) for ; Mon, 21 Jun 2021 15:46:38 -0400 Received: by simark.ca (Postfix, from userid 112) id E28981F1F2; Mon, 21 Jun 2021 15:46:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,RDNS_DYNAMIC,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 4A6DB1E54D for ; Mon, 21 Jun 2021 15:46:38 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AA064393D00C for ; Mon, 21 Jun 2021 19:46:37 +0000 (GMT) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id EBB3F385701F for ; Mon, 21 Jun 2021 19:46:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EBB3F385701F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x429.google.com with SMTP id j2so10420549wrs.12 for ; Mon, 21 Jun 2021 12:46:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qV39IzCiXuvXmVMEGJHo+LsKUk06clmfHR1WNCjl3oM=; b=WrCnQk9XqXmjAHovklM6fL5IP7YNB8QDdFg7Z8tGIjc0r9nwDtVdY6+gaM4uOEL7Be 82UnwZwGxV3cKD1qEANcduLYLZIAzYEWptXSf07k2Ts4NnmkD59BLCVN0PrInMzAiPye CuBwRGHb5v/3cjzd3XmsHDeHPxIt8qJmaSl9a5LPa6liG43Gnq7w76WWrzzhB5nK5FCV u/HdAl0DGfH7lDjT4n0rJZNZsN5QaAZOb8V5whdd2Ofn/vN0P2umOmwvMgFFY6HbTCff 4gHgBivbKaLAGnaYsHVr86/6Qsz+9WF72xvCsLiTmLRCAacyN05ob5IMUjuUfwGT4S5y Iaeg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qV39IzCiXuvXmVMEGJHo+LsKUk06clmfHR1WNCjl3oM=; b=eyeUfLDfv8E91CQb+PR+lmjV+zaKeg7eqahmNBe3aeEGmNkfDg0UQn6rTzHzolbOrw 2uA1oplh1YBQh05QeO2N5UVr1xWZQG2KHhrZ3zF/9/4zx/Dmbv9V3ue75KJxNt7XKLx4 4SavzShGl2s/hGF+rGw0mLGrGf+JByLeaCfGz0AteIr5K/dSrMCh/rK+VV/i7lRSUah7 viZnn04vZBiotjTDWwBJzlUZzuAmPqcC9fg14bCde9URE52vIiWc0LI3A+IAQ02ItROZ ceRdbC8IFYBkQjbtAxEYnqlSNVaKumqYxd57lszqF32TN5vl4ao/jrVlsnHXbte2AkCi xa8g== X-Gm-Message-State: AOAM531f9EzmYq17PnjwM8OEIWzPevlqH7YQl7RyCVnDmA7423NoUdMk Fxv5ybjGXp8T26y/rHV0DRSO4qxV1USC6Cp3 X-Google-Smtp-Source: ABdhPJwidBeePv6aANhAimiHxhU7d5gTGXxNgKsVLf8xmpa/BbEkjB90zqYxU40f5E1vvmL8PDI80A== X-Received: by 2002:adf:f68a:: with SMTP id v10mr76099wrp.366.1624304785871; Mon, 21 Jun 2021 12:46:25 -0700 (PDT) Received: from localhost (host86-140-92-85.range86-140.btcentralplus.com. [86.140.92.85]) by smtp.gmail.com with ESMTPSA id t9sm6908wmq.14.2021.06.21.12.46.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 12:46:25 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Subject: [PATCHv2 0/2] Fix for an assertion when unwinding with inline frames Date: Mon, 21 Jun 2021 20:46:20 +0100 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: 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+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" I pushed patches 1-3 of the V1 series as these were useful changes in their own right. The V2 series is just the last two patches of the original series rebased onto current upstream master, there's no other changes. Thanks, Andrew --- Andrew Burgess (2): gdb: prevent an assertion when computing the frame_id for an inline frame gdb: remove VALUE_FRAME_ID gdb/ChangeLog | 15 ++ gdb/frame.c | 61 +++++--- gdb/frame.h | 4 - gdb/testsuite/ChangeLog | 10 ++ .../gdb.base/inline-frame-bad-unwind.c | 58 ++++++++ .../gdb.base/inline-frame-bad-unwind.exp | 139 ++++++++++++++++++ .../gdb.base/inline-frame-bad-unwind.py | 85 +++++++++++ gdb/valops.c | 17 ++- gdb/value.c | 5 +- gdb/value.h | 6 - 10 files changed, 362 insertions(+), 38 deletions(-) create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.c create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.exp create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.py -- 2.25.4