gdb puts bp not where I ask
-
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 (gdb) b 6 Breakpoint 1 at 0x4006a5: file binbit.c, line 6. (gdb) r Starting program: /home/alexander/Рабочий стол/c5ex/ch15/my/binbit Breakpoint 1, main () at binbit.c:7 warning: Source file is more recent than executable. 7 { console: -rwxrwxr-x 1 alexander alexander 10345 июля 9 15:55 binbit* -rw-rw-r-- 1 alexander alexander 1880 июля 11 18:47 binbit.c -rw-rw-r-- 1 alexander alexander 1891 июля 11 18:29 binbit.c~
-
This is the standard conduct gdb . at the point of stop to function, the holder stops on the first line inside the function.