https://sourceware.org/bugzilla/show_bug.cgi?id=30047
Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard <mark at klomp dot org> --- This is slightly tricky, because I think we technically do the right thing here. dwfl_module_return_value_location returns that cannot handle DWARF type description error, which is technically correct, since it is an unspecified_type. dwfl_module_return_value_location can return an error (< 0) which means either bad DWARF or unknown/unhandled type, it can return zero, which means the function has no return value, or it return the number of DWARF expression operations (> 0) that describe how to get the value returned by the function. Sadly we don't have an easy way to distinguish between bad DWARF/type and cannot handle type. I think we can change the testcase though, to check for the special case of DW_TAG_unspecified_type. -- You are receiving this mail because: You are on the CC list for the bug.