Analyse et explore linux
Component CPU_NO_USER_BKPT

Component Type: kbuild config

More info: For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because abiv2 is 16/32bit instruction set and "trap 1" is 32bit. So we need a 16bit instruction as user space bkpt, and it will cause an illegal instruction exception. In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.

Build project: Kconfig (Linux kconfig) (Path: arch\csky\Kconfig )

Other views: file explorer

Generated by PFA software prototype