[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.0 0/2] document gdbstub debugging of multicore machines
From: |
Alex Bennée |
Subject: |
Re: [PATCH for-6.0 0/2] document gdbstub debugging of multicore machines |
Date: |
Wed, 31 Mar 2021 12:25:40 +0100 |
User-agent: |
mu4e 1.5.11; emacs 28.0.50 |
Peter Maydell <peter.maydell@linaro.org> writes:
> The way gdb and our gdbstub handle multicore and multicluster
> machines is not very obvious. This patchset adds some documentation
> of how to do it. In particular it gives the necessary runes
> for how to get gdb to work with machines which have multiple
> clusters of heterogenous CPUs (that's the sifive_u board, some
> of the MPS2/MPS3 boards, and the Xilinx one).
>
> I don't think there's any way for the stub to tell gdb
> "I have 2 inferiors, attach to both of them", unfortunately,
> so the user has to manually connect to them. (We should talk
> to the gdb folks to confirm that and perhaps suggest protocol
> enhancements. For 6.0, at least let's document the current state
> of affairs.)
Queued to for-6.0/fixes-for-rc2, thanks.
--
Alex Bennée