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.scanf("%c",&c);Code:
Can't find a source file "./stdio-common/./stdio-common/isoc99_scanf.c
Statistics: Posted by blackbird — 2024-07-17 05:45