|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [RFC PATCH 03/24] gdbstub: Add num_regs member to GDBFeature |
Date: | Mon, 31 Jul 2023 15:35:56 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 31/7/23 10:43, Akihiko Odaki wrote:
Currently the number of registers exposed to GDB is written as magic numbers in code. Derive the number of registers GDB actually see from XML files to replace the magic numbers in code later.
Nice :) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> --- include/exec/gdbstub.h | 1 + scripts/feature_to_c.py | 46 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 2 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |