[PATCH] maximal debugging information
Lionel Elie Mamane
lionel at mamane.lu
Wed Nov 23 12:34:18 PST 2011
---
solenv/gbuild/platform/unxgcc.mk | 4 ++--
solenv/inc/unxgcc.mk | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index fe2aa7e..f4af97c 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -217,8 +217,8 @@ gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR)
gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR)
ifeq ($(gb_SYMBOL),$(true))
-gb_LinkTarget_CXXFLAGS += -ggdb2
-gb_LinkTarget_CFLAGS += -ggdb2
+gb_LinkTarget_CXXFLAGS += -ggdb3
+gb_LinkTarget_CFLAGS += -ggdb3
endif
# note that `cat $(extraobjectlist)` is needed to build with older gcc versions, e.g. 4.1.2 on SLED10
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index a3231a6..eaa4135 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -73,7 +73,7 @@ CC+:=$(CFLAGS_SYSBASE)
CFLAGS+=-fmessage-length=0 -c
# flags to enable build with symbols
-CFLAGSENABLESYMBOLS=-g
+CFLAGSENABLESYMBOLS=-ggdb3
# flags for the C++ Compiler
CFLAGSCC= -pipe $(ARCH_FLAGS)
@@ -110,7 +110,7 @@ CFLAGSSLOCUIMT=$(PICSWITCH)
# Compiler flags for profiling
CFLAGSPROF=
# Compiler flags for debugging
-CFLAGSDEBUG=-g
+CFLAGSDEBUG=-ggdb3
CFLAGSDBGUTIL=
GCCNUMVERSION_CMD=-dumpversion $(PIPEERROR) $(AWK) -v num=true -f $(SOLARENV)/bin/getcompver.awk
--
1.7.7.3
--UugvWAfsgieZRqgk--
More information about the LibreOffice
mailing list