Re: [PATCH v7 02/28] powerpc/xmon: Move breakpoint instructions to own array

2020-05-03 Thread Jordan Niethe
On Mon, May 4, 2020 at 3:41 PM Alistair Popple wrote: > > On Friday, 1 May 2020 1:41:54 PM AEST Jordan Niethe wrote: > > To execute an instruction out of line after a breakpoint, the NIP is set > > to the address of struct bpt::instr. Here a copy of the instruction that > > was replaced with a bre

Re: [PATCH v7 02/28] powerpc/xmon: Move breakpoint instructions to own array

2020-05-03 Thread Alistair Popple
On Friday, 1 May 2020 1:41:54 PM AEST Jordan Niethe wrote: > To execute an instruction out of line after a breakpoint, the NIP is set > to the address of struct bpt::instr. Here a copy of the instruction that > was replaced with a breakpoint is kept, along with a trap so normal flow > can be resume