Steven Oxley Steven Oxley -4 years ago 88
C Question

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

I've compiled my C program using gcc 4.4.1 using the flag

, 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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download