Skip to content

Commit

Permalink
Bug 941539 - Add a .lldbinit file to the tree and make the build syst…
Browse files Browse the repository at this point in the history
…em install it to $(DIST)/bin
  • Loading branch information
jwatt committed Nov 22, 2013
1 parent bf596e7 commit bb845f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .lldbinit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# .lldbinit file for debugging Mozilla

# Mozilla's use of UNIFIED_SOURCES to include multiple source files into a
# single compiled file breaks lldb breakpoint setting. This works around that.
# See http://lldb.llvm.org/troubleshooting.html for more info.
settings set target.inline-breakpoint-strategy always

9 changes: 9 additions & 0 deletions build/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ GDBINIT_FILES := $(topsrcdir)/.gdbinit
GDBINIT_DEST = $(FINAL_TARGET)
INSTALL_TARGETS += GDBINIT

# Put a useful .lldbinit in the bin directory, to be picked up automatically
# by LLDB when we debug executables using that directory as the current working
# directory.
# NOTE: Keep .lldbinit in the topsrcdir for people who run LLDB from the
# topsrcdir rather than the bin directory.
LLDBINIT_FILES := $(topsrcdir)/.lldbinit
LLDBINIT_DEST = $(FINAL_TARGET)
INSTALL_TARGETS += LLDBINIT

include $(topsrcdir)/config/rules.mk

# we install to _leaktest/
Expand Down

0 comments on commit bb845f4

Please sign in to comment.