This is the mail archive of the
mailing list for the Archer project.
Re: gdbstub initial code, v7
> ugdb sets "please stop" flag and does utrace_control(INTERRUPT). However,
> in unlikely case the tracee can stop before ->report_signal() reporting
I don't think this is the right thing to do. When the intent is explicitly
to interrupt, there is no reason to stop before the interruption is
complete, i.e. report_signal. If you only stop there, then you can always
process a signal injection with complete flexibility. The gdb model and
the remote protocol doesn't currently have any concept of requesting a stop
that is not an interruption.