From 123d4b7dc1c8c78eea2a0b6218983d7e508934f4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 14 May 1999 14:34:39 +0000 Subject: Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++ exceptions and makes debug stack traces impossible. --- make/custom/force386.cfg | 3 ++- make/custom/go32.cfg | 3 ++- make/custom/i386ex.cfg | 3 ++- make/custom/pc386.cfg | 3 ++- make/custom/ts_386ex.cfg | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/make/custom/force386.cfg b/make/custom/force386.cfg index 57c832e2b9..cf01c4cf78 100644 --- a/make/custom/force386.cfg +++ b/make/custom/force386.cfg @@ -19,7 +19,8 @@ CPU_CFLAGS = # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS -CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer +# -fomit-frame-pointer breaks debugging and C++ exceptions +CFLAGS_OPTIMIZE_V=-O4 # This target does NOT support the TCP/IP stack so ignore requests # to enable it. diff --git a/make/custom/go32.cfg b/make/custom/go32.cfg index a9c4de6617..30a5d6e4e3 100644 --- a/make/custom/go32.cfg +++ b/make/custom/go32.cfg @@ -51,7 +51,8 @@ endif # i486dx # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS -CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer +# -fomit-frame-pointer breaks debugging and C++ exceptions +CFLAGS_OPTIMIZE_V=-O4 # This target does NOT support the TCP/IP stack so ignore requests # to enable it. diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg index a3dee793eb..0e9499ad9a 100644 --- a/make/custom/i386ex.cfg +++ b/make/custom/i386ex.cfg @@ -19,7 +19,8 @@ CPU_CFLAGS = # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS -CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer +# -fomit-frame-pointer breaks debugging and C++ exceptions +CFLAGS_OPTIMIZE_V=-O4 # This BSP does not support librdbg HAS_RDBG=no diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg index 8a1b95dcad..a80abe2d2e 100644 --- a/make/custom/pc386.cfg +++ b/make/custom/pc386.cfg @@ -19,7 +19,8 @@ CPU_CFLAGS = # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS -CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer +# -fomit-frame-pointer breaks debugging and C++ exceptions +CFLAGS_OPTIMIZE_V=-O4 # Define this to yes if this target supports multiprocessor environments. HAS_MP=no diff --git a/make/custom/ts_386ex.cfg b/make/custom/ts_386ex.cfg index e64b72a5d6..ad18e98b2f 100644 --- a/make/custom/ts_386ex.cfg +++ b/make/custom/ts_386ex.cfg @@ -20,7 +20,8 @@ CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387 # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS -CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer +# -fomit-frame-pointer breaks debugging and C++ exceptions +CFLAGS_OPTIMIZE_V=-O4 # This target does support the TCP/IP stack so honour requests # to enable it. -- cgit v1.2.3