Bug 820548 - Move .gdbinit to topsrcdir. r=glandium
authorBenoit Girard <b56girard@gmail.com>
Tue, 11 Dec 2012 16:05:53 -0500
changeset 115789 d75e7bfff5544fced13ce6a950a31d019f846fde
parent 115788 a18d27e6d78addf4da0a1e387f7e76fae1ef204e
child 115790 0b7e244b7ac87db93bc9f7e23562aa04ad136962
push id19544
push userb56girard@gmail.com
push dateWed, 12 Dec 2012 15:13:16 +0000
treeherdermozilla-inbound@973a98b6265f [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)