Skip to content

Commit

Permalink
bug 983335 - install .gdbinit to the objdir as well as dist/bin r=mshal
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Saunders committed Mar 13, 2014
1 parent dd18d39 commit e731bee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ endif
# by GDB when we debug executables there.
# NOTE: Keep .gdbinit in the topsrcdir for people who run gdb from the topsrcdir.
GDBINIT_FILES := $(topsrcdir)/.gdbinit
GDBINIT_OBJDIR_FILES = $(topsrcdir)/.gdbinit
GDBINIT_DEST = $(FINAL_TARGET)
INSTALL_TARGETS += GDBINIT

# needs to be absolute to be distinct from $(topsrcdir)/.gdbinit
GDBINIT_OBJDIR_DEST = $(abspath $(DEPTH))
INSTALL_TARGETS += GDBINIT GDBINIT_OBJDIR

# Put a .lldbinit in the bin directory and the objdir, to be picked up
# automatically by LLDB when we debug executables using either of those two
Expand Down

0 comments on commit e731bee

Please sign in to comment.