This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] Decouple ARM instruction decoding/relocating from GDB
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 04 Mar 2016 12:03:37 +0000
- Subject: Re: [PATCH 0/2] Decouple ARM instruction decoding/relocating from GDB
- Authentication-results: sourceware.org; auth=none
- References: <1456415245-24005-1-git-send-email-simon dot marchi at ericsson dot com>
Simon Marchi <simon.marchi@ericsson.com> writes:
Hi Simon,
> As part of the upcoming ARM fast tracepoint support, we need to have some code
> in gdbserver that decodes the relocated instructions, to check whether they
> need to be modified or not (whether the result of their execution depends on
> their particular PC). Instead of writing new code from scratch, we should take
> advantage of the code already written for the displaced stepping feature in
> GDB, as AArch64 does. To make this possible, we first need to decouple the
> instruction decoding part from GDB, so that the code can eventually be moved to
> a shared location.
Could you include these two patches into your arm fast tracepoint patch
series? The problems in the code can't be found until we use the code,
so I'd like to review them together when arm fast tracepoint patches are
ready.
--
Yao (éå)