(TEMACS_EXTRA_LINK): Remove redundant -g.

(DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
This commit is contained in:
Eli Zaretskii 2005-12-24 17:30:08 +00:00
parent 6aab19aa50
commit 94e7daf7b2
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-12-24 Eli Zaretskii <eliz@gnu.org>
* gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
(DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2005-12-09 Eli Zaretskii <eliz@gnu.org>
* INSTALL: Add explanation of how to debug with GDB starting from

View file

@ -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