what have i done wrong (or didn\'t do) that gdb is not working properly for me?
gdb
root@6be3d60ab7c6:/# cat minimal.c int main() { int i = 1337;
If you're using Docker, you probably need the --security-opt seccomp=unconfined option (as well as enabling ptrace):
--security-opt seccomp=unconfined
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined