Commit 96292fe7 authored by Jim Blandy's avatar Jim Blandy
Browse files

Bug 775789: Install .gdbinit correctly in $(DIST)/bin. r=glandium

--HG--
rename : .gdbinit => build/.gdbinit
parent 6187babb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -212,10 +212,6 @@ maybe_clobber_profiledbuild:
	find $(DIST)/$(MOZ_APP_NAME) -name "*.pgc" -exec mv {} $(DIST)/bin \;
endif

# put in our default gdbinit so that the gdb debugging experience is happier.
libs:: .gdbinit
	$(INSTALL) $< $(DIST)/bin

.PHONY: maybe_clobber_profiledbuild

# Look for R_386_PC32 relocations in shared libs, these
+6 −0
Original line number Diff line number Diff line
# .gdbinit file for debugging Mozilla

# You may need to put an 'add-auto-load-safe-path' command in your
# $HOME/.gdbinit file to get GDB to trust this file. If your builds are
# generally in $HOME/moz, then you can say:
#
#  add-auto-load-safe-path ~/moz

# Don't stop for the SIG32/33/etc signals that Flash produces
handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
+6 −0
Original line number Diff line number Diff line
@@ -97,6 +97,12 @@ 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
GDBINIT_DEST = $(FINAL_TARGET)
INSTALL_TARGETS += GDBINIT

include $(topsrcdir)/config/rules.mk

# we install to _leaktest/