[Kgdb-bugreport] [PATCH] arm: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size

2018-04-05 Thread David Rivshin
From: David Rivshin <drivs...@allworx.com> NUMREGBYTES (which is used as the size for gdb_regs[]) is incorrectly based on DBG_MAX_REG_NUM instead of GDB_MAX_REGS. DBG_MAX_REG_NUM is the number of total registers, while GDB_MAX_REGS is the number of 'unsigned longs' it takes to serialize

Re: [Kgdb-bugreport] [PATCH] arm: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size

2018-04-06 Thread David Rivshin
On Fri, 6 Apr 2018 14:49:22 +0100 Daniel Thompson <daniel.thomp...@linaro.org> wrote: > On 06/04/18 14:25, Daniel Thompson wrote: > > On Thu, Apr 05, 2018 at 04:09:16PM -0400, David Rivshin wrote: > >> From: David Rivshin <drivs...@allworx.com> > >> >