Re: Possible bug in Aarch64 single-stepping [PATCH]

2022-05-10 Thread Peter Maydell
On Sun, 8 May 2022 at 20:27, Chris Howard wrote: > Thanks for the explanation. What with this being “pretty easy” I’m attempting > my first ever patch! :-) Thanks for having a go at this. You've got the right basic idea, but the process details of how to submit a patch aren't quite right. We do

Re: Possible bug in Aarch64 single-stepping

2022-05-08 Thread Chris Howard
On 8. May 2022, at 14:08, Peter Maydell wrote: > > On Sat, 7 May 2022 at 14:44, Chris Howard wrote: >> >> Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B >> (in aarch64). >> >> I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set >> in MDSCR_

Re: Possible bug in Aarch64 single-stepping [PATCH]

2022-05-08 Thread Chris Howard
On 8. May 2022, at 14:18, Peter Maydell wrote: > On Sat, 7 May 2022 at 15:18, Chris Howard wrote: >> PS. In plain gdb (ie. no nice user interface) a large number (but not all) >> of the system registers gets displayed after each step. It would be nice if >> these were sorted in some way. At th

Re: Possible bug in Aarch64 single-stepping

2022-05-08 Thread Peter Maydell
On Sun, 8 May 2022 at 13:18, Peter Maydell wrote: > > Introduction > > This document will explain how setup Mutt email client using OAuth2 > (modern authentication) to access your emails. Argh, sorry about this. I mis-clicked something and pasted a load of bogus text :-( -- PMM

Re: Possible bug in Aarch64 single-stepping

2022-05-08 Thread Peter Maydell
Introduction This document will explain how setup Mutt email client using OAuth2 (modern authentication) to access your emails. Authentication will be done using "bearer tokens" instead of a combination of a username and an application password. You can find more details about bearer tokens and

Re: Possible bug in Aarch64 single-stepping

2022-05-08 Thread Peter Maydell
On Sat, 7 May 2022 at 14:44, Chris Howard wrote: > > Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B > (in aarch64). > > I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set > in MDSCR_EL1). > > I’m coming across Unexpected Behaviour when playing

Re: Possible bug in Aarch64 single-stepping

2022-05-07 Thread Chris Howard
On 7. May 2022, at 15:42, Chris Howard wrote: > > Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B > (in aarch64). > > I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set > in MDSCR_EL1). > > I’m coming across Unexpected Behaviour when playing

Possible bug in Aarch64 single-stepping

2022-05-07 Thread Chris Howard
Hi, I’m writing a simple debugger in assembly code for the Raspberry Pi 3B (in aarch64). I’m using QEMU 7.0.0. Everything is running in EL1. (I have MDE and KDE set in MDSCR_EL1). I’m coming across Unexpected Behaviour when playing with single-stepping: It appears that single-stepping is enabl