Re: [PATCH] gdbstub: Permit reverse step/break to provide stop response

2023-06-28 Thread Matheus Tavares Bernardino
Peter Maydell wrote: > > On Fri, 23 Jun 2023 at 13:19, Matheus Tavares Bernardino > wrote: > > > > Ah, it's interesting that [1] doesn't include 'bc' and 'bs' in the list > > of cmds that may respond with a stop-reply packet: > > > > "The 'C', 'c', 'S', 's', 'vCont', 'vAttach', 'vRun', 'vSt

Re: [PATCH] gdbstub: Permit reverse step/break to provide stop response

2023-06-27 Thread Peter Maydell
On Fri, 23 Jun 2023 at 13:19, Matheus Tavares Bernardino wrote: > > > Nicholas Piggin wrote: > > > > The final part of the reverse step and break handling is to bring > > the machine back to a debug stop state. gdb expects a response. > > > > A gdb 'rsi' command hangs forever because the gdbstub

Re: [PATCH] gdbstub: Permit reverse step/break to provide stop response

2023-06-27 Thread Alex Bennée
Nicholas Piggin writes: > The final part of the reverse step and break handling is to bring > the machine back to a debug stop state. gdb expects a response. > > A gdb 'rsi' command hangs forever because the gdbstub filters out > the response (also observable with reverse_debugging.py avocado >

Re: [PATCH] gdbstub: Permit reverse step/break to provide stop response

2023-06-23 Thread Matheus Tavares Bernardino
> Nicholas Piggin wrote: > > The final part of the reverse step and break handling is to bring > the machine back to a debug stop state. gdb expects a response. > > A gdb 'rsi' command hangs forever because the gdbstub filters out > the response (also observable with reverse_debugging.py avocado

[PATCH] gdbstub: Permit reverse step/break to provide stop response

2023-06-22 Thread Nicholas Piggin
The final part of the reverse step and break handling is to bring the machine back to a debug stop state. gdb expects a response. A gdb 'rsi' command hangs forever because the gdbstub filters out the response (also observable with reverse_debugging.py avocado tests). Fix by setting allow_stop_rep