Why am I getting the message "Single-stepping until exit . . . which has no line number information" in GDB?

Viewed 56376

I've compiled my C program using gcc 4.4.1 using the flag -g, but when I try to step through one of my functions in gdb version 7.0, I get the message:

"Single stepping until exit from function _DictionaryTree_getNodeList, 
which has no line number information."

Can someone tell me why this is happening?

7 Answers

Just guessing, but is _DictionaryTree_getNodeList in another file that wasn't compiled with -g?

Related