I've tried to use gdb but after compilation when I use gdb name_file and I type (gdb) run, it shows me this message:
This GDB was configured as "i386-slackware-linux"...
Starting program: /direct1/direct2/direct3/name_file
/bin/bash: line 1: /direct1/direct2/direct3/name_file: Permission denied
/bin/bash: line 1: exec: /direct1/direct2/direct3/name_file: cannot execute: Success
Program exited with code 0176.
warning: shared library handler failed to enable breakpoint
You can't do that without a process to debug.
Maybe I don't understand what you want to say me, infact I'm not a very good kernel programmer, but where I have to put "bt" parameter?Thank you!