From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67051 invoked by alias); 5 May 2019 20:57:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 67035 invoked by uid 89); 5 May 2019 20:57:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1430, 2018-11, 201811 X-HELO: mail-wr1-f42.google.com Received: from mail-wr1-f42.google.com (HELO mail-wr1-f42.google.com) (209.85.221.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 05 May 2019 20:57:11 +0000 Received: by mail-wr1-f42.google.com with SMTP id s15so14640078wra.12 for ; Sun, 05 May 2019 13:57:10 -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; bh=otiEaICC/3gfYikHKy4uYomzd4XO8kedk+jnmcYlhyQ=; b=eqc8gaERtXTXNYaIDaSawHSBxeE5al0bjM/rlhj6C7Tki5rkkx1YBSqbAHq6y/Exyo DXUot41TCm5hyKlsJc+NzprSM/Bia1bTwI17jysgYR53RMxohAQkKNdQH968z9A+z1OQ t5Clu1gO872Ftbkgmo2Stgfn5ZkxtfbXxiCErKbPfIDewHS64ee38U8rMrKbXaOeeffH +JPG4GDBHBY0qGVPYh8zN7IJ/gG1eu2pnh/Xd8Tk9vbQgVnVKrbW94sOzxgOLJoJ4z/0 wLI7sz/G6frgQc4wgIy6pA1mSsu2JyvRgLGwHAd/NGpnj5coh9YKUBkvnpORW3zRsVqF z5QA== Return-Path: Received: from localhost (host109-154-100-57.range109-154.btcentralplus.com. [109.154.100.57]) by smtp.gmail.com with ESMTPSA id a22sm6277381wmb.47.2019.05.05.13.57.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 May 2019 13:57:08 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCH 0/3] Improve handling of negative dynamic properties Date: Sun, 05 May 2019 20:57:00 -0000 Message-Id: X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00161.txt.bz2 Patch #3 from this series is a refresh of patch #1 and #2 from this series: https://sourceware.org/ml/gdb-patches/2018-11/msg00465.html I merged the two patches as they seem closly related, otherwise my changes were: + Change from usinng 'int' to 'bool' where appropriate. + Updated the name of the API from 'dwarf2_evaluate_property_signed' to 'dwarf2_evaluate_property'. + Added more tests. I originally planned to work through the whole of the original series, however some of the patches need more work so I thought I'd push the parts as I managed to prepare them. Thanks, Andrew --- Andrew Burgess (3): gdb: Update type of lower bound in value_subscripted_rvalue gdb: Convert dwarf2_evaluate_property to return bool gdb: Handle dynamic properties with negative values gdb/ChangeLog | 27 +++++++++++++++++++++++++ gdb/dwarf2loc.c | 34 ++++++++++++++++++++++++-------- gdb/dwarf2loc.h | 19 +++++++++++------- gdb/findvar.c | 2 +- gdb/gdbtypes.c | 15 ++++++-------- gdb/testsuite/ChangeLog | 11 +++++++++++ gdb/testsuite/gdb.fortran/vla-ptype.exp | 12 +++++++++++ gdb/testsuite/gdb.fortran/vla-sizeof.exp | 10 ++++++++++ gdb/testsuite/gdb.fortran/vla-value.exp | 27 +++++++++++++++++++++++++ gdb/testsuite/gdb.fortran/vla.f90 | 15 ++++++++++++++ gdb/valarith.c | 2 +- gdb/value.h | 3 ++- 12 files changed, 150 insertions(+), 27 deletions(-) -- 2.14.5