pixel wrote:Well, this won't "interlace" source code...
This actually sounds like it could be a cool feature, but I guess that GCC doesn't have it ?
Of course, optimization would wreak havoc, but the same issues exist for and haven't stopped optimization being used in conjunction with debugging turned on.
Objdump lets debugging information be printed along with disassembly, including sourcefile names and line numbers, and also I think including source code, but thats done on already compiled binaries that hopefully had debug turned on and source files laying around.
My advice to the original poster - check the objdump command. It comes with the gcc distribution.