https://sourceware.org/bugzilla/show_bug.cgi?id=28149
--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- another test case I just discovered: $ cat test1.c asm("nop"); int main () { return 0; } $ gcc -g test1.c $ readelf --debug-dump=decodedline a.out Contents of the .debug_line section: CU: ./test1.c: File name Line number Starting address View Stmt test1.c 5 0x401106 x test1.c 3 0x401107 x test1.c 4 0x40110b x test1.c 5 0x401110 x test1.c - 0x401112 The first line 5 is the line number of the nop from the .s file. -- You are receiving this mail because: You are on the CC list for the bug.