RFA: Use _Unwind_Ptr (Was: Re: RFC / RFA: dwarf2 unwinding for targets with call-part-clobbered registers)

Richard Henderson rth@redhat.com
Thu Jul 10 23:06:00 GMT 2003

On Thu, Jul 10, 2003 at 08:52:38PM +0100, Joern Rennecke wrote:
> 	* unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
> 	to decide if to access a _Unwind_Ptr or a _Unwind_Word.
> 	(_Unwind_SetGR): Likewise.
> 	(_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
> 	(Unwind_SpTmp): New typedef.
> 	(uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
> 	(uw_update_context): Use _Unwind_GetPtr.
> 	(init_dwarf_reg_size_table): Move above uw_init_context_1.
> 	(uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
> 	Use _Unwind_SetSpColumn.
> 	(uw_install_context_1): Don't initialize dwarf_reg_size_table.
> 	Use _Unwind_GetPtr.

This is ok.  Thanks.

Which is the current patch for init_dwarf_reg_size_table?


More information about the Gcc mailing list