When I run a program through the linux shell by ./exe_file it works well. But when I try to run it through gdb by:
./exe_file
gdb ./exe_file
and