Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c

gcc

gdb

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?

like image 362
Steven Oxley Avatar asked Jan 31 '10 01:01

Steven Oxley


1 Answers

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

like image 182
Arthur Kalliokoski Avatar answered Sep 20 '22 06:09

Arthur Kalliokoski