+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
# 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
DEBUG_FLAG =
DEBUG_LINK =
else
-DEBUG_FLAG = -g
-DEBUG_LINK = -g
+DEBUG_FLAG = -gstabs+ -g3
+DEBUG_LINK = -gstabs+ -g3
endif
ifdef NOCYGWIN