From 94e7daf7b23a4802221ae07020d4cfa45622230d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 24 Dec 2005 17:30:08 +0000 Subject: [PATCH] (TEMACS_EXTRA_LINK): Remove redundant -g. (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3". --- nt/ChangeLog | 5 +++++ nt/gmake.defs | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index dc8888b2c87..cc161f830e6 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,8 @@ +2005-12-24 Eli Zaretskii + + * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g. + (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3". + 2005-12-09 Eli Zaretskii * INSTALL: Add explanation of how to debug with GDB starting from diff --git a/nt/gmake.defs b/nt/gmake.defs index c3f20fbeabe..9b93aa92074 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -191,7 +191,7 @@ EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 # see comments in allocate_heap in w32heap.c before changing any of the # -stack, -heap, or -image-base settings. -TEMACS_EXTRA_LINK = -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -g $(SUBSYSTEM_CONSOLE) -Wl,-entry,__start -Wl,-Map,$(BLD)/temacs.map +TEMACS_EXTRA_LINK = -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 $(SUBSYSTEM_CONSOLE) -Wl,-entry,__start -Wl,-Map,$(BLD)/temacs.map ifdef NOOPT OBJDIR = oo @@ -242,8 +242,8 @@ ifdef NODEBUG DEBUG_FLAG = DEBUG_LINK = else -DEBUG_FLAG = -g -DEBUG_LINK = -g +DEBUG_FLAG = -gstabs+ -g3 +DEBUG_LINK = -gstabs+ -g3 endif ifdef NOCYGWIN -- 2.39.2