Message ID | 20221025134207.1548919-1-stephan.rohr@intel.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 331F5385AC26 for <patchwork@sourceware.org>; Tue, 25 Oct 2022 13:42:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 331F5385AC26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666705362; bh=FaFnlrCES5emwyU0XOLWYx5p6YqUu1sLF6OVxOTofbo=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=TC6mysFKOo8p8jt0UJbG73G1yVOXJd8iXuwUC3cSIW53rCX3qXRA5VwhfdgYrl7Na IEGLLkRhTa2O2+5qcynf3DpKZ4n9rjNdDgIkQFuG70zyYqt+8MsgiEgnBTBl1EJM2m MZ4N+A5rdHtJcxeEqr+IT9ZiDYPvLcSZ82OEr5f4= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by sourceware.org (Postfix) with ESMTPS id A74E13857377 for <gdb-patches@sourceware.org>; Tue, 25 Oct 2022 13:42:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A74E13857377 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="295077274" X-IronPort-AV: E=Sophos;i="5.95,212,1661842800"; d="scan'208";a="295077274" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2022 06:42:14 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="582775030" X-IronPort-AV: E=Sophos;i="5.95,212,1661842800"; d="scan'208";a="582775030" Received: from labpcdell3650-004.iul.intel.com (HELO localhost) ([172.28.50.126]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2022 06:42:12 -0700 To: gdb-patches@sourceware.org Subject: [PATCH v2 0/1] gdb/dwarf2: Fix 'rw_pieced_value' for values casted to different type. Date: Tue, 25 Oct 2022 15:42:06 +0200 Message-Id: <20221025134207.1548919-1-stephan.rohr@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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.29 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> From: Stephan Rohr via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Stephan Rohr <stephan.rohr@intel.com> Cc: simark@simark.ca, tom@tromey.com, "Rohr, Stephan" <stephan.rohr@intel.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
gdb/dwarf2: Fix 'rw_pieced_value' for values casted to different type.
|
|
Message
Rohr, Stephan
Oct. 25, 2022, 1:42 p.m. UTC
From: "Rohr, Stephan" <stephan.rohr@intel.com>
Hi all,
this is the second version of my patch. Changes since v1:
* Remove the 'internal_error' call in 'rw_pieced_value' if an object's
'type' and 'enclosing_type' are not idential.
* Added additional test cases.
The discussion for v1 can be found at:
https://sourceware.org/pipermail/gdb-patches/2022-October/192547.html
I appreciate your feedback.
Thanks
Stephan
Rohr, Stephan (1):
gdb/dwarf2: Fix 'rw_pieced_value' for values casted to different type.
gdb/dwarf2/expr.c | 3 --
gdb/testsuite/gdb.dwarf2/shortpiece.exp | 50 ++++++++++++++++++++++++-
2 files changed, 49 insertions(+), 4 deletions(-)