Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[build] Custom GDB no longer needed in Ubuntu Bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoabinader committed Oct 8, 2018
1 parent f1506d1 commit d21c126
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,12 @@ test: $(LINUX_BUILD)
benchmark: $(LINUX_BUILD)
$(NINJA) $(NINJA_ARGS) -j$(JOBS) -C $(LINUX_OUTPUT_PATH) mbgl-benchmark

ifneq (,$(shell command -v gdb 2> /dev/null))
GDB ?= $(shell scripts/mason.sh PREFIX gdb VERSION 2017-04-08-aebcde5)/bin/gdb \
-batch -return-child-result \
-ex 'set print thread-events off' \
-ex 'set disable-randomization off' \
-ex 'run' \
-ex 'thread apply all bt' --args
endif
GDB ?= gdb \
-batch -return-child-result \
-ex 'set print thread-events off' \
-ex 'set disable-randomization off' \
-ex 'run' \
-ex 'thread apply all bt' --args

.PHONY: run-test
run-test: run-test-*
Expand Down

0 comments on commit d21c126

Please sign in to comment.