Your compiler is generating bad ELF binaries. The kernel is less picky about it unlike GDB and other utils.If you create an ELF executable using the "-o" option of the compiler, then try to debug *that* executable, there is not a debugger out there I have found that can do that.
elflint says
Code:
$ eu-elflint sudokusection [ 6] '.dynamic': section entry size does not match ElfXX_Dynsection [ 6] '.dynamic': no hash section presentsection [ 8] '.rel.plt': invalid section reference in info valuesection [ 8] '.rel.plt': invalid destination section indexStatistics: Posted by trejan — Tue Apr 22, 2025 4:50 pm