This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: debugging inline functions
Per> Still, that is a user-interface issue - i.e.
Per> a gdb issue. We should make sure the debug output emits
Per> enough information so that the debugger can (in theory)
Per> present the call/inline state clearly. I agree that suggests
Per> emiting the inlined callee's line numbers. But we should
Per> also emit some indication that the function *was* inlined.
Per> Does dwarf2 have a defined way to do this? If so, I'd like
Per> Gcc to emit it. -- --Per Bothner per@bothner.com
GCC already does emit it (in dwarf2). GDB just doesn't use the information.
Jason