Rename detached debug info as cygwin1.dll.dbg

Jon TURNEY jon.turney@dronecode.org.uk
Fri May 23 13:40:00 GMT 2014


Not sure if this is wanted, and it obviously has some knock on effects 
on package and snapshot generation.

But, cygport names detached debug info files by appending the .dbg 
suffix.  This is 'obviously correct' as it means that both a foo.exe and 
foo.dll can exist and have detached debug info.

For consistency, the attached patch changes the name of the detached 
debug info file for cygwin1.dll from cygwin1.dbg to cygwin1.dll.dbg
-------------- next part --------------
Index: cygwin/Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.272
diff -u -u -p -r1.272 Makefile.in
--- cygwin/Makefile.in	9 Feb 2014 19:44:54 -0000	1.272
+++ cygwin/Makefile.in	23 May 2014 13:28:15 -0000
@@ -437,7 +437,7 @@ $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg 
 	-e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) version.o winver.o \
 	$(MALLOC_OBJ) $(LIBSERVER) $(LIBM) $(LIBC) \
 	-lgcc $(DLL_IMPORTS) -Wl,-Map,cygwin.map
-	@$(word 2,$^) $(OBJDUMP) $(OBJCOPY) $@ ${patsubst %0.dll,%1.dbg,$@}
+	@$(word 2,$^) $(OBJDUMP) $(OBJCOPY) $@ ${patsubst %0.dll,%1.dll.dbg,$@}
 	@ln -f $@ new-$(DLL_NAME)
 
 # Rule to build libcygwin.a


More information about the Cygwin-patches mailing list