Skip to content

Commit 2d46a3b

Browse files
committed
minor: use lldb for debugging on OSX
1 parent e029895 commit 2d46a3b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/Makefile.am

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,11 @@ EXTRA_DIST += \
217217
tests/make_ca.pl \
218218
tests/c_rehash
219219

220+
if OS_DARWIN
221+
DEBUGGER = lldb --
222+
else
223+
DEBUGGER = gdb --args
224+
endif
225+
220226
debug: test-libmongoc
221-
$(LIBTOOL) --mode=execute gdb --args test-libmongoc -f -p
227+
$(LIBTOOL) --mode=execute $(DEBUGGER) test-libmongoc -f -p

0 commit comments

Comments
 (0)