From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110139 invoked by alias); 12 Oct 2015 10:35:38 -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 110109 invoked by uid 89); 12 Oct 2015 10:35:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f46.google.com Received: from mail-pa0-f46.google.com (HELO mail-pa0-f46.google.com) (209.85.220.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 12 Oct 2015 10:35:36 +0000 Received: by pablk4 with SMTP id lk4so151429594pab.3 for ; Mon, 12 Oct 2015 03:35:35 -0700 (PDT) X-Received: by 10.68.94.99 with SMTP id db3mr33743442pbb.165.1444646135167; Mon, 12 Oct 2015 03:35:35 -0700 (PDT) Received: from E107787-LIN (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id cn4sm17494391pbc.94.2015.10.12.03.35.33 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Mon, 12 Oct 2015 03:35:34 -0700 (PDT) From: Yao Qi To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 00/11] Displaced stepping on AArch64 GNU/Linux References: <1444209985-15829-1-git-send-email-yao.qi@linaro.org> Date: Mon, 12 Oct 2015 10:35:00 -0000 In-Reply-To: <1444209985-15829-1-git-send-email-yao.qi@linaro.org> (Yao Qi's message of "Wed, 7 Oct 2015 10:26:14 +0100") Message-ID: <86egh05q8e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00148.txt.bz2 Yao Qi writes: > This patch series adds displaced stepping on aarch64-linux. The > series refactors and reuses some aarch64 fast tracepoint instruction > relocation code in GDBserver, because both of fast tracepoint and > displaced stepping need to handle instruction relocation. > > Patches #2 - #4 are about refactoring aarch64_relocate_instruction in > GDBserver in order to share it between GDB and GDBserver. A visitor > pattern is used, and aarch64_relocate_instruction decodes instructions > and visits different instructions by different methods of visitor. > See more details in patch #4. Patch #5 moves all visitor pattern stuff > and aarch64_relocate_instruction to arch/aarch64-insn.c, and patch #6 > adds the displaced stepping support. > > Patch #8 adds a new test case gdb.arch/disp-step-insn-reloc.exp which > uses insn-reloc.c too for displaced stepping. Patch #9 and #10 add > "aarch64_" prefix to function names, as a clean up of this series. > > The whole series is regression tested on aarch64-linux, both native and > gdbserver. I pushed them in. --=20 Yao (=E9=BD=90=E5=B0=A7)