Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Programming • Re: GDB doesn't work

$
0
0
scanf("%c",&c);

Code:

Can't find a source file "./stdio-common/./stdio-common/isoc99_scanf.c
If you want to step into the scanf call, you have to install the sources of glibc and set the source path in gdb to find them. Normally you don't want to debug the glibc code so you could step over the scanf call or ignore the warning.

Statistics: Posted by blackbird — 2024-07-17 05:45



Viewing all articles
Browse latest Browse all 2901

Trending Articles