Re: [PATCH 1/4] MIPS: Handle non word sized instructions when examining frame

2017-03-01 Thread Matt Redfearn
Hi Maciej On 28/02/17 20:54, Maciej W. Rozycki wrote: On Tue, 28 Feb 2017, Matt Redfearn wrote: Since the instruction modifying the stack pointer is usually the first in the function, that one is ususally handled correctly. But the s/ususally/usually/ oops diff --git a/arch/mips/kern

[PATCH 1/4] MIPS: Handle non word sized instructions when examining frame

2017-02-28 Thread Matt Redfearn
Commit b6c7a324df37 ("MIPS: Fix get_frame_info() handling of microMIPS function size") goes some way to fixing get_frame_info() to iterate over microMIPS instuctions, but increments the instruction pointer using a postincrement of the instruction pointer, which is of union mips_instruction type. Si

Re: [PATCH 1/4] MIPS: Handle non word sized instructions when examining frame

2017-02-28 Thread Maciej W. Rozycki
On Tue, 28 Feb 2017, Matt Redfearn wrote: > Since the instruction modifying the stack pointer is usually the first > in the function, that one is ususally handled correctly. But the s/ususally/usually/ > diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c > index 803e255b6fc3..