This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Don't force -g0 on ARM/Linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Nov 2006 16:06:18 -0500
- Subject: Don't force -g0 on ARM/Linux
Something I noticed while working on the unwinder. The comment is out
of date: GDB can debug code without a frame pointer nowadays without
difficulty, as long as there is debug information. Tested by hand on
arm-linux-gnu and arm-none-linux-gnueabi. OK?
--
Daniel Jacobowitz
CodeSourcery
2006-11-08 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/t-linux (LIBGCC2_DEBUG_CFLAGS): Delete.
Index: gcc/config/arm/t-linux
===================================================================
--- gcc/config/arm/t-linux (revision 118333)
+++ gcc/config/arm/t-linux (working copy)
@@ -1,7 +1,6 @@
# Just for these, we omit the frame pointer since it makes such a big
-# difference. It is then pointless adding debugging.
+# difference.
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
-LIBGCC2_DEBUG_CFLAGS = -g0
LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx