php7 lldb 调试

修改makefile

# line 101 将
CC = cc
# 变为
CC = cc -ggdb3 -fkeep-inline-functions

# line 103 将
CFLAGS_CLEAN = -I/usr/local/Cellar/libiconv/1.15/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS $(PROF_FLAGS)
# 变为
CFLAGS_CLEAN = -I/usr/local/Cellar/libiconv/1.15/include -ggdb3 -O0 -fkeep-inline-functions -DZEND_SIGNALS $(PROF_FLAGS)

# line 107~109
CXXFLAGS = -prefer-non-pic -static $(PROF_FLAGS)
CXXFLAGS_CLEAN =
DEBUG_CFLAGS =
# 变为
CXXFLAGS = -g -O0 -prefer-non-pic -static $(PROF_FLAGS)
CXXFLAGS_CLEAN = -g -O0
DEBUG_CFLAGS = -Wall -g -O0

发表评论

电子邮件地址不会被公开。 必填项已用*标注