Re: Software single-stepping for PT_STEP on booke and ibm4xx

Jason Thorpe <[email protected]> Fri, 26 Feb 2021 07:45:26 -0800
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>

> On Feb 26, 2021, at 1:12 AM, Rin Okuyama <[email protected]> wrote:
> 
> Currently, PT_STEP ptrace(2) call on booke and ibm4xx is broken. I'd
> like to propose software-based single-stepping for them:
> 
> http://www.netbsd.org/~rin/booke_4xx_software_sstep_20210226.patch
> 
> With this patch, GDB works perfectly both on booke and 4xx, as far as
> I can see. I will commit the patch next week if there's no objection.

:thumbs up:

(Tangent — is there a good ibm4xx emulator?  I know Qemu does BookE… I do have a Walnut, but it’s in unknown working condition and it takes up space when set up.)

-- thorpej