[PATCH RFA] Pascal language part 4: Changes to symfile.c
Tue Jun 20 11:04:00 GMT 2000
> > * Isn't the ".inc" extension for Pascal "include" files? If so, I'm
> > not sure whether the extension should be added, since C includes
> > ("*.h") aren't mentioned either.
> No, because pascal include file do indeed contain code,
> whereas C header normally don't.
> But I don't even know if this should not be changed now,
> because inlined C++ code and be in the headers, no ?
> Of course the second problem is that .H files can be for
> raw C, C++ or objective C!
This table is used for deriving the language from the compilation
unit's main source file. Unless people compile .inc files separately,
.inc shouldn't appear here.
If you remove .inc from the list, and then discover you have problems,
please let us know.
This change is approved, assuming Mark's and my suggestions are
More information about the Gdb-patches