This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: S/390: Default to -fasynchronous-unwind-tables
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Gerhard Tonn <TON at de dot ibm dot com>
- Date: Fri, 15 Nov 2002 14:13:10 -0500
- Subject: Re: S/390: Default to -fasynchronous-unwind-tables
- References: <OF48319429.AEAA08BE-ONC1256C72.005CCFEC@de.ibm.com>
On Fri, Nov 15, 2002 at 06:05:35PM +0100, Ulrich Weigand wrote:
> Hello,
>
> this switches on the DWARF-2 unwind data for all functions by default.
>
> Thanks to Jan Hubicka for pointing out the correct way to do so.
>
> Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux.
>
> (Note: a not-yet-published patch to gdb is necessary to actually exploit
> the DWARF-2 data for backtraces on s390.)
Should we be thinking about doing this on more architectures? It would
be nice to use this in preference to the terrifying MIPS-specific
unwinder, for instance...
How bad is the space penalty, and is there a way to mark EH tables as
removable if they're only needed for debugging (vs. for -fexceptions)?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer