debugging inline functions

Jason Merrill jason@cygnus.com
Mon Nov 29 13:31:00 GMT 1999


 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


More information about the Gdb mailing list