From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59896 invoked by alias); 11 Apr 2018 00:37: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 59880 invoked by uid 89); 11 Apr 2018 00:37:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*c:alternative X-HELO: mail-qt0-f177.google.com Received: from mail-qt0-f177.google.com (HELO mail-qt0-f177.google.com) (209.85.216.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Apr 2018 00:37:10 +0000 Received: by mail-qt0-f177.google.com with SMTP id h4so111075qtn.13 for ; Tue, 10 Apr 2018 17:37:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ucwSN0H41fCeJG8yL8ru2z/b6BV2PTFbtEorCipi+x8=; b=tMlHocC19U+dZf4sGO5DAf0TkUJOFt+z3+8o8uuw4z5mvcOJa/R4jPfahUtkCnzP46 Eq7xzdL2+5celJuw1ddc0FzanefYT+sW93htrQCz+uMP+2IjeVxT8Gp4wqGU5cKanpHY REhuATtEfYfaZlFm4ygf0uGuousUHYKQheOh5jZvFJDaXWejfKtafl7xz5hm2e1sQwuq 3ZZyBTtyQn88QNHEbN9wQl4io6v4KvpDfAkiVwgHqUJPcJjY61Tjs3SoQZDaPc/OzQT7 gnvJIUJLfTFzsHk/9wmbcSQQJwIav37ucLY1yQniHQE6YfyQpX9GSX9B5NUwCbWw2ZhL JTsA== X-Gm-Message-State: ALQs6tCMIVuETPk979zdhaFJj+sicJeRu8zitX4hv2SfvteycfSYqfkz 3OD4bFEWpre8ndVrF0zU04fD6JZvwGQ1ieZTOTq7u93zwf0= X-Google-Smtp-Source: AIpwx4+2z/mvuuXsRxSxhD/H28wzxBgKT8BGlFWqBR2b8JYSJHg7zkQhY0DWoYu5Xg7t8QnVfJk0WRSBovvhqFUB8i0= X-Received: by 10.237.61.213 with SMTP id j21mr4077442qtf.251.1523407029086; Tue, 10 Apr 2018 17:37:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.60.210 with HTTP; Tue, 10 Apr 2018 17:36:38 -0700 (PDT) In-Reply-To: References: <1512727471-30745-1-git-send-email-yao.qi@linaro.org> From: Omair Javaid Date: Wed, 11 Apr 2018 00:37:00 -0000 Message-ID: Subject: Re: [PATCH 0/3 v3] [AArch64] Support tagged pointer To: Yao Qi Cc: GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00204.txt.bz2 On 11 April 2018 at 05:15, Omair Javaid wrote: > On 8 December 2017 at 22:31, Yao Qi wrote: > >> On Fri, Dec 8, 2017 at 10:04 AM, Yao Qi wrote: >> > ARMv8 supports tagged address, that is, the top one byte in address >> > is ignored. It is always enabled on aarch64-linux. See >> > https://www.kernel.org/doc/Documentation/arm64/tagged-pointers.txt >> > >> > Some parts of GDB related to address are updated in this patch series, >> > >> > - Memory access, like command 'x', >> > - Setting hw breakpoint on some address, >> > - Setting watchpoint on some address, >> > >> >> I pushed them in as we are close to branching. We can still keep the >> addr_bits_remove vs significant_addr_bit conversation ongoing. >> > > This patch has broken kernel debugging using kgdb and openOCD. > > Tagged address should only be considered while debugging only user-space > programs on linux. > > I still need to understand the full background behind this patch but can > we pull it out of 8.1 release to make sure kernel debugging works? > > Just found out that patch series posted here https://sourceware.org/ml/gdb-patches/2017-12/msg00160.html does change aarch64-linux-tdep only. But the committed version here https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Da= 738ea1d41daeec0cccb4ab6671f4f6d53bd9e18 is applying it to aarch64-tdep > -- >> Yao (=E9=BD=90=E5=B0=A7) >> > >