Bug 820548 - Move .gdbinit to topsrcdir. r=glandium
authorBenoit Girard <b56girard@gmail.com>
Tue, 11 Dec 2012 16:05:53 -0500
changeset 115810 d75e7bfff5544fced13ce6a950a31d019f846fde
parent 115809 a18d27e6d78addf4da0a1e387f7e76fae1ef204e
child 115811 0b7e244b7ac87db93bc9f7e23562aa04ad136962
push id1235
push userjwalker@mozilla.com
push dateThu, 13 Dec 2012 17:43:37 +0000
treeherderfx-team@0b4a30c89951 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs820548
milestone20.0a1
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)