Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Daniel Thompson
On Wed, Feb 10, 2021 at 03:15:10PM +0100, Maciej W. Rozycki wrote: > On Wed, 10 Feb 2021, Daniel Thompson wrote: > > > > NB if GDB sees a register padded out (FAOD it means all-x's rather than > > > a > > > hex string placed throughout the respective slot) in a `g' packet, then > > > it > > >

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Maciej W. Rozycki
On Wed, 10 Feb 2021, Daniel Thompson wrote: > > NB if GDB sees a register padded out (FAOD it means all-x's rather than a > > hex string placed throughout the respective slot) in a `g' packet, then it > > will mark the register internally as "unavailable" and present it to the > > receiver of

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Daniel Thompson
On Wed, Feb 10, 2021 at 01:11:28PM +0100, Maciej W. Rozycki wrote: > On Wed, 10 Feb 2021, Daniel Thompson wrote: > > > > Wrapping the relevant parts of this file into #ifdef MIPS_FP_SUPPORT > > > would be as easy though and would qualify as a proper fix given that we > > > have no XML descripti

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Maciej W. Rozycki
On Wed, 10 Feb 2021, Daniel Thompson wrote: > > Wrapping the relevant parts of this file into #ifdef MIPS_FP_SUPPORT > > would be as easy though and would qualify as a proper fix given that we > > have no XML description support for the MIPS target (so we need to supply > > the inexistent regi

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Daniel Thompson
On Mon, Feb 08, 2021 at 06:03:08PM +0100, Maciej W. Rozycki wrote: > On Fri, 22 Jan 2021, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > kgdb fails to build when the FPU support is disabled: > > > > arch/mips/kernel/kgdb.c: In function 'dbg_set_reg': > > arch/mips/kernel/kgdb.c:147:35:

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-08 Thread Maciej W. Rozycki
On Fri, 22 Jan 2021, Arnd Bergmann wrote: > From: Arnd Bergmann > > kgdb fails to build when the FPU support is disabled: > > arch/mips/kernel/kgdb.c: In function 'dbg_set_reg': > arch/mips/kernel/kgdb.c:147:35: error: 'struct thread_struct' has no member > named 'fpu' > 147 |memcpy((voi

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-01-24 Thread Thomas Bogendoerfer
On Fri, Jan 22, 2021 at 12:02:51PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > kgdb fails to build when the FPU support is disabled: > > arch/mips/kernel/kgdb.c: In function 'dbg_set_reg': > arch/mips/kernel/kgdb.c:147:35: error: 'struct thread_struct' has no member > named 'fpu' >

[PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-01-22 Thread Arnd Bergmann
From: Arnd Bergmann kgdb fails to build when the FPU support is disabled: arch/mips/kernel/kgdb.c: In function 'dbg_set_reg': arch/mips/kernel/kgdb.c:147:35: error: 'struct thread_struct' has no member named 'fpu' 147 |memcpy((void *)¤t->thread.fpu.fcr31, mem, |