This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/11] Displaced stepping on AArch64 GNU/Linux
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 12 Oct 2015 11:35:29 +0100
- Subject: Re: [PATCH 00/11] Displaced stepping on AArch64 GNU/Linux
- Authentication-results: sourceware.org; auth=none
- References: <1444209985-15829-1-git-send-email-yao dot qi at linaro dot org>
Yao Qi <qiyaoltc@gmail.com> 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.
--
Yao (éå)