[Libreoffice-commits] core.git: solenv/gbuild
Jan Holesovsky
kendy at collabora.com
Sun Dec 8 05:15:57 PST 2013
solenv/gbuild/platform/com_MSC_class.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 2ca092b7642d609f36951b45d50890b80340988d
Author: Jan Holesovsky <kendy at 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
More information about the Libreoffice-commits
mailing list