Message ID | 20230417164041.684562-1-peter.maydell@linaro.org |
---|---|
Headers | show |
Series | Deprecate/rename singlestep command line option, monitor interfaces | expand |
On Mon, 17 Apr 2023 at 17:40, Peter Maydell <peter.maydell@linaro.org> wrote: > > The command line option '-singlestep' and its HMP equivalent > the 'singlestep' command are very confusingly named, because > they have nothing to do with single-stepping the guest (either > via the gdb stub or by emulation of guest CPU architectural > debug facilities). What they actually do is put TCG into a > mode where it puts only one guest instruction into each > translation block. This is useful for some circumstances > such as when you want the -d debug logging to be easier to > interpret, or if you have a finicky guest binary that wants > to see interrupts delivered at something other than the end > of a basic block. I'm going to take this series via target-arm.next since I'm doing a pullreq anyway. thanks -- PMM
Peter Maydell <peter.maydell@linaro.org> writes: > On Mon, 17 Apr 2023 at 17:40, Peter Maydell <peter.maydell@linaro.org> wrote: >> >> The command line option '-singlestep' and its HMP equivalent >> the 'singlestep' command are very confusingly named, because >> they have nothing to do with single-stepping the guest (either >> via the gdb stub or by emulation of guest CPU architectural >> debug facilities). What they actually do is put TCG into a >> mode where it puts only one guest instruction into each >> translation block. This is useful for some circumstances >> such as when you want the -d debug logging to be easier to >> interpret, or if you have a finicky guest binary that wants >> to see interrupts delivered at something other than the end >> of a basic block. > > I'm going to take this series via target-arm.next since > I'm doing a pullreq anyway. Yes, please!