aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-01-22 12:02:51 +0100
committerThomas Bogendoerfer <[email protected]>2021-01-22 13:53:25 +0100
commit42b20995fae6318fd2e85ddbbaf7b4f7c3724e68 (patch)
tree92e38445def7202e1ba45d9564d772a7c6546329 /scripts/gdb/linux/utils.py
parentaadfe4b5f17c172e1329db23c7eb4657dd4f44b6 (diff)
MIPS: make kgdb depend on FPU support
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 *)&current->thread.fpu.fcr31, mem, | ^ arch/mips/kernel/kgdb.c:155:34: error: 'struct thread_struct' has no member named 'fpu' 155 | memcpy((void *)&current->thread.fpu.fpr[fp_reg], mem, This is only relevant for CONFIG_EXPERT=y, so disallowing it in Kconfig is an easier workaround than fixing it properly. Reported-by: kernel test robot <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions