Robert Clipsham <> changed:

           What    |Removed                     |Added
           Keywords|patch                       |

--- Comment #9 from Robert Clipsham <> 2010-04-01 
02:44:44 BST ---
Again, the last patch I mentioned is wrong! The correct solution is to only
output the DW_AT_type if the type isn't void. I've managed to fix the other
issue too, it needs more time to make a proper patch though. The issue is that
the DW_TAG_subroutine_type info for the .debug_info section isn't cached,
unlike all the other basic types, so when a function pointer parameter is a
function pointer, it generates the debug info again before the end of the
output for the current DW_TAG_subroutine_type (I probably didn't explain that
too well). The solution is to cache the function types, as well as the basic
types. This needs to be a bit more advanced though, as the types are combined,
so more than a basic array is needed. I haven't tested if structs/classes have
the same issue when they are parameters to function pointers, I'll check.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to