From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id DFB153857020 for ; Sat, 17 Jul 2021 18:53:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DFB153857020 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-pj1-x102f.google.com with SMTP id l11so8598197pji.5 for ; Sat, 17 Jul 2021 11:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gcvkv9TFQBQN+X20qBSjOeiAME3gUe5VQKWDYPVTOzk=; b=aV0Avq4pQH4/VBgd9E0SNUkra88HcOma6li81NUUW/oQfexn1sJNewM8wUrwdr31J4 z8AVuZyF6M+zN6ExUFHKb5g5U+3ZyLCB/PgakNm8/raFH/qCPq7gxOXhyge1ztwaRTmv 8pv5ufp0cGFxxX9L11HTMPxciGlp3fjHUPEUk1nJhf5Ajw8nBZZpS+Y7MFhPG8KnbwEC 1XulKqTUglOLNQ+jq9UH8zE+7cXf8Vg0OLnRkKPA8S31Du1AVAu2caU9bKfOaMajHkQm kGCNHiWjmTgd7cakG0qsGNBJIIlZGSSYs8MNPMj8tZ95MgkwHFYQ7eXoDymvfKj7pBok q1qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gcvkv9TFQBQN+X20qBSjOeiAME3gUe5VQKWDYPVTOzk=; b=Dr9tc8h16iWlPVCFHm62s31t+zr5bbaDbqt2tZDE+hvSbeeQXh2HvPDdMnOm+UsqIr qSa/OhX1JKfvxjvXjXPJfVUJPn95UZU43o629xrdfTLSckYNy3BWQBj2PYejWxmMn452 1ozIHLWkgVODTcr7hcRq8RObxiwzkR485HmpxnTzVYwZS0K5MJz9LUMHcZps1dpesnNJ Da33YslGNJls3MHVnvuxArFE69W4L1V8FwHCm70L0yWnZWbCcNZzPt0scVsJZ4Yuue9a NFbE5gKcrm25B/jxWl0ONvfJHeDZECcUjo8LF2GXsXOZRViWilwTNj+4hlkmN1WS0Kvc lkNw== X-Gm-Message-State: AOAM533X3R+00RL5EPjFahCw92EePBYb8vnn7a9g8xzOJg4+7SM8mpyP +Fg9CLzzL4c9bV/f4KSLBasm X-Google-Smtp-Source: ABdhPJxu3K/4Xu+62pB7akrTvJVrakTcjWaSDY6TlUeCgi76oTPfYqYaVG0pv3KpRaiK2+DDll/7dA== X-Received: by 2002:a17:90a:6a0e:: with SMTP id t14mr16225109pjj.19.1626548024943; Sat, 17 Jul 2021 11:53:44 -0700 (PDT) Received: from takamaka.home ([184.69.131.86]) by smtp.gmail.com with ESMTPSA id j19sm15446462pgm.44.2021.07.17.11.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 11:53:44 -0700 (PDT) Received: by takamaka.home (Postfix, from userid 1000) id 3E58E89CFD; Sat, 17 Jul 2021 11:53:43 -0700 (PDT) Date: Sat, 17 Jul 2021 11:53:43 -0700 From: Joel Brobecker To: Pedro Alves Cc: Luis Machado , gdb-patches@sourceware.org, Joel Brobecker Subject: Re: [PATCH v3] Fix printing of non-address types when memory tagging is enabled Message-ID: <20210717185343.GA1448640@adacore.com> References: <20210622013719.3750766-1-luis.machado@linaro.org> <9a37962e-5792-73c4-072b-afd0ce0ddbd9@palves.net> <354c4dd2-5e2d-d2d2-8109-25bf898222a1@linaro.org> <47240272-e938-f3bb-885d-89a21f7ffeec@palves.net> <1b1ecf62-ac66-5c4c-ebce-3bc353e9ceee@palves.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b1ecf62-ac66-5c4c-ebce-3bc353e9ceee@palves.net> X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Sat, 17 Jul 2021 18:53:47 -0000 Hey Pedro, hey Luis, > gdb/ChangeLog > YYYY-MM-DD Luis Machado > Pedro Alves > > * gdbarch.sh: Updated documentation for gdbarch_tagged_address_p. > * gdbarch.h: Regenerate. > * printcmd.c (should_validate_memtags): Reorder comparisons and only > validate tags for pointer and reference types. Skip validation of > optimized out or unavailable values. > (print_command_1): Guard call memory tagging validation code with > a try/catch block. What's the status for this version of the patch that Pedro suggested? Do we think this is something we could approve and push sometime soon? Thanks! -- Joel