Mercurial > hg > truffle
comparison make/linux/makefiles/saproc.make @ 767:5d4dd2f5f6a1
6829575: 100028: Debug information is incomplete or missing
Summary: Enable debugging in many places
Reviewed-by: ohair
Contributed-by: Andrew Haley <aph@redhat.com>
author | aph |
---|---|
date | Fri, 17 Apr 2009 15:50:12 +0100 |
parents | d1605aabd0a1 |
children | f5ee65f94d9a |
comparison
equal
deleted
inserted
replaced
700:bcbec53c367d | 767:5d4dd2f5f6a1 |
---|---|
41 | 41 |
42 SAMAPFILE = $(SASRCDIR)/mapfile | 42 SAMAPFILE = $(SASRCDIR)/mapfile |
43 | 43 |
44 DEST_SAPROC = $(JDK_LIBDIR)/$(LIBSAPROC) | 44 DEST_SAPROC = $(JDK_LIBDIR)/$(LIBSAPROC) |
45 | 45 |
46 # DEBUG_BINARIES overrides everything, use full -g debug information | |
47 ifeq ($(DEBUG_BINARIES), true) | |
48 SA_DEBUG_CFLAGS = -g | |
49 endif | |
50 | |
46 # if $(AGENT_DIR) does not exist, we don't build SA | 51 # if $(AGENT_DIR) does not exist, we don't build SA |
47 # also, we don't build SA on Itanium. | 52 # also, we don't build SA on Itanium. |
48 | 53 |
49 checkAndBuildSA: | 54 checkAndBuildSA: |
50 $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \ | 55 $(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \ |
65 -I$(GENERATED) \ | 70 -I$(GENERATED) \ |
66 -I$(BOOT_JAVA_HOME)/include \ | 71 -I$(BOOT_JAVA_HOME)/include \ |
67 -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ | 72 -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ |
68 $(SASRCFILES) \ | 73 $(SASRCFILES) \ |
69 $(SA_LFLAGS) \ | 74 $(SA_LFLAGS) \ |
75 $(SA_DEBUG_CFLAGS) \ | |
70 -o $@ \ | 76 -o $@ \ |
71 -lthread_db | 77 -lthread_db |
72 | 78 |
73 install_saproc: checkAndBuildSA | 79 install_saproc: checkAndBuildSA |
74 $(QUIETLY) if [ -e $(LIBSAPROC) ] ; then \ | 80 $(QUIETLY) if [ -e $(LIBSAPROC) ] ; then \ |