C debug problem
When I compile and link my hello world proggy with -g option using gcc, I can see the source in gdb.
gcc -g -o hello helloworld.c
However ...
when I compile with -g and generate a helloword.o and then link in a separate step I cannot see the source in gdb.
gcc -g -o helloworld.o helloworld.c
gcc -g -o hello helloworld.o
Am I missing a link option?
Does anybody have a clue? Any help will be appreciated.
tia
|