public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* Rename detached debug info as cygwin1.dll.dbg
@ 2014-05-23 13:40 Jon TURNEY
  2014-05-23 14:05 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2014-05-23 13:40 UTC (permalink / raw)
  To: Cygwin Patches

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]


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

[-- Attachment #2: consistent_dbg_name.patch --]
[-- Type: text/plain, Size: 729 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-27 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-23 13:40 Rename detached debug info as cygwin1.dll.dbg Jon TURNEY
2014-05-23 14:05 ` Corinna Vinschen
2014-05-25  3:53   ` Christopher Faylor
2014-05-27 15:09     ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).