GDB Interface on debugfs is not supported anymore on modern kernels
Between 3.10 and 5.10 a patch in debugfs disallowed to have memory mappable files (mmap
). This is what we were using for the gdbserver. It made sense to have it under debugfs, because this is not needed for operation. Two options:
- we move to sysfs our debugging interface
- we patch our kernel with the following patch: debugfs: Add proxy function for the mmap file operation
- we do as (2) and we ask the community to apply that patch. Then in a few years we remove our patch
For a quick development, I will do (1).