This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to have gcc generate assembler code with C source listed?


Bob Plantz <plantz@cds1.net> writes:

> Can you tell me where .loc is documented?

In the assembler manual.


> When I see something like:
>         .loc 1 15 0
> in the assembly language, I easily figured out that 15 is the line
> number in the original C code. But it would be nice to know what the
> other two numbers mean.

1 is the file number--it corresponds to a .file directive somewhere.
0 is the column number.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]