solenv/gbuild/platform/com_MSC_class.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 2ca092b7642d609f36951b45d50890b80340988d
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Sun Dec 8 14:12:30 2013 +0100

    Name the .pdb files so that WinDbg can consume them.
    
    Change-Id: I62cecfb36dd912a1a736d063761faa445a29f3a7

diff --git a/solenv/gbuild/platform/com_MSC_class.mk 
b/solenv/gbuild/platform/com_MSC_class.mk
index eafc570..6deb453 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -135,10 +135,15 @@ gb_LinkTarget_INCLUDE :=\
 
 gb_LinkTarget_get_pdbfile_in = \
  $(WORKDIR)/LinkTarget/$(call 
gb_LinkTarget__get_workdir_linktargetname,$(1)).objects.pdb
+
+# we must name the .pdb like libname.pdb, not libname.\(dll\|pyd\).pdb,
+# otherwise WinDbg ignores the symbols
 gb_LinkTarget_get_pdbfile_out = \
- $(WORKDIR)/LinkTarget/$(call 
gb_LinkTarget__get_workdir_linktargetname,$(1)).pdb
+ $(WORKDIR)/LinkTarget/$(patsubst %.dll,%.pdb,$(patsubst %.pyd,%.dll,$(call 
gb_LinkTarget__get_workdir_linktargetname,$(1))))
+
 gb_LinkTarget_get_ilkfile = \
  $(WORKDIR)/LinkTarget/$(call 
gb_LinkTarget__get_workdir_linktargetname,$(1)).ilk
+
 gb_LinkTarget_get_manifestfile = \
  $(WORKDIR)/LinkTarget/$(call 
gb_LinkTarget__get_workdir_linktargetname,$(1)).manifest
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to