From: Andrew Innes Date: Sun, 18 Mar 2001 16:56:08 +0000 (+0000) Subject: (DEBUG_LINK): New macro. X-Git-Tag: emacs-pretest-21.0.101~270 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f6465a643d70ff5a581cecb27dd92970776a243;p=emacs.git (DEBUG_LINK): New macro. (LINK_FLAGS): Use it. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index a293d589f24..166b584812a 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,14 @@ +2001-03-17 Andrew Innes + + * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning + escaped quotes. + + * gmake.defs (DEBUG_LINK): New macro. + (LINK_FLAGS): Use it. + + * nmake.defs (DEBUG_LINK): New macro. + (LINK_FLAGS): Use it. + 2001-03-06 Andrew Innes * INSTALL: Add --ldflags to configure line for building with diff --git a/nt/gmake.defs b/nt/gmake.defs index 48806a72263..32b4dc7e0f8 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -226,8 +226,10 @@ endif ifdef NODEBUG DEBUG_FLAG = +DEBUG_LINK = else DEBUG_FLAG = -g +DEBUG_LINK = -g endif ifdef NOCYGWIN @@ -248,7 +250,7 @@ else ERROR Unknown architecture type "$(ARCH)". endif -LINK_FLAGS = $(ARCH_LDFLAGS) $(NOCYGWIN) $(USER_LDFLAGS) +LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(NOCYGWIN) $(USER_LDFLAGS) .DEFAULT: diff --git a/nt/nmake.defs b/nt/nmake.defs index fb6dfdae282..1f6db21eaa0 100644 --- a/nt/nmake.defs +++ b/nt/nmake.defs @@ -161,8 +161,10 @@ DEL_TREE = rm -r !ifdef NODEBUG DEBUG_FLAG = +DEBUG_LINK = !else DEBUG_FLAG = -Zi +DEBUG_LINK = -debug:full -debugtype:both !endif !if "$(ARCH)" == "i386" @@ -200,7 +202,7 @@ ARCH_LDFLAGS = $(SYS_LDFLAGS) !endif !endif -LINK_FLAGS = $(ARCH_LDFLAGS) $(USER_LDFLAGS) +LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(USER_LDFLAGS) # From MSVC 5.0 onwards, it seem base relocation information is not included, # at least in release builds. We need to ensure the reloc info is included