On Tue, Jun 18, 2013 at 7:53 AM, Evgeny Gavrin <evgeny.gavrin@xxxxxxxxxxx> wrote: > Quote from the documentations is not clear to me: "Emit debug information for struct-like types only when the base name of the compilation source file matches the base name of file in which the type was defined, unless the struct is a template or defined in a system header. " > > As I understood, this'll store info only about static types and I'll loose info about inlining, for example, am I right? No. This only affect the debug info for "struct-like types", meaning, in C++, classes and structs. It doesn't affect inlining. You're right that it will keep info about static types. And if you are compiling foo.cc, it will keep info about class foo. > And to extend the question: > I don't understand what means direct or indirect accessed structs? Ordinary or generic ones? Where I can read about it? This is documented with the -femit-struct-debug-detailed option. Ian