GNU gdb (GDB) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type"show copying" and"show warranty"for details. This GDB was configured as "x86_64-pc-linux-gnu". Type"show configuration"for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type"help". Type"apropos word"to search for commands related to"word"... Reading symbols from lab...done. (gdb)
(gdb) step Single stepping until exit from function printf, which has no line number information. main (argc=1, argv=0x7fffffffe078) at Lab2.c:27 27 scanf("%d", &LoopEnd1);