On 3/25/19 4:04 AM, Luc Michel wrote: > The vCont packet accepts a series of actions, each being applied on a > given thread ID. Giving no thread ID for an action is valid and means > "all threads". > > This commit fixes vCont packets being incorrectly rejected when no > thread ID was given for an action. > > In multiprocess mode, the GDB Remote Protocol specification is unclear > on what "all threads" means. We choose to apply the action on all > threads of all attached processes. > > This commit is based on the initial fix by Lucien Murray-Pitts. > > Fixes: e40e5204af8388 > Reported-by: Lucien Murray-Pitts <lucienmp_antis...@yahoo.com> > Reported-by: Jan Kiszka <jan.kis...@siemens.com> > Signed-off-by: Luc Michel <luc.mic...@greensocs.com> > --- > gdbstub.c | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~