On 2/3/26 21:51, Alex Bennée wrote:
The stop reply message we send can include a lot of extra information
and a bunch is mode dependant. Extract the construction into a helper
and add specialised versions for system and user mode.
The correct response for system mode should be of the form:
T05core:N;
Where N is the core ID.
Signed-off-by: Alex Bennée<[email protected]>
---
gdbstub/internals.h | 7 +++++++
gdbstub/gdbstub.c | 15 ++++++---------
gdbstub/system.c | 11 +++++++++++
gdbstub/user.c | 12 ++++++++++++
4 files changed, 36 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~