Compile and link your program using the -g option.
% icc -g tmp.c
See also:
Preparing Your Source Code
Preparing the Compiler and Linker Environment
Preparing Your Program for Debugging: Modifying Your Program to Wait for the Debugger