Bug 820548 - Move .gdbinit to topsrcdir. r=glandium
authorBenoit Girard <b56girard@gmail.com>
Tue, 11 Dec 2012 16:05:53 -0500
changeset 115796 d75e7bfff554
parent 115795 a18d27e6d78a
child 115797 0b7e244b7ac8
push id24028
push useremorley@mozilla.com
push date2012-12-13 15:56 +0000
treeherdermozilla-central@9db79b97abbb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs820548
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 820548 - Move .gdbinit to topsrcdir. r=glandium
.gdbinit
build/.gdbinit
build/Makefile.in
rename from build/.gdbinit
rename to .gdbinit
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -94,17 +94,18 @@ endif
 ifdef MOZ_EXTENSION_MANAGER
 DEFINES += -DMOZ_EXTENSION_MANAGER
 endif
 
 endif
 
 # Put a useful .gdbinit in the bin directory, to be picked up automatically
 # by GDB when we debug executables there.
-GDBINIT_FILES := .gdbinit
+# NOTE: Keep .gdbinit in the topsrcdir for people who run gdb from the topsrcdir.
+GDBINIT_FILES := $(topsrcdir)/.gdbinit
 GDBINIT_DEST = $(FINAL_TARGET)
 INSTALL_TARGETS += GDBINIT
 
 PYTHON_UNIT_TESTS := \
   tests/unit-ConfigStatus.py \
   tests/test.py \
   $(NULL)